james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Baechler (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-1904) While starting Read-Only DomainList implementation error is thrown
Date Wed, 04 Jan 2017 16:04:58 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798593#comment-15798593
] 

Matthieu Baechler commented on JAMES-1904:
------------------------------------------

It's obviously a regression due to AbstractDomainList.setDefaultDomain


> While starting  Read-Only DomainList implementation error is thrown
> -------------------------------------------------------------------
>
>                 Key: JAMES-1904
>                 URL: https://issues.apache.org/jira/browse/JAMES-1904
>             Project: James Server
>          Issue Type: Test
>    Affects Versions: 3.0.0-beta5
>         Environment: CentOS 64 bit, java 1.8
>            Reporter: Babu Raj K R
>
> 1) Downloaded james-server-app-3.0.0-beta5
> 2) unzip the file
> 3) Rename all *template*.xml inside config/ to *.xml 
> 4) execute bin/run.sh
> 5) Server is starting but following exception is thrown
> [root@directdev james-server-app-3.0.0-beta5]# bin/run.sh
> INFO  19:53:22,143 | org.apache.james.container.spring.context.JamesServerApplicationContext
| Refreshing org.apache.james.container.spring.context.JamesServerApplicationContext@5f341870:
startup date [Wed Jan 04 19:53:22 IST 2017]; root of context hierarchy
> log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.ConfigurationUtils).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> INFO  19:53:26,180 | org.apache.james.container.spring.context.JamesServerApplicationContext
| Bean 'logprovider' of type [class org.apache.james.container.spring.lifecycle.LogProviderImpl]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
> 27  James  WARN   [main] openjpa.Runtime - An error occurred while registering a ClassTransformer
with PersistenceUnitInfo: name 'James', root URL [file:/opt/direct_project/babu/james-server-app-3.0.0-beta5/conf].
The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time
class transformation will not be available.
> INFO  19:53:26,581 | james.mailrepositorystore | JamesMailStore init...
> INFO  19:53:26,592 | james.mailrepositorystore | Registering Repository instance of class
org.apache.james.mailrepository.file.FileMailRepository to handle file protocol requests for
repositories with key file
> INFO  19:53:26,683 | james.dnsservice | Autodiscovery is enabled - trying to discover
your system's DNS Servers
> INFO  19:53:26,690 | james.dnsservice | Adding autodiscovered server 8.8.8.8
> INFO  19:53:26,691 | james.dnsservice | Adding autodiscovered search path healthcompanion.net.
> INFO  19:53:26,691 | james.dnsservice | DNS Server is: 8.8.8.8
> INFO  19:53:26,692 | james.dnsservice | DNS Server is: 8.8.8.8
> INFO  19:53:26,701 | james.dnsservice | Registered cache, resolver and search paths as
DNSJava defaults
> ERROR 19:53:26,705 | org.apache.james.domainlist.lib.AbstractDomainList | An error occured
while creating the default domain
> org.apache.james.domainlist.api.DomainListException: Read-Only DomainList implementation
>         at org.apache.james.domainlist.xml.XMLDomainList.addDomain(XMLDomainList.java:66)
>         at org.apache.james.domainlist.lib.AbstractDomainList.setDefaultDomain(AbstractDomainList.java:102)
>         at org.apache.james.domainlist.lib.AbstractDomainList.configureDefaultDomain(AbstractDomainList.java:87)
>         at org.apache.james.domainlist.lib.AbstractDomainList.configure(AbstractDomainList.java:74)
>         at org.apache.james.domainlist.xml.XMLDomainList.configure(XMLDomainList.java:44)
>         at org.apache.james.container.spring.lifecycle.ConfigurableBeanPostProcessor.executeLifecycleMethodBeforeInit(ConfigurableBeanPostProcessor.java:44)
>         at org.apache.james.container.spring.lifecycle.ConfigurableBeanPostProcessor.executeLifecycleMethodBeforeInit(ConfigurableBeanPostProcessor.java:28)
>         at org.apache.james.container.spring.lifecycle.AbstractLifecycleBeanPostProcessor.postProcessBeforeInitialization(AbstractLifecycleBeanPostProcessor.java:59)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1507)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:921)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:864)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:779)
>         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:575)
>         at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
>         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1148)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:921)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:864)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:779)
>         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:575)
>         at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
>         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1148)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
>         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
>         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
>         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
>         at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
>         at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
>         at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
> INFO  19:53:26,711 | james.domainlist | Set autodetect to: true
> INFO  19:53:26,712 | james.domainlist | Set autodetectIP to: true
> 204  James  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.2.1
> 244  James  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message