Description
For command
./jsvc -debug \ -cp $JBOSS_HOME/jboss-modules.jar:$JBOSS_HOME/bin/commons-daemon-1.0.13.jar \ -outfile $JBOSS_HOME/bin/jboss.out \ -errfile $JBOSS_HOME/bin/jboss.err \ -pidfile $JBOSS_HOME/bin/jboss.pid \ -Djboss.home.dir=$JBOSS_HOME \ -Djboss.server.base.dir=$JBOSS_HOME/standalone \ -D[Standalone] -XX:+UseCompressedOops -Xms1303m -Xmx1303m -XX:MaxPermSize=256m \ -Djava.net.preferIPv4Stack=true \ -Djboss.modules.system.pkgs=org.jboss.byteman \ -Djava.awt.headless=true \ -Dorg.jboss.boot.log.file=$JBOSS_HOME/standalone/log/server.log \ -Dlogging.configuration=file:$JBOSS_HOME/standalone/configuration/logging.properties \ @org.jboss.modules.Main \ -start-method main \ -mp $JBOSS_HOME/modules \ -jaxpmodule javax.xml.jaxp-provider \ org.jboss.as.standalone
Output in jboss.err
java_init done Daemon loading... Daemon loaded successfully java_load done java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243) Caused by: java.lang.IllegalAccessException: Class org.apache.commons.daemon.support.DaemonWrapper$Invoker can not access a member of class org.jboss.modules.Main with modifiers "private" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95) at java.lang.Class.newInstance0(Class.java:366) at java.lang.Class.newInstance(Class.java:325) at org.apache.commons.daemon.support.DaemonWrapper$Invoker.invoke(DaemonWrapper.java:229) at org.apache.commons.daemon.support.DaemonWrapper.start(DaemonWrapper.java:166) ... 5 more Cannot start daemon java_start failed