You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Odzeyem Nuertey-Y17577 <Nu...@motorola.com> on 2006/11/13 18:34:35 UTC

jsvc error: Cannot found Daemon Loader "version" entry point

Hello,
I am trying to run Tomcat as a daemon on Solaris. Compilation went
succesfully but when I invoke jsvc, I get the following error log:
 
13/11/2006 10:53:46 12608 jsvc debug: Using default JVM in
/usr/java/jre/lib/sparc/client/libjvm.so
13/11/2006 10:53:46 12608 jsvc debug: Attemtping to load library
/usr/java/jre/lib/sparc/client/libjvm.so
13/11/2006 10:53:46 12608 jsvc debug: JVM library
/usr/java/jre/lib/sparc/client/libjvm.so loaded
13/11/2006 10:53:46 12608 jsvc debug: JVM library entry point found
(0xFEC4A940)
13/11/2006 10:53:46 12608 jsvc debug: +-- DUMPING JAVA VM CREATION
ARGUMENTS -----------------
13/11/2006 10:53:46 12608 jsvc debug: | Version:
10004
13/11/2006 10:53:46 12608 jsvc debug: | Ignore Unrecognized Arguments:
False
13/11/2006 10:53:46 12608 jsvc debug: | Extra options:                 2
13/11/2006 10:53:46 12608 jsvc debug: |
"-Djava.class.path=./bin/bootstrap.jar:./bin/commons-daemon.jar"
(0x00000000)
13/11/2006 10:53:46 12608 jsvc debug:
+-------------------------------------------------------
13/11/2006 10:53:46 12608 jsvc debug: Java VM created successfully
13/11/2006 10:53:46 12608 jsvc debug: Class
org/apache/commons/daemon/support/DaemonLoader found
13/11/2006 10:53:46 12608 jsvc debug: Native methods registered
13/11/2006 10:53:46 12608 jsvc error: Cannot found Daemon Loader
"version" entry point
13/11/2006 10:53:46 12607 jsvc error: Service exit with a return value
of 255
 
>From CATALINA_HOME, I am invoking jsvc as follows:
 
./bin/jsvc -cp ./bin/bootstrap.jar:./bin/commons-daemon.jar -version
-home /usr/java -debug -outfile ../cruise/logs/catalina.out -errfile
../cruise/logs/catalina.err -pidfile ../cruise/logs/jsvc.pid
org.apache.catalina.startup.Bootstrap
 
Any help I can get would be very much appreciated.
Thanks
Nuertey
 
p.s. Here is the command line output:
 
13/11/2006 10:53:46 12607 jsvc debug: +-- DUMPING PARSED COMMAND LINE
ARGUMENTS --------------
13/11/2006 10:53:46 12607 jsvc debug: | Detach:          False
13/11/2006 10:53:46 12607 jsvc debug: | Show Version:    Yes
13/11/2006 10:53:46 12607 jsvc debug: | Show Help:       No
13/11/2006 10:53:46 12607 jsvc debug: | Check Only:      Disabled
13/11/2006 10:53:46 12607 jsvc debug: | Stop:            False
13/11/2006 10:53:46 12607 jsvc debug: | Wait:            0
13/11/2006 10:53:46 12607 jsvc debug: | Run as service:  No
13/11/2006 10:53:46 12607 jsvc debug: | Install service: No
13/11/2006 10:53:46 12607 jsvc debug: | Remove service:  No
13/11/2006 10:53:46 12607 jsvc debug: | JVM Name:        "null"
13/11/2006 10:53:46 12607 jsvc debug: | Java Home:       "/usr/java"
13/11/2006 10:53:46 12607 jsvc debug: | PID File:
"../cruise/logs/jsvc.pid"
13/11/2006 10:53:46 12607 jsvc debug: | User Name:       "null"
13/11/2006 10:53:46 12607 jsvc debug: | Extra Options:   1
13/11/2006 10:53:46 12607 jsvc debug: |
"-Djava.class.path=./bin/bootstrap.jar:./bin/commons-daemon.jar"
13/11/2006 10:53:46 12607 jsvc debug: | Class Invoked:
"org.apache.catalina.startup.Bootstrap"
13/11/2006 10:53:46 12607 jsvc debug: | Class Arguments: 0
13/11/2006 10:53:46 12607 jsvc debug:
+-------------------------------------------------------
13/11/2006 10:53:46 12607 jsvc debug: Attempting to locate Java Home in
/usr/java
13/11/2006 10:53:46 12607 jsvc debug: Attempting to locate VM
configuration file /usr/java/jre/lib/jvm.cfg
13/11/2006 10:53:46 12607 jsvc debug: Attempting to locate VM
configuration file /usr/java/lib/jvm.cfg
13/11/2006 10:53:46 12607 jsvc debug: Attempting to locate VM
configuration file /usr/java/jre/lib/sparc/jvm.cfg
13/11/2006 10:53:46 12607 jsvc debug: Found VM configuration file at
/usr/java/jre/lib/sparc/jvm.cfg
13/11/2006 10:53:46 12607 jsvc debug: Found VM client definition in
configuration
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/jre/lib/sparc/client/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Found VM server definition in
configuration
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/jre/lib/sparc/server/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Found VM hotspot definition in
configuration
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/jre/lib/sparc/hotspot/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/lib/sparc/hotspot/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Cannot locate library for VM
hotspot (skipping)
13/11/2006 10:53:46 12607 jsvc debug: Found VM classic definition in
configuration
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/jre/lib/sparc/classic/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/lib/sparc/classic/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Cannot locate library for VM
classic (skipping)
13/11/2006 10:53:46 12607 jsvc debug: Found VM native definition in
configuration
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/jre/lib/sparc/native/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/lib/sparc/native/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Cannot locate library for VM
native (skipping)
13/11/2006 10:53:46 12607 jsvc debug: Found VM green definition in
configuration
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/jre/lib/sparc/green/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Checking library
/usr/java/lib/sparc/green/libjvm.so
13/11/2006 10:53:46 12607 jsvc debug: Cannot locate library for VM green
(skipping)
13/11/2006 10:53:46 12607 jsvc debug: Java Home located in /usr/java
13/11/2006 10:53:46 12607 jsvc debug: +-- DUMPING JAVA HOME STRUCTURE
------------------------
13/11/2006 10:53:46 12607 jsvc debug: | Java Home:       "/usr/java"
13/11/2006 10:53:46 12607 jsvc debug: | Java VM Config.:
"/usr/java/jre/lib/sparc/jvm.cfg"
13/11/2006 10:53:46 12607 jsvc debug: | Found JVMs:      2
13/11/2006 10:53:46 12607 jsvc debug: | JVM Name:        "client"
13/11/2006 10:53:46 12607 jsvc debug: |
"/usr/java/jre/lib/sparc/client/libjvm.so"
13/11/2006 10:53:46 12607 jsvc debug: | JVM Name:        "server"
13/11/2006 10:53:46 12607 jsvc debug: |
"/usr/java/jre/lib/sparc/server/libjvm.so"
13/11/2006 10:53:46 12607 jsvc debug:
+-------------------------------------------------------
13/11/2006 10:53:46 12607 jsvc debug: redirecting stdout to
../cruise/logs/catalina.out and stderr to ../cruise/logs/catalina.err