yes I'm using jdk7..I'll use the jdk6 for the testing purpose

Thanks,
Dileepa


On Fri, Jul 26, 2013 at 4:38 PM, Eric Charles <[email protected]> wrote:

> You are running with jdk7, aren't you?
> Use jdk6 or upgrade to latest jdk7.
>
>
> On 26/07/2013 10:15, Dileepa Jayakody wrote:
>
>> Hi All,
>> I'm new to Apache James, and looking at it to use for my Msc Project on
>> Reputation Management in Email Networks.
>>
>> I downloaded the latest James server : 3.0-beta4 from the official site
>> and
>> issued the start cmd :* ./james start*
>>
>> But the process doesn't start..
>>
>> Then I executed the console cmd : *./james console* and got the below
>> error
>>
>> log [1].
>> Appreciate if somebody help me to resolve this, and continue using James
>> Server
>>
>> Thanks in advance.
>>
>> [1]
>> dileepa@dileepa-laptop2:~/**Desktop/research/DATA/**
>> reputationBasedSpamFilter/app/**apache-james-3.0-beta4/bin$
>> ./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<http://wrapper.tanukisoftware.org>
>> jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights
>> Reserved.
>> jvm 1    |
>> jvm 1    | INFO  14:39:32,241 |
>> org.apache.james.container.**spring.context.**JamesServerApplicationContext
>> |
>> Refreshing
>> org.apache.james.container.**spring.context.**
>> JamesServerApplicationContext@**5e196d07:
>> startup date [Fri Jul 26 14:39:32 IST 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$**
>> CamelContextBeanDefinitionPars**er.doParse(**CamelNamespaceHandler.java:*
>> *258)
>> jvm 1    | at
>> org.springframework.beans.**factory.xml.**AbstractSingleBeanDefinitionPa*
>> *rser.parseInternal(**AbstractSingleBeanDefinitionPa**rser.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.**DefaultBeanDefinitionDocumentR*
>> *eader.parseBeanDefinitions(**DefaultBeanDefinitionDocumentR**
>> eader.java:184)
>> jvm 1    | at
>> org.springframework.beans.**factory.xml.**DefaultBeanDefinitionDocumentR*
>> *eader.**doRegisterBeanDefinitions(**DefaultBeanDefinitionDocumentR**
>> eader.java:140)
>> jvm 1    | at
>> org.springframework.beans.**factory.xml.**DefaultBeanDefinitionDocumentR*
>> *eader.registerBeanDefinitions(**DefaultBeanDefinitionDocumentR**
>> eader.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.**AbstractRefreshableApplication**
>> Context.refreshBeanFactory(**AbstractRefreshableApplication**
>> Context.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$**
>> CamelContextBeanDefinitionPars**er.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
>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> server-user-unsubscribe@james.**apache.org<[email protected]>
> For additional commands, e-mail: 
> [email protected].**org<[email protected]>
>
>

Reply via email to