Thx,I've download and test it,it works fine.
Thank you verymuch.
-----原始邮件-----
From: Eric Charles
Sent: Monday, March 25, 2013 6:45 PM
To: James Users List
Subject: Re: James could not start
Latest successfull build will start fine:
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-app/3.0.0-beta5-SNAPSHOT/james-server-app-3.0.0-beta5-20130325.102431-39-app.tar.gz
Thx, Eric
On 25/03/2013 06:08, Eric Charles wrote:
Hi,
Thx a lot for reporting.
It has been fixed in trunk with
https://issues.apache.org/jira/browse/JAMES-1491.
Better to update your turnk and build from source if you can because the
fresh snapshot is not yet built
https://builds.apache.org/job/james-server-trunk/3764/
Jenkins automated build seems to have some difficulties to be the
arrchive. This is due to instability on the jenkins side, not a James bug.
Thx, Eric
On 24/03/2013 23:28, ?? wrote:
HI all,James-server-3.0.5betasnapshot could not start,When I run script
run.bat,is says:
ERROR 07:19:02,027 | james.mailprocessor | Unable to init matcher All:
org.apache.mailet.MailetException: Could not load matcher (All);
nested exception is:
java.lang.ClassNotFoundException:
org.apache.james.transport.matchers.All
org.apache.mailet.MailetException: Could not load matcher (All);
nested exception is:
java.lang.ClassNotFoundException:
org.apache.james.transport.matchers.All
at
org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:68)
at
org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:54)
at
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:340)
at
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:118)
at
org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:101)
at
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:104)
at
org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:175)
at
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:67)
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:346)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)
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:294)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
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:39)
at
org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
at
org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
Caused by: java.lang.ClassNotFoundException:
org.apache.james.transport.matchers.All
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.load(AbstractLoaderBeanFactory.java:45)
at
org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:45)
... 29 more
ERROR 07:19:02,199 | james.mailprocessor | Caused by nested exception:
java.lang.ClassNotFoundException: org.apache.james.transport.matchers.All
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.load(AbstractLoaderBeanFactory.java:45)
at
org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:45)
at
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:340)
at
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:118)
at
org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:101)
at
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:104)
at
org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:175)
at
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:67)
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:346)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)
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:294)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
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:39)
at
org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
at
org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
INFO 07:21:34,857 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@3492fc:
startup date [Mon Mar 25 07:21:34 CST 2013]; root of context hierarchy
INFO 07:21:39,218 |
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)
INFO 07:21:39,341 | james.mailrepositorystore | JamesMailStore init...
INFO 07:21:39,365 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.file.FileMailRepository
to handle file protocol requests for repositories with key file
INFO 07:21:39,370 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository
to handle db protocol requests for repositories with key db
INFO 07:21:39,380 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository
to handle dbfile protocol requests for repositories with key dbfile
INFO 07:21:39,386 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.file.MBoxMailRepository
to handle mbox protocol requests for repositories with key mbox
WARN 07:21:40,584 | org.apache.activemq.broker.BrokerService | Store
limit is 102400 mb, whilst the data directory:
F:\james-server-app-3.0.0-beta5-SNAPSHOT\bin\..\var\store\activemq\brokers\james
only has 19900 mb of usable space
ERROR 07:21:40,596 | org.apache.activemq.broker.BrokerService | Temporary
Store limit is 51200 mb, whilst the temporary data directory:
F:\james-server-app-3.0.0-beta5-SNAPSHOT\bin\..\var\store\activemq\brokers\james\tmp_storage
only has 19900 mb of usable space
INFO 07:21:41,179 | james.dnsservice | Autodiscovery is enabled - trying
to discover your system's DNS Servers
INFO 07:21:41,196 | james.dnsservice | Adding autodiscovered server
61.134.1.5
INFO 07:21:41,198 | james.dnsservice | Adding autodiscovered server
218.30.19.50
INFO 07:21:41,204 | james.dnsservice | Adding autodiscovered server
192.168.1.1
INFO 07:21:41,208 | james.dnsservice | DNS Server is: 61.134.1.5
INFO 07:21:41,210 | james.dnsservice | DNS Server is: 218.30.19.50
INFO 07:21:41,214 | james.dnsservice | DNS Server is: 192.168.1.1
INFO 07:21:41,240 | james.dnsservice | Registered cache, resolver and
search paths as DNSJava defaults
INFO 07:21:42,387 | james.domainlist | Set autodetect to: true
INFO 07:21:42,389 | james.domainlist | Set autodetectIP to: true
WARN 07:21:46,855 | james.mailetcontext | The specified postmaster
address ( postmaster@localhost ) is not a local address. This is not
necessarily a problem, but it does mean that emails addressed to the
postmaster will be routed to another server. For some configurations
this may cause problems.
ERROR 07:21:47,190 | james.mailprocessor | Unable to init matcher All:
org.apache.mailet.MailetException: Could not load matcher (All);
nested exception is:
java.lang.ClassNotFoundException:
org.apache.james.transport.matchers.All
org.apache.mailet.MailetException: Could not load matcher (All);
nested exception is:
java.lang.ClassNotFoundException:
org.apache.james.transport.matchers.All
at
org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:68)
at
org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:54)
at
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:340)
at
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:118)
at
org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:101)
at
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:104)
at
org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:175)
at
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:67)
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.InitDestroyAnnotationBeanPostProcesso
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]