Thanks very much for your comments Norman (and Eric).
I'm back to testing mode now.
Norman asked for the error info that illustrates that james is using port
1099.
I see that line 73 of the run.bat that I executed appears to establish port
9999 as the jmx port but the command window illustrates that parameter was
ineffective for me.
Rin.bat line 73
set
EXTRA_JVM_ARGUMENTS=-Xms128m -Xmx512m -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader
-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.access.file=../conf/jmx.access
-Dcom.sun.management.jmxremote.password.file=../conf/jmx.password -Dcom.sun.management.jmxremote.port=9999
-Dmail.mime.multipart.ignoremissingendboundary=true -Dmail.mime.multipart.ignoremissingboundaryparameter=true
-Dmail.mime.ignoreunknownencoding=true -Dmail.mime.uudecode.ignoreerrors=true
-Dmail.mime.uudecode.ignoremissingbeginend=true -Dmail.mime.multipart.allowempty=true
-Dmail.mime.base64.ignoreerrors=true -Dmail.mime.encodeparameters=true -Dmail.mime.decodeparameters=true
-Dmail.mime.address.strict=false
Execution window (also attached for readability):
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\s\james-3\bin>run
INFO 16:52:15,562 |
org.apache.james.container.spring.JamesServerApplicationContext | Refreshing
org.apache.james.container.spring.jamesserverapplicationcont...@d6c16c:
startup date [Tue Nov 02 16:52:15 GMT-06:00 2010]; root of context
hierarchylog4j:WARN No appenders could be found for logger
(org.apache.commons.configuration.ConfigurationUtils).log4j:WARN Please
initialize the log4j system properly.
INFO 16:52:17,906 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'configurationProvider' is not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for auto-proxying)
INFO 16:52:17,906 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'logProvider' is not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for auto-proxying)
INFO 16:52:18,093 | james.domainlist | Set autodetect to: false
INFO 16:52:18,093 | james.domainlist | Set autodetectIP to: true
INFO 16:52:18,093 | james.domainlist | Bean
org.apache.james.domainlist.xml.XMLDomainList started.
WARN 16:52:18,171 | org.apache.activemq.broker.jmx.ManagementContext |
Failed to start jmx connector: Cannot bind to URL
[rmi://localhost:1099/jmxrmi]: javax.naming.CommunicationException [Root
exception is java.rmi.ConnectIOException: non-JRMP server at remote
endpoint]
WARN 16:52:18,453 | org.apache.activemq.broker.jmx.ManagementContext |
Failed to start jmx connector: Cannot bind to URL
[rmi://localhost:1099/jmxrmi]: javax.naming.CommunicationException [Root
exception is java.rmi.ConnectIOException: non-JRMP server at remote
endpoint]
INFO 16:52:18,484 | james.mailserver | JAMES init...
INFO 16:52:18,562 | james.domainlist | Local host is: 192.168.12.10
Exception in thread "main"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'exporter' defined in class path resource [spring-beans.xml]:
Cannot resolve reference to bean 'smtpserver' while setting bean property
'beans' with key [TypedStringValue: value
[org.apache.james:type=server,name=smtpserver], target type [null]]; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Injection of resource dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'mailserver': Invocation of init method failed; nested exception
is org.apache.commons.configuration.ConfigurationException: Configured
defaultDomain not exist in DomainList
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
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.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:37)
at org.apache.james.container.spring.Main.main(Main.java:27)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Injection of resource dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'mailserver': Invocation of init method failed; nested exception
is org.apache.commons.configuration.ConfigurationException: Configured
defaultDomain not exist in DomainList
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 18 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mailserver': Invocation of init method failed;
nested exception is org.apache.commons.configuration.ConfigurationException:
Configured defaultDomain not exist in DomainList
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
at
org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:159)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
... 26 more
Caused by: org.apache.commons.configuration.ConfigurationException:
Configured defaultDomain not exist in DomainList
at
org.apache.james.JamesMailServer.initializeServernames(JamesMailServer.java:180)
at org.apache.james.JamesMailServer.init(JamesMailServer.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
... 40 more
C:\s\james-3\bin>
--------------------------------------------------
From: "Norman Maurer" <[email protected]>
Sent: Tuesday, November 02, 2010 11:16 PM
To: "James Users List" <[email protected]>
Subject: Re: James 3.0-M1 fails to startup on Windows server 2003
Hi Gerry,
comments inside..
2010/11/3 Gerry Matte <[email protected]>:
As I indicated , following the recommended procedure to restrict file
access
for CONF/jmx.access and jmx.password was not effective for me.
Either I missed a subtle step or it doesn't work on my Windows platform
because I am running other java products that use jmx ......
By cruising the ActiveMQ web pages, I was able to determine how to
disable
jmx password security by adding a java option to run.bat
I no longer encounter the same error message (that the jmx.password file
is
unprotected) but I now see a connection error attempting to connect to
localhost:1099/jmxrmi
Port 1099 is already in use on my machine - either by JBoss 5.1 or by
Apache
ftp or OpenDS I suspect.
Tomorrow (Nov 3) I'll try to identify the application that is currently
using port 1099 or maybe I'll try to use an alternative port by modifying
the james run.bat java options.
Normally JMX of James should bind to port 9999. Could you post the error ?
I'm not sure it matters but two info messages occur after the connection
error:
Bean 'configurationProvider' is not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for auto-proxying)
The same message occurs for Bean 'logProvider'
Nothing to worry about, it will get fixed in spring 3.0.5:
https://jira.springframework.org/browse/SPR-7524
I also see multiple uncaught exceptions complaining that the configured
defaultDomain does not exist in the DomainList.
Does anyone know how I can determine what the defaultDomain is ?
I suspect I have to add something to the domainlist.xml but I have no
idea
what that might be - possibly the machine name for the server ?
The list of domains I have configured is quite lengthy because I plan to
support multiple email domains.
The defaultDomain is configured in the mailserver.xml and is localhost
by default.
Thanks in advance for any help.
Gerry
--------------------------------------------------
From: "Norman Maurer" <[email protected]>
Sent: Tuesday, November 02, 2010 10:56 AM
To: "James Users List" <[email protected]>
Subject: Re: James 3.0-M1 fails to startup on Windows server 2003
Hi Gerry,
see:
http://james.apache.org/server/3/configuration.html
You need to restrict the file access on the jmx access/pass files on
windows or disable username/password stuff for jmx.
Bye,
Norman
2010/11/2 Gerry Matte <[email protected]>:
Hi there.
I've been trying to start the M1 james 3 without success on MS Windows
server 2003 with java 1.6u22 jdk.
------------------------------------------------
When I install the windows service with no changes to any CONF files
the
startup fails with no log output either to the james log files or to
the
windows event log (other than the useless message "service failed to
start"]
My dos window is:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\s\james-3\bin>james install
wrapper | Apache James Server Container Spring installed.
C:\s\james-3\bin>james start
wrapper | Starting the Apache James Server Container Spring service...
wrapper | Waiting to start...
wrapper | Waiting to start...
wrapper | Waiting to start...
wrapper | Waiting to start...
wrapper | The Apache James Server Container Spring service was
launched,
but failed to start.
Press any key to continue . . .
Are we supposed to be able to start james 3 without making any changes
?
-----------------------------------------------
My first attempt was after making changes to the collection of XML
files
in CONF and attempting to start with those files.
When I tried to start james with those files, the windows event log
showed one error "Error: Password file read access must be restricted:
../conf/jmx.password" which surprised me.
That's when I decided to try starting james with no configuration
changes
- just as released in the binary zip file.
I have not attempted to carry over any of my james 2.3.2 data to
version
3. I've made sure that the james 2 service is stopped before trying to
start james 3.
I'm stuck for ideas now.
Gerry Matte
250-383-2466 http://www.gerrymatte.ca
Thx for the feedback,
Norman
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\s\james-3\bin>run
INFO 16:52:15,562 |
org.apache.james.container.spring.JamesServerApplicationContext | Refreshing
org.apache.james.container.spring.jamesserverapplicationcont...@d6c16c:
startup date [Tue Nov 02 16:52:15 GMT-06:00 2010]; root of context
hierarchylog4j:WARN No appenders could be found for logger
(org.apache.commons.configuration.ConfigurationUtils).log4j:WARN Please
initialize the log4j system properly.
INFO 16:52:17,906 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'configurationProvider' is not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for auto-proxying)
INFO 16:52:17,906 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'logProvider' is not eligible for getting processed by all
BeanPostProcessors (for example: not eligible for auto-proxying)
INFO 16:52:18,093 | james.domainlist | Set autodetect to: false
INFO 16:52:18,093 | james.domainlist | Set autodetectIP to: true
INFO 16:52:18,093 | james.domainlist | Bean
org.apache.james.domainlist.xml.XMLDomainList started.
WARN 16:52:18,171 | org.apache.activemq.broker.jmx.ManagementContext |
Failed to start jmx connector: Cannot bind to URL
[rmi://localhost:1099/jmxrmi]: javax.naming.CommunicationException [Root
exception is java.rmi.ConnectIOException: non-JRMP server at remote
endpoint]
WARN 16:52:18,453 | org.apache.activemq.broker.jmx.ManagementContext |
Failed to start jmx connector: Cannot bind to URL
[rmi://localhost:1099/jmxrmi]: javax.naming.CommunicationException [Root
exception is java.rmi.ConnectIOException: non-JRMP server at remote
endpoint]
INFO 16:52:18,484 | james.mailserver | JAMES init...
INFO 16:52:18,562 | james.domainlist | Local host is: 192.168.12.10
Exception in thread "main"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'exporter' defined in class path resource [spring-beans.xml]:
Cannot resolve reference to bean 'smtpserver' while setting bean property
'beans' with key [TypedStringValue: value
[org.apache.james:type=server,name=smtpserver], target type [null]]; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Injection of resource dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'mailserver': Invocation of init method failed; nested exception
is org.apache.commons.configuration.ConfigurationException: Configured
defaultDomain not exist in DomainList
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolver.java:328)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:106)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eManagedMap(BeanDefinitionValueResolver.java:378)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:161)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:190)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst
antiateSingletons(DefaultListableBeanFactory.java:580)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFac
toryInitialization(AbstractApplicationContext.java:895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(Abstr
actApplicationContext.java:425)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(Cl
assPathXmlApplicationContext.java:139)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(Cl
assPathXmlApplicationContext.java:93)
at
org.apache.james.container.spring.JamesServerApplicationContext.<init>(James
ServerApplicationContext.java:37)
at org.apache.james.container.spring.Main.main(Main.java:27)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Injection of resource dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'mailserver': Invocation of init method failed; nested exception
is org.apache.commons.configuration.ConfigurationException: Configured
defaultDomain not exist in DomainList
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.pos
tProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:190)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolver.java:322)
... 18 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mailserver': Invocation of init method failed;
nested exception is org.apache.commons.configuration.ConfigurationException:
Configured defaultDomain not exist in DomainList
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostPr
ocessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcess
or.java:133)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFact
ory.java:394)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab
stractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:194)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.aut
owireResource(CommonAnnotationBeanPostProcessor.java:435)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.get
Resource(CommonAnnotationBeanPostProcessor.java:409)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$Res
ourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
at
org.springframework.beans.factory.annotation.InjectionMetadata$InjectedEleme
nt.inject(InjectionMetadata.java:159)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(Inject
ionMetadata.java:84)
at
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.pos
tProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
... 26 more
Caused by: org.apache.commons.configuration.ConfigurationException:
Configured defaultDomain not exist in DomainList
at
org.apache.james.JamesMailServer.initializeServernames(JamesMailServer.java:
180)
at org.apache.james.JamesMailServer.init(JamesMailServer.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostPr
ocessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:
340)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostPr
ocessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostPro
cessor.java:293)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostPr
ocessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcess
or.java:130)
... 40 more
C:\s\james-3\bin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]