Thanks for the reply Yoav.  I didn't even realize there were two shell scripts 
available.  I just compared Tomcat5.sh to the original that I modified, and they're 
the same.  

Luckily, just a few minutes ago, I found the problem.  It was permissions.  I allowed 
more broad permissions to the Tomcat directory structure and things started up 
beautifully.

Thanks for the help.

Tim


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 7:57 AM
To: Tomcat Users List
Subject: RE: JSVC problem on Linux with Tomcat 5



Hi,
Did you try using Tomcat5.sh instead of tomcat.sh (same directory, the
latter is for tomcat4)?

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Solley, Tim [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 03, 2004 5:11 PM
>To: Tomcat Users List
>Subject: RE: JSVC problem on Linux with Tomcat 5
>
>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/
comm
>ons-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/j
2sdk
>1.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/
comm
>ons-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/j
2sdk
>1.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]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
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