Sorry I meant $CATALINA_BASE/logs/catalina.out. -----Original Message----- From: Trice, Jim [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 2:46 PM To: Tomcat Users List Subject: RE: Help !!! Tomcat 5.5.7 - cannot start
Look in $CATALINA_BASE/catalina.out for the startup error. The script redirects STDOUT and STDERR on startup but not shutdown. JT -----Original Message----- From: Parveen Pasha [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 1:48 PM To: Tomcat Users List; Robert Harrison Subject: Re: Help !!! Tomcat 5.5.7 - cannot start I am installing all this for the first time. Where do you set the classpath, to include the catalina.jar? How do I know if tomcat is running? ps -ef | grep tomcat yields the same result. Do not see any pid the output is a set of paths that has tomcat in it. $JAVA_HOME and $CATLINA_HOME are set correctly. I may have said it wrong that it is during startup I get the error. It is actually during execution of shutdown.sh. Sorry about that. When I do: su - tomcat -c /usr/local/tomcat/jakarta-tomcat-5.5.7/bin/startup.sh I get: Using CATALINA_BASE: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_HOME: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_TMPDIR: /usr/local/tomcat/jakarta-tomcat-5.5.7/temp Using JRE_HOME: /usr/java/jdk1.5.0_02 [EMAIL PROTECTED] ~]# su - tomcat -c /usr/local/tomcat/jakarta-tomcat-5.5.7/bin/shutdown.sh I get: Using CATALINA_BASE: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_HOME: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_TMPDIR: /usr/local/tomcat/jakarta-tomcat-5.5.7/temp Using JRE_HOME: /usr/java/jdk1.5.0_02 java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:198) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:386) --- Robert Harrison <[EMAIL PROTECTED]> wrote: > Does "echo $JAVA_HOME" show it set correctly? > Bob > > On Apr 8, 2005 1:28 PM, Anoop kumar V > <[EMAIL PROTECTED]> wrote: > > Just make sure you have included catalina.jar file > in the classpath. > > > > -Anoop > > > > On Apr 8, 2005 1:23 PM, Parveen Pasha > <[EMAIL PROTECTED]> wrote: > > > Using Tomcat 5.5 + Fedora Core 3 + jdk1.5.02 > > > > > > Changed the port to 8090 from the default 8080 > > > port in server.xml. > > > > > > Did not install the runtime environment. only > > > installed jdk1.5.02 using the > > > rpm -iv jdk-1_5_0_02-linux-i586-rpm > > > > > > When I execute the startup.sh script, I receive > the > > > following error in Catalina.out > > > > > > java.lang.ClassNotFoundException: > > > org.apache.catalina.startup.Catalina > > > at > > > > java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > > at > > > > java.security.AccessController.doPrivileged(Native > > > Method) > > > at > > > > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > > at > > > > java.lang.ClassLoader.loadClass(ClassLoader.java:306) > > > at > > > > java.lang.ClassLoader.loadClass(ClassLoader.java:251) > > > at > > > > org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:198) > > > at > > > > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:386) > > > > > > Cannot view the default web applications > included with > > > Tomcat when accessing via http://localhost:8090 > > > > > > I receive the following message: The page cannot > be > > > displayed. > > > > > > I did not find any solution on the Web. Can > someone > > > help. > > > > > > Thanks! Thanks! ............ > > > > > > Parveen > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > -- > > Thanks and best regards, > > Anoop > > > > > --------------------------------------------------------------------- > > 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]