Scott Morgan created JAMES-1507:
-----------------------------------

             Summary: James starts then dies about 3 seconds later
                 Key: JAMES-1507
                 URL: https://issues.apache.org/jira/browse/JAMES-1507
             Project: James Server
          Issue Type: Bug
          Components: James Core
    Affects Versions: 3.0-beta4
         Environment: Mac os 1.7.0_15
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
jaxb-ri-2.2.6
            Reporter: Scott Morgan


I actually can't get any of the versions of james to run in a few hours of 
attempts here are my findings with this version (3.0-beta4).

foo$ ./james start
Starting Apache James Server App...
foo$ ./james status
Apache James Server App is not running.

Nothing in any of the logs this is more interesting may provide some insight;
$ ./james console
Running Apache James Server App...
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    | 
jvm 1    | 
jvm 1    | WARNING - Unable to load the Wrapper's native library because none 
of the
jvm 1    |           following files:
jvm 1    |             libwrapper-macosx-x86-64.dylib
jvm 1    |             libwrapper-macosx-universal-64.dylib
jvm 1    |             libwrapper.dylib
jvm 1    |           could be located on the following java.library.path:
jvm 1    |             /Users/scott/james/apache-james-3.0-beta4/bin/../lib
jvm 1    |           Please see the documentation for the 
wrapper.java.library.path
jvm 1    |           configuration property.
jvm 1    |           System signals will not be handled correctly.
jvm 1    | 
jvm 1    | INFO  21:28:37,659 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | 
Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@31531665:
 startup date [Fri May 10 21:28:37 CDT 2013]; root of context hierarchy
jvm 1    | 
jvm 1    | WrapperSimpleApp: Encountered an error running main: 
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
create the JAXB binder; nested exception is javax.xml.bind.JAXBException: 
Provider com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated: 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions
jvm 1    | Class has two properties of the same name "outputs"
jvm 1    |      this problem is related to the following location:
jvm 1    |              at public java.util.List 
org.apache.camel.model.ResequenceDefinition.getOutputs()
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    |      this problem is related to the following location:
jvm 1    |              at private java.util.List 
org.apache.camel.model.ResequenceDefinition.outputs
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    | 
jvm 1    |  - with linked exception:
jvm 1    | [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 
counts of IllegalAnnotationExceptions
jvm 1    | Class has two properties of the same name "outputs"
jvm 1    |      this problem is related to the following location:
jvm 1    |              at public java.util.List 
org.apache.camel.model.ResequenceDefinition.getOutputs()
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    |      this problem is related to the following location:
jvm 1    |              at private java.util.List 
org.apache.camel.model.ResequenceDefinition.outputs
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    | ]
jvm 1    | org.springframework.beans.factory.BeanDefinitionStoreException: 
Failed to create the JAXB binder; nested exception is 
javax.xml.bind.JAXBException: Provider 
com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated: 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions
jvm 1    | Class has two properties of the same name "outputs"
jvm 1    |      this problem is related to the following location:
jvm 1    |              at public java.util.List 
org.apache.camel.model.ResequenceDefinition.getOutputs()
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    |      this problem is related to the following location:
jvm 1    |              at private java.util.List 
org.apache.camel.model.ResequenceDefinition.outputs
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    | 
jvm 1    |  - with linked exception:
jvm 1    | [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 
counts of IllegalAnnotationExceptions
jvm 1    | Class has two properties of the same name "outputs"
jvm 1    |      this problem is related to the following location:
jvm 1    |              at public java.util.List 
org.apache.camel.model.ResequenceDefinition.getOutputs()
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    |      this problem is related to the following location:
jvm 1    |              at private java.util.List 
org.apache.camel.model.ResequenceDefinition.outputs
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    | ]
jvm 1    |      at 
org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:258)
jvm 1    |      at 
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:85)
jvm 1    |      at 
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59)
jvm 1    |      at 
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
jvm 1    |      at 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1419)
jvm 1    |      at 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1409)
jvm 1    |      at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)
jvm 1    |      at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
jvm 1    |      at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)
jvm 1    |      at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
jvm 1    |      at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
jvm 1    |      at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
jvm 1    |      at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
jvm 1    |      at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
jvm 1    |      at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
jvm 1    |      at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
jvm 1    |      at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
jvm 1    |      at 
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
jvm 1    |      at 
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
jvm 1    |      at 
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
jvm 1    |      at 
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
jvm 1    |      at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
jvm 1    |      at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
jvm 1    |      at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
jvm 1    |      at 
org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
jvm 1    |      at 
org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
jvm 1    |      at 
org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    |      at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
jvm 1    |      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:601)
jvm 1    |      at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1    |      at java.lang.Thread.run(Thread.java:722)
jvm 1    | Caused by: javax.xml.bind.JAXBException: Provider 
com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated: 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions
jvm 1    | Class has two properties of the same name "outputs"
jvm 1    |      this problem is related to the following location:
jvm 1    |              at public java.util.List 
org.apache.camel.model.ResequenceDefinition.getOutputs()
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    |      this problem is related to the following location:
jvm 1    |              at private java.util.List 
org.apache.camel.model.ResequenceDefinition.outputs
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    | 
jvm 1    |  - with linked exception:
jvm 1    | [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 
counts of IllegalAnnotationExceptions
jvm 1    | Class has two properties of the same name "outputs"
jvm 1    |      this problem is related to the following location:
jvm 1    |              at public java.util.List 
org.apache.camel.model.ResequenceDefinition.getOutputs()
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    |      this problem is related to the following location:
jvm 1    |              at private java.util.List 
org.apache.camel.model.ResequenceDefinition.outputs
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    | ]
jvm 1    |      at 
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
jvm 1    |      at javax.xml.bind.ContextFinder.find(ContextFinder.java:347)
jvm 1    |      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:431)
jvm 1    |      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:394)
jvm 1    |      at 
org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187)
jvm 1    |      at 
org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(CamelNamespaceHandler.java:174)
jvm 1    |      at 
org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:256)
jvm 1    |      ... 32 more
jvm 1    | Caused by: 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions
jvm 1    | Class has two properties of the same name "outputs"
jvm 1    |      this problem is related to the following location:
jvm 1    |              at public java.util.List 
org.apache.camel.model.ResequenceDefinition.getOutputs()
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    |      this problem is related to the following location:
jvm 1    |              at private java.util.List 
org.apache.camel.model.ResequenceDefinition.outputs
jvm 1    |              at org.apache.camel.model.ResequenceDefinition
jvm 1    | 
jvm 1    |      at 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91)
jvm 1    |      at 
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:451)
jvm 1    |      at 
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:283)
jvm 1    |      at 
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:126)
jvm 1    |      at 
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1148)
jvm 1    |      at 
com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:130)
jvm 1    |      at 
com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:221)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    |      at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
jvm 1    |      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:601)
jvm 1    |      at 
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:172)
jvm 1    |      at 
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
jvm 1    |      ... 38 more
wrapper  | <-- Wrapper Stopped



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to