It showed what I expected.
The problem is that tomcat is started in another shell.
This new shell doesn't have its parent's environment variables, only the ones set globally.
Bye,
Giorgio
Nathan Mcminn wrote:
I don't think that is the problem. The startup script has no problem reading JAVA_HOME or CATALINA_HOME. It is only after bootstrap.jar is executed and the server.xml file is read that the problem occurs. It is almost like the classloader that is being used cannot see catalina.jar in /server/lib. Is there any way to determine what classpaths are available to the classloader at that point?
--------------------------------------------
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com
-----Original Message-----
From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 10:42 AM
To: Tomcat Users List
Subject: Re: Tomcat won't start
I have had a similar problema, but on win XP. The problem was due to the fact that I had set the JAVA_HOME and the CATALINA_HOME as session variable and not like system ones.
Don't know if this is the case, but....
Good luck!
Giorgio
Nathan Mcminn wrote:
The problem posted below appears to be caused by Tomcat notbeing able
to find catalina.jar. This file should be (and is) located in catalina_home/server/lib. Anybody know why Tomcat wouldhave problems
finding it?---------
One of our servers running Tomcat as started experiencing an
odd problem. Tomcat will not start, it is complaining about not being able to find some classes. The problem started shortly after applying some updates using YAST. The exception it throws is shown below. We are running Tomcat 4.1.24 on JDK 1.4.1-b21 on SUSE 8. We have another server with a very similar config that works perfectly (only difference is the distribution it runs on, RH vs SUSE) I have checked CATALINA_HOME and JAVA_HOME and they both point to the correct locations. I modified catalina.sh to display the CLASSPATH it uses when starting catalina and included it as well. There are a couple references to this problem in the mailing list archives, but it was never answered.
JAVA_HOME=/usr/lib/java CATALINA_HOME=/opt/jakarta CLASSPATH=/usr/lib/java/lib/tools.jar:/opt/jakarta/bin/bootstrap.jar
Any ideas?
ERROR reading /opt/jakarta/conf/server.xml At Line 5 /Server/Listener/ className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0
Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.mbeans.ServerLifecycleListener
java.lang.ClassNotFoundException: org.apache.catalina.mbeans.ServerLifecycleListener
--------------------------------------------
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED] > http://www.NequalsOne.com
------------------------------------------------------------
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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
