You demonstrate that "upgrade" remains the last valid option forever :)
I hope your windows service will remain stable.

Eric


On 06/01/12 15:34, 勐 杨 wrote:
> I see apache-james-3.0-beta4-SNAPSHOT-20120105 make the thing better,no 
> any errors occured.
> 
> -----原始邮件----- From: Eric Charles
> Sent: Friday, January 06, 2012 2:12 AM
> To: James Users List
> Subject: Re: james 3.0 beta3 on windows8 develop preview
> 
> Hi,
> 
> I don't run james on windows, so it's difficult for me to help... sorry,
> and I don't from the stacktrace where the issue could come in james
> (except some weird behaviour caused by the wrapper, or the local windows
> configuration/permissions).
> 
> Maybe someone else on the mailing list ?
> 
> Thx,
> Eric
> 
> On 05/01/12 00:42, 勐 杨 wrote:
>> Hi, run.bat runs perfectly.
>>
>> -----原始邮件----- From: Eric Charles
>> Sent: Thursday, January 05, 2012 3:05 AM
>> To: James Users List
>> Subject: Re: james 3.0 beta3 on windows8 develop preview
>>
>> Hi,
>> James as Windows service is not very well tested (windows is not the
>> canonical platform to run servers).
>>
>> Now you have a different exception compared to your first mail.
>> What happens when you type ./run.bat (in a dos box, from the james bin
>> folder).
>>
>> Thx,
>> Eric
>>
>>
>> On 04/01/12 15:24, 勐 杨 wrote:
>>> Still can't star James service peroidicly,the wrapper log shows:
>>> STATUS | wrapper | 2012/01/04 22:18:21 | --> Wrapper Started as Service
>>> STATUS | wrapper | 2012/01/04 22:18:21 | Launching a JVM...
>>> INFO | jvm 1 | 2012/01/04 22:18:26 | Wrapper (Version 3.2.3)
>>> http://wrapper.tanukisoftware.org
>>> INFO | jvm 1 | 2012/01/04 22:18:26 | Copyright 1999-2006 Tanuki
>>> Software, Inc. All Rights Reserved.
>>> INFO | jvm 1 | 2012/01/04 22:18:26 |
>>> INFO | jvm 1 | 2012/01/04 22:18:27 | INFO 22:18:26,989 |
>>> org.apache.james.container.spring.context.JamesServerApplicationContext
>>> | Refreshing
>>> org.apache.james.container.spring.context.JamesServerApplicationContext@1f5248c:
>>>  
>>>
>>>
>>> startup date [Wed Jan 04 22:18:26 CST 2012]; root of context hierarchy
>>> INFO | jvm 1 | 2012/01/04 22:18:32 |
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | WrapperSimpleApp: Encountered an
>>> error running main:
>>> org.springframework.beans.factory.BeanDefinitionStoreException:
>>> Unexpected exception parsing XML document from class path resource
>>> [context/james-server-context.xml]; nested exception is
>>> java.lang.NullPointerException
>>> INFO | jvm 1 | 2012/01/04 22:18:32 |
>>> org.springframework.beans.factory.BeanDefinitionStoreException:
>>> Unexpected exception parsing XML document from class path resource
>>> [context/james-server-context.xml]; nested exception is
>>> java.lang.NullPointerException
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:126)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:92)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.apache.james.container.spring.Main.init(Main.java:66)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.apache.james.container.spring.Main.main(Main.java:42)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> java.lang.reflect.Method.invoke(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) 
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at java.lang.Thread.run(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | Caused by:
>>> java.lang.NullPointerException
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.checkOverrideProperties(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.ArrayReferenceNodeProperty.<init>(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> java.lang.reflect.Constructor.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.ArrayReferenceNodeProperty.<init>(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> java.lang.reflect.Constructor.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.ArrayReferenceNodeProperty.<init>(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> java.lang.reflect.Constructor.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.SingleElementNodeProperty.<init>(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> java.lang.reflect.Constructor.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.ArrayElementProperty.<init>(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.ArrayElementNodeProperty.<init>(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> java.lang.reflect.Constructor.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(Unknown
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(Unknown
>>>  
>>>
>>>
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown 
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown 
>>> Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> java.lang.reflect.Method.invoke(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> javax.xml.bind.ContextFinder.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> javax.xml.bind.ContextFinder.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> javax.xml.bind.ContextFinder.find(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> javax.xml.bind.JAXBContext.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> javax.xml.bind.JAXBContext.newInstance(Unknown Source)
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(CamelNamespaceHandler.java:174)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:256)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:85)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
>>>  
>>>
>>>
>>>
>>> INFO | jvm 1 | 2012/01/04 22:18:32 | ... 22 more
>>> STATUS | wrapper | 2012/01/04 22:18:35 | <-- Wrapper Stopped
>>>
>>>
>>> -----原始邮件----- From: Eric Charles
>>> Sent: Tuesday, December 27, 2011 12:55 PM
>>> To: James Users List
>>> Subject: Re: james 3.0 beta3 on windows8 develop preview
>>>
>>> Hi,
>>>
>>> Thx for trying james 3.0 beta3. I'm not sure, but I think other people
>>> have successfully used james 3 as a windows service (to be 
>>> confirmed...).
>>>
>>> As local system, it seems the process can not create a tmp file. Check
>>> with System.getProperty("java.io.tmpdir")) and give the needed
>>> permissions on that folder. Optionally, try override the tmp folder
>>> starting james with -Djava.io.tmpdir=/path/to/tmpdir or setting the TMP
>>> environment variable.
>>>
>>> When you start as administrator, do you see any exception in the james
>>> log or in the windows service log?
>>>
>>> Thx,
>>>
>>> Eric
>>>
>>>
>>> On 25/12/11 15:37, 勐 杨 wrote:
>>>> I have tried to install james as windows service,But in case set the
>>>> service login as local system,is starts,But when I use telnet to send
>>>> a mail,t
>>>> WARN 22:33:41,398 | james.smtpserver | ID=2158849 Error creating
>>>> mimemessagesource for incoming data
>>>> javax.mail.MessagingException: Unable to get canonical file path:
>>>> system can’t find the specified path。
>>>> nested exception is:
>>>> java.io.IOException: system can’t find the specified path。
>>>> at
>>>> org.apache.james.core.MimeMessageInputStreamSource.<init>(MimeMessageInputStreamSource.java:118)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.apache.james.smtpserver.JamesDataCmdHandler.doDATA(JamesDataCmdHandler.java:46)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.apache.james.protocols.smtp.core.DataCmdHandler.onCommand(DataCmdHandler.java:95)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.apache.james.protocols.smtp.core.DataCmdHandler.onCommand(DataCmdHandler.java:43)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.apache.james.protocols.api.AbstractCommandDispatcher.onLine(AbstractCommandDispatcher.java:150)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.apache.james.protocols.impl.AbstractChannelUpstreamHandler.messageReceived(AbstractChannelUpstreamHandler.java:139)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69)
>>>>  
>>>>
>>>>
>>>>
>>>> at
>>>> org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:316)
>>>>  
>>>>
>>>>
>>>>
>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>>> at java.lang.Thread.run(Unknown Source)
>>>> Caused by: java.io.IOException:system can’t find the specified path。
>>>> at java.io.WinNTFileSystem.createFileExclusively(Native Method)
>>>> at java.io.File.createTempFile(Unknown Source)
>>>> at java.io.File.createTempFile(Unknown Source)
>>>> at
>>>> org.apache.james.core.MimeMessageInputStreamSource.<init>(MimeMessageInputStreamSource.java:115)
>>>>  
>>>>
>>>>
>>>>
>>>> ... 13 more
>>>> INFO 22:33:41,398 | james.smtpserver | ID=2158849
>>>> org.apache.james.smtpserver.JamesDataCmdHandler: 451 [Unexpected error
>>>> preparing to receive DATA.]
>>>> he log shows:
>>>> on other hand,when I set the service login as an administrator user,It
>>>> doesn’t start.
>>>
>>
> 

-- 
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to