A follow up to this message, I found a couple of lines in catalina.out that I thought 
maybe have something to do with this:

Can't load server.xml
jsvc.exec debug: Daemon loaded successfully
Can't load server.xml

Perhaps this helps.  Thanks again in advance.

Tim




-----Original Message-----
From: Solley, Tim 
Sent: Thursday, June 03, 2004 3:35 PM
To: [EMAIL PROTECTED]
Subject: JSVC problem on Linux with Tomcat 5


Hi all,

I'm trying to get Tomcat 5 running as a daemon on my RH 9 machine.  I've gone through 
the setup and everything seemed to be okay.  So I moved on to modifying the 
tomcat/bin/jsvc-src/native/tomcat.sh file to work with my environment.  Now I use the 
script to start JSVC, and in the catalina.out file it shows the server starting up in 
zero seconds, and JSVC shows up in the process list.  But Tomcat is still not 
available through a browser.  Below is the debug output when starting JSVC:

jsvc debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --------------
jsvc debug: | Detach:          True
jsvc debug: | Show Version:    No
jsvc debug: | Show Help:       No
jsvc debug: | Check Only:      Disabled
jsvc debug: | Run as service:  No
jsvc debug: | Install service: No
jsvc debug: | Remove service:  No
jsvc debug: | JVM Name:        "null"
jsvc debug: | Java Home:       "/usr/java/j2sdk1.4.2_04"
jsvc debug: | PID File:        "/var/run/jsvc.pid"
jsvc debug: | User Name:       "root"
jsvc debug: | Extra Options:   4
jsvc debug: |   "-Dcatalina.home=/usr/tomcat"
jsvc debug: |   "-Djava.io.tmpdir=/var/tmp"
jsvc debug: |   "-verbose"
jsvc debug: |   
"-Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/commons-daemon.jar:/usr/tomcat/bin/bootstrap.jar"
jsvc debug: | Class Invoked:   "org.apache.catalina.startup.Bootstrap"
jsvc debug: | Class Arguments: 0
jsvc debug: +-------------------------------------------------------
jsvc debug: user changed to 'root'
jsvc debug: User 'root' validated
jsvc debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc debug: VM configuration file not found
jsvc debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc debug: +-- DUMPING JAVA HOME STRUCTURE ------------------------
jsvc debug: | Java Home:       "/usr/java/j2sdk1.4.2_04"
jsvc debug: | Java VM Config.: "null"
jsvc debug: | Found JVMs:      1
jsvc debug: | JVM Name:        "null"
jsvc debug: |                  "/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so"
jsvc debug: +-------------------------------------------------------
jsvc debug: Using default JVM in /usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc debug: Invoking w/ 
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_04/jre/lib/i386/client:/usr/java/j2sdk1.4.2_04/jre/lib/i386
jsvc.exec debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS --------------
jsvc.exec debug: | Detach:          True
jsvc.exec debug: | Show Version:    No
jsvc.exec debug: | Show Help:       No
jsvc.exec debug: | Check Only:      Disabled
jsvc.exec debug: | Run as service:  No
jsvc.exec debug: | Install service: No
jsvc.exec debug: | Remove service:  No
jsvc.exec debug: | JVM Name:        "null"
jsvc.exec debug: | Java Home:       "/usr/java/j2sdk1.4.2_04"
jsvc.exec debug: | PID File:        "/var/run/jsvc.pid"
jsvc.exec debug: | User Name:       "root"
jsvc.exec debug: | Extra Options:   4
jsvc.exec debug: |   "-Dcatalina.home=/usr/tomcat"
jsvc.exec debug: |   "-Djava.io.tmpdir=/var/tmp"
jsvc.exec debug: |   "-verbose"
jsvc.exec debug: |   
"-Djava.class.path=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/tomcat/bin/commons-daemon.jar:/usr/tomcat/bin/bootstrap.jar"
jsvc.exec debug: | Class Invoked:   "org.apache.catalina.startup.Bootstrap"
jsvc.exec debug: | Class Arguments: 0
jsvc.exec debug: +-------------------------------------------------------
jsvc.exec debug: user changed to 'root'
jsvc.exec debug: User 'root' validated
jsvc.exec debug: Attempting to locate Java Home in /usr/java/j2sdk1.4.2_04
jsvc.exec debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/jre/lib/jvm.cfg
jsvc.exec debug: Attempting to locate VM configuration file 
/usr/java/j2sdk1.4.2_04/lib/jvm.cfg
jsvc.exec debug: VM configuration file not found
jsvc.exec debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/classic/libjvm.so
jsvc.exec debug: Attempting to locate VM library 
/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so
jsvc.exec debug: Java Home located in /usr/java/j2sdk1.4.2_04
jsvc.exec debug: +-- DUMPING JAVA HOME STRUCTURE ------------------------
jsvc.exec debug: | Java Home:       "/usr/java/j2sdk1.4.2_04"
jsvc.exec debug: | Java VM Config.: "null"
jsvc.exec debug: | Found JVMs:      1
jsvc.exec debug: | JVM Name:        "null"
jsvc.exec debug: |                  
"/usr/java/j2sdk1.4.2_04/jre/lib/i386/client/libjvm.so"
jsvc.exec debug: +-------------------------------------------------------
jsvc.exec debug: Running w/ 
LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_04/jre/lib/i386/client:/usr/java/j2sdk1.4.2_04/jre/lib/i386
jsvc.exec debug: redirecting stdout to /usr/tomcat/logs/catalina.out and stderr to &1

In the catalina.out, the following are the last few lines after startup:

INFO: Server startup in 0 ms
jsvc.exec debug: Daemon started successfully
jsvc.exec debug: Waiting for a signal to be delivered

Anyone have any ideas what I might be doing wrong?

Thanks,

Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to