[daisy] I am obviously doing something very silly with the wrapper.
David Goodenough
david.goodenough at linkchoose.co.uk
Thu Nov 23 04:32:27 CST 2006
I have set up the wrapper as described on the web site, and in debug mode I
get:-
DEBUG | wrapper | 2006/11/23 10:17:43 | Waiting 5 seconds before launching
another JVM.
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[0] : /usr/lib/j2sdk1.5-sun/bin/java
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[1] : -Dmerlin.deployment.timeout=0
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[2] : "-Dmerlin.logging.config=/usr/local/share/daisy-data/conf/logkit.xml"
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[3] : -Dfile.encoding=UTF-8
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[4] : -Djava.awt.headless=true
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[5] : -Dorg.apache.commons.logging.Log=org.outerj.daisy.logging.DaisyLog
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[6] : "-Djava.security.auth.login.config=/usr/local/share/daisy-data/conf/login.config"
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[7] : "-Ddaisy.datadir=/usr/local/share/daisy-data"
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[8] : "-Ddaisy.home=/usr/local/share/daisy-1.5.1"
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[9] : -Duser.language=en
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[10] : -Duser.country=US
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[11] : -Duser.variant=
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[12] : -Djava.library.path=/usr/local/share/wrapper-linux-x86-32-3.2.3//lib
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[13] : -classpath
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[14] : /usr/local/share/wrapper-linux-x86-32-3.2.3//lib/wrapper.jar:/usr/local/share/daisy-1.5.1/repository-server/merlin/system/merlin/jars/merlin-cli-3.3.0.jar
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[15] : -Dwrapper.key=7IrIUkMGjLiON9HQ
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[16] : -Dwrapper.port=32000
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[17] : -Dwrapper.jvm.port.min=31000
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[18] : -Dwrapper.jvm.port.max=31999
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[19] : -Dwrapper.debug=TRUE
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[20] : -Dwrapper.pid=5325
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[21] : -Dwrapper.version=3.2.3
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[22] : -Dwrapper.native_library=wrapper
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[23] : -Dwrapper.service=TRUE
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[24] : -Dwrapper.cpu.timeout=10
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[25] : -Dwrapper.jvmid=5
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[26] :
org.tanukisoftware.wrapper.WrapperSimpleApp
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[27] :
org.apache.avalon.merlin.cli.Main
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[28] : -offline
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[29] : -home
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[30] : "/usr/local/share/daisy-data"
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[31] : -repository
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[32] : "/usr/local/share/daisy-1.5.1/lib"
DEBUG | wrapper | 2006/11/23 10:17:47 | Command[33] : -config
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[34] : "/usr/local/share/daisy-data/conf/myconfig.xml"
DEBUG | wrapper | 2006/11/23 10:17:47 |
Command[35] : "/usr/local/share/daisy-1.5.1/repository-server/conf/block.xml"
STATUS | wrapper | 2006/11/23 10:17:47 | Launching a JVM...
DEBUG | wrapper | 2006/11/23 10:17:47 | Signal trapped. Details:
DEBUG | wrapper | 2006/11/23 10:17:47 | signal number=17 (SIGCHLD),
source="unknown"
DEBUG | wrapper | 2006/11/23 10:17:47 | Received SIGCHLD, checking JVM
process status.
DEBUG | wrapper | 2006/11/23 10:17:47 | JVM process exited with a code of 1,
setting the wrapper exit code to 1.
ERROR | wrapper | 2006/11/23 10:17:47 | JVM exited while loading the
application.
INFO | jvm 5 | 2006/11/23 10:17:47 | Exception in thread "main"
java.lang.NoClassDefFoundError: "-Dmerlin/logging/config=/usr/local/share/daisy-data/conf/logkit/xml"
DEBUG | wrapper | 2006/11/23 10:17:47 | JVM was only running for 0 seconds
leading to a failed restart count of 5.
FATAL | wrapper | 2006/11/23 10:17:47 | There were 5 failed launches in a
row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2006/11/23 10:17:47 | There may be a configuration
problem: please check the logs.
STATUS | wrapper | 2006/11/23 10:17:48 | <-- Wrapper Stopped
This looks perfectly normal to me. I can not see why the second -D
(the -Dmerlin.loging.config=...) is being interpreted as the class to load.
There is only one item before this (another -D) and it does not have spaces in
it or anything like that. As you can see it is definitely invoking the 1.5
JDK java.
Anyone got any clue as to why this might be failing?
More information about the daisy
mailing list