Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1567

doesnt work on ubuntu14.04 althougth my classpath is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0-beta4
    • None
    • James Core
    • ubuntu 14.04 with java 7 installed

    Description

      dear sir

      im a student trying to get James Apache to get working on Ubuntu 14.04 but unfortunately I cant have it installed. Would you mind help me? I have ubuntu 14.04 and java 7 oracle installed

      Below is a description if my architecture and problems encountered:

      I have ubuntu 14.04
      java is in /ust/lib/jvm/java-7-oracle/bin
      path is set and exported

      when I do ./james start, it says Starting Apache Server... and then crashes down.

      Below is the output of my wrapper.log file:

      STATUS | wrapper | 2015/02/18 10:49:38 | --> Wrapper Started as Daemon
      STATUS | wrapper | 2015/02/18 10:49:39 | Launching a JVM...
      INFO | jvm 1 | 2015/02/18 10:49:41 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
      INFO | jvm 1 | 2015/02/18 10:49:41 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
      INFO | jvm 1 | 2015/02/18 10:49:41 |
      INFO | jvm 1 | 2015/02/18 10:49:41 | Java HotSpot(TM) Server VM warning: You have loaded library /home/tomski/Downloads/apache-james-3.0-beta4/lib/libwrapper-linux-x86-32.so which might have disabled stack guard. The VM will try to fix the stack guard now.
      INFO | jvm 1 | 2015/02/18 10:49:41 | It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
      INFO | jvm 1 | 2015/02/18 10:49:41 | INFO 10:49:41,769 | org.apache.james.container.spring.context.JamesServerApplicationContext | Refreshing org.apache.james.container.spring.context.JamesServerApplicationContext@1cccddf: startup date [Wed Feb 18 10:49:41 CET 2015]; root of context hierarchy
      INFO | jvm 1 | 2015/02/18 10:49:44 |
      INFO | jvm 1 | 2015/02/18 10:49:44 | 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
      INFO | jvm 1 | 2015/02/18 10:49:44 | Class has two properties of the same name "outputs"
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at public java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 |
      INFO | jvm 1 | 2015/02/18 10:49:44 | - with linked exception:
      INFO | jvm 1 | 2015/02/18 10:49:44 | [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
      INFO | jvm 1 | 2015/02/18 10:49:44 | Class has two properties of the same name "outputs"
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at public java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | ]
      INFO | jvm 1 | 2015/02/18 10:49:44 | 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
      INFO | jvm 1 | 2015/02/18 10:49:44 | Class has two properties of the same name "outputs"
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at public java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 |
      INFO | jvm 1 | 2015/02/18 10:49:44 | - with linked exception:
      INFO | jvm 1 | 2015/02/18 10:49:44 | [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
      INFO | jvm 1 | 2015/02/18 10:49:44 | Class has two properties of the same name "outputs"
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at public java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | ]
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:258)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:85)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1419)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1409)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)
      INFO | jvm 1 | 2015/02/18 10:49:44 |
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at java.lang.reflect.Method.invoke(Method.java:606)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at java.lang.Thread.run(Thread.java:745)
      INFO | jvm 1 | 2015/02/18 10:49:44 | 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
      INFO | jvm 1 | 2015/02/18 10:49:44 | Class has two properties of the same name "outputs"
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at public java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 |
      INFO | jvm 1 | 2015/02/18 10:49:44 | - with linked exception:
      INFO | jvm 1 | 2015/02/18 10:49:44 | [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
      INFO | jvm 1 | 2015/02/18 10:49:44 | Class has two properties of the same name "outputs"
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at public java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | ]
      INFO | jvm 1 | 2015/02/18 10:49:44 | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at javax.xml.bind.ContextFinder.find(ContextFinder.java:347)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:431)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:394)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(CamelNamespaceHandler.java:174)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:256)
      INFO | jvm 1 | 2015/02/18 10:49:44 | ... 32 more
      INFO | jvm 1 | 2015/02/18 10:49:44 | Caused by: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
      INFO | jvm 1 | 2015/02/18 10:49:44 | Class has two properties of the same name "outputs"
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at public java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 | this problem is related to the following location:
      INFO | jvm 1 | 2015/02/18 10:49:44 | at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
      INFO | jvm 1 | 2015/02/18 10:49:44 | at org.apache.camel.model.ResequenceDefinition
      INFO | jvm 1 | 2015/02/18 10:49:44 |
      INFO | jvm 1 | 2015/02/18 10:49:44 | at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:442)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:274)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:125)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1127)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:130)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:221)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at java.lang.reflect.Method.invoke(Method.java:606)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:172)
      INFO | jvm 1 | 2015/02/18 10:49:44 | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
      INFO | jvm 1 | 2015/02/18 10:49:44 | ... 38 more
      STATUS | wrapper | 2015/02/18 10:49:46 | <-- Wrapper Stopped

      I hope you can help me to set up correctly James Apache (I followed the tutorial).

      Many thanks in advance for your help.
      Keep up the good work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbrunias jjbrunias
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: