Tomcat does not like to have CLASSPATH set.  It basically ignores it, except it 
sometimes doesn't, then crashes.  This almost qualifies as a FAQ (actually 
maybe it is someplace).

I am not familiar with jmx.jar.  If it is something you use for one application 
it should be in the .war file (and thus get put into the directory of the 
deployed application).  If it is something that you want many applications to 
use it needs to go into one of the tomcat common directories.  The directory 
location depends on the version of Tomcat, so you will need to check out the 
documentation for the version you are using.

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Mrohs, Ray
Sent: Thursday, August 30, 2007 7:08 AM
To: [email protected]
Subject: Tomcat startup


Hi,
We began testing Tomcat 5 a few weeks ago. It starts OK when I'm logged
in and I use '/etc/init.d/tomcat5 start'. However there is a problem
when starting during the boot process. From what I can tell in the logs,
it can't find jmx.jar which is normally part of the CLASSPATH
definition. I set CLASSPATH in profile.local.

I tried running 'sh /etc/profile.local' after boot.local and before
Tomcat is supposed to start, but CLASSPATH still doesn't show up in env.
I tried starting Tomcat via Yast, chkconfig, and the above command from
my local /config setup, with the same result. I'm hoping there's a
simple answer to this?      



Ray Mrohs
U.S. Department of Justice
202-307-6896
 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to