i already copied jaxb-impl.jar under ../conf/lib
my java is [root@iZ28m97ac83Z lib]# java -versionopenjdk version
"1.8.0_101"OpenJDK Runtime Environment (build 1.8.0_101-b13)OpenJDK 64-Bit
Server VM (build 25.101-b13, mixed mode)
i use sudo su to root
then under .../james/bin/
using ./run.sh, james starts OK
using ./james start, no lucky. in wrapper.log it always says
##STATUS | wrapper | 2016/09/20 12:55:30 | --> Wrapper Started as DaemonSTATUS
| wrapper | 2016/09/20 12:55:30 | Launching a JVM...INFO | jvm 1 |
2016/09/20 12:55:32 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.orgINFO | jvm 1 | 2016/09/20 12:55:32 |
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.INFO | jvm 1
| 2016/09/20 12:55:32 |INFO | jvm 1 | 2016/09/20 12:55:33 | INFO
12:55:33,101 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@32ef1cd4:
startup date [Tue Sep 20 12:55:33 CST 2016]; root of context hierarchyINFO |
jvm 1 | 2016/09/20 12:55:35 |INFO | jvm 1 | 2016/09/20 12:55:35 |
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
IllegalAnnotationExceptionsINFO | jvm 1 | 2016/09/20 12:55:35 | Class has
two properties of the same name "outputs"##
what could be the possible reason?should i have to login as root to run ./james
start?
or i can live with ./run.sh& ?