I tried commenting the XML Domain List and activating JPADomainList in the
attached domainlist.xml
Still no domain names are loaded but now I also see new errors related to JPA
(I think).
Gerry
------------------- excerpt from run2 log
47 James WARN [main] openjpa.Runtime - An error occurred while registering
a ClassTransformer with PersistenceUnitInfo: name 'James', root URL
[file:/C:/s/james-3/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 13:45:06,406 | james.domainlist | Bean
org.apache.james.domainlist.jpa.JPADomainList started.
INFO 13:45:06,406 | james.mailserver | JAMES init...
WARN 13:45:09,390 | james.mailserver | Configured defaultDomain not exist in
DomainList, please add it ASAP!
-------------------
From: Gerry Matte
Sent: Thursday, November 04, 2010 12:22 PM
To: James Users List
Subject: James 3.0-M2 fails to startup on Windows server 2003
Hi Guys.
I downloaded the M2 SNAPSHOT (build 41) and carefully changed all conf files
while watching for files that have been modified since the snapshot was created.
I noticed that many of the files included in this build are actually older than
the files included in the M1 build (Oct 21 instead of Oct 26). Presumably this
isn't important.
I am still unable to start the server using an XML Domain List. It appears as
if the XML Domain list is loaded empty and other modules fail to find any
domains defined.
I've attached the run log and my config files - I've also duplicated the run
log below.
Let me know if there's anything else I can do.
Gerry Matte
250-383-2466 http://www.gerrymatte.ca
Nov 4/10 12:02 PDT Server DMS1
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\s\james-3\bin>run
--------------------
EXTRA_JVM_ARGUMENTS: -Xms128m -Xmx512m
-Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader
-Dcom.sun.management.jmxremote=true -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.ignoremissingen
dboundary=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 -Djames.message.usememory
copy=false
--------------------
Error: Password file read access must be restricted: ../conf/jmx.password
C:\s\james-3\bin>run [after adding to line 73 the java option to disable
jmxremote authentication -Dcom.sun.management.jmxremote.authenticate=false]
--------------------
EXTRA_JVM_ARGUMENTS: -Xms128m -Xmx512m
-Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader
-Dcom.sun.management.jmxremote=true -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.ignoremissingen
dboundary=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 -Djames.message.usememory
copy=false -Dcom.sun.management.jmxremote.authenticate=false
--------------------
INFO 13:00:40,859 |
org.apache.james.container.spring.JamesServerApplicationContext | Refreshing
org.apache.james.container.spring.jamesserverapplicationcont...@1db4f6f:
startup date [Thu Nov 04 13:00:40 GMT-06:00 2010]; 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.
INFO 13:00:44,953 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'configurationProvider' of type [class
org.apache.james.container.spring.lifecycle.SpringConfigurationProvider] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
INFO 13:00:44,968 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'logProvider' of type [class
org.apache.james.container.spring.lifecycle.SpringLogProvider] is not
eligiblefor getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
INFO 13:00:46,296 | james.domainlist | Set autodetect to: false
INFO 13:00:46,296 | james.domainlist | Set autodetectIP to: true
INFO 13:00:46,296 | james.domainlist | Bean
org.apache.james.domainlist.xml.XMLDomainList started.
INFO 13:00:46,312 | james.mailserver | JAMES init...
INFO 13:00:46,515 | james.domainlist | Local host is: 192.168.12.10
WARN 13:00:46,515 | james.mailserver | Configured defaultDomain not exist in
DomainList, please add it ASAP!
INFO 13:00:46,515 | 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: No
domainnames configured
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: No domainname
s configured
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.C
onfigurationException: No domainnames configured
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:156)
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: No
domainnames configured
at
org.apache.james.JamesMailServer.initializeServernames(JamesMailServer.java:169)
at org.apache.james.JamesMailServer.init(JamesMailServer.java:124)
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>
--------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]Nov 4/10 12:45 PDT Server DMS1
After commenting out XMLDomainList and activating JPADomainList in
domainlist.xml
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\s\james-3\bin>run
--------------------
EXTRA_JVM_ARGUMENTS: -Xms128m -Xmx512m
-Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader
-Dcom.sun.management.jmxremote=true -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.ignoremissingen
dboundary=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 -Djames.message.usememory
copy=false -Dcom.sun.management.jmxremote.authenticate=false
--------------------
INFO 13:45:02,578 |
org.apache.james.container.spring.JamesServerApplicationContext | Refreshing
org.apache.james.container.spring.jamesserverapplicationcont...@134bed0:
startup date [Thu Nov 04 13:4
5:02 GMT-06:00 2010]; 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.
INFO 13:45:04,765 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'configurationProvider' of type [class
org.apache.james.container.spring.lifecycle.SpringConfigurationProvid
er] is not eligible for getting processed by all BeanPostProcessors (for
example: not eligible for auto-proxying)
INFO 13:45:04,796 |
org.apache.james.container.spring.JamesServerApplicationContext | Bean
'logProvider' of type [class
org.apache.james.container.spring.lifecycle.SpringLogProvider] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
INFO 13:45:05,828 | james.domainlist | Set autodetect to: true
INFO 13:45:05,828 | james.domainlist | Set autodetectIP to: true
47 James WARN [main] openjpa.Runtime - An error occurred while registering
a ClassTransformer with PersistenceUnitInfo: name 'James', root URL
[file:/C:/s/james-3/conf/]. The error has been consum
ed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class
transformation will not be available.
INFO 13:45:06,406 | james.domainlist | Bean
org.apache.james.domainlist.jpa.JPADomainList started.
INFO 13:45:06,406 | james.mailserver | JAMES init...
WARN 13:45:09,390 | james.mailserver | Configured defaultDomain not exist in
DomainList, please add it ASAP!
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: No
domainnames configured
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: No domainname
s configured
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.C
onfigurationException: No domainnames configured
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:156)
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: No
domainnames configured
at
org.apache.james.JamesMailServer.initializeServernames(JamesMailServer.java:169)
at org.apache.james.JamesMailServer.init(JamesMailServer.java:124)
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><?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!-- Domainnames identifies the DNS namespace served by this instance of James. -->
<!-- These domainnames are used for both matcher/mailet processing and SMTP auth -->
<!-- to determine when a mail is intended for local delivery. -->
<!-- -->
<!-- If autodetect is TRUE, James wil attempt to discover its own host name AND -->
<!-- use any explicitly specified servernames. -->
<!-- If autodetect is FALSE, James will use only the specified domainnames. -->
<!-- -->
<!-- If autodetectIP is not FALSE, James will also allow add the IP address for each servername. -->
<!-- The automatic IP detection is to support RFC 2821, Sec 4.1.3, address literals. -->
<!-- -->
<!-- To override autodetected domainames names simply add explicit domainname elements. -->
<!-- In most cases this will be necessary. -->
<!-- By default, the domainname 'localhost' is specified. This can be removed, if required. -->
<!-- -->
<!-- Warning: If you are using fetchmail it is important to include the -->
<!-- fetched domains in the server name list to prevent looping. -->
<domainlists>
<!-- XML based DomainList implementation
<domainlist class="org.apache.james.domainlist.xml.XMLDomainList">
<domainnames>
<servername>gerrymatte.ca</servername>
<servername>gerrymatte.com</servername>
<servername>dmsservices.ca</servername>
<servername>candnoilfield.com</servername>
<servername>localhost</servername>
<servername>69.11.121.248</servername>
<servername>127.0.0.1</servername>
<servername>192.168.12.10</servername>
</domainnames>
<autodetect>false</autodetect>
<autodetectIP>true</autodetectIP>
</domainlist>
-->
<!-- JPA implementation for DomainList -->
<!-- -->
<domainlist class="org.apache.james.domainlist.jpa.JPADomainList">
<autodetect>true</autodetect>
<autodetectIP>true</autodetectIP>
</domainlist>
<!-- JDBC implementation for DomainList. This is deprecated and should not be used. -->
<!-- Use JPADomainList if you need a db backend DomainList -->
<!--
<domainlist class="org.apache.james.domainlist.jdbc.JDBCDomainList">
<repositoryPath>db://maildb/domain</repositoryPath>
<sqlFile>file://conf/sqlResources.xml</sqlFile>
<autodetect>true</autodetect>
<autodetectIP>true</autodetectIP>
</domainlist>
-->
</domainlists>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]