Date sent: Thu, 19 Jun 2008 11:52:59 +0100 From: jan <[EMAIL PROTECTED]> Subject: A few questions To: Tomcat Users List <users@tomcat.apache.org> Send reply to: Tomcat Users List <users@tomcat.apache.org>
> The answer to these questions are quite possibly annoyingly obvious, > but I haven't been able to find them in the User Guide. > > 1. What is the proper way of shutting down tomcat? I start it with > what I have found in the user guide: > > export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13 > /u01/tomcat/apache-tomcat-5.5.26/bin/jsvc \ > -Djava.endorsed.dirs=/u01/tomcat/apache-tomcat-5.5.26/common/endorse > d \ -cp /u01/tomcat/apache-tomcat-5.5.26/bin/bootstrap.jar -outfile > \ /u01/tomcat/apache-tomcat-5.5.26/logs/catalina.out -errfile \ > /u01/tomcat/apache-tomcat-5.5.26/logs/catalina.err \ > org.apache.catalina.startup.Bootstrap > > This works fine, but when I kill the process and try to restart, it > won't - it complains: > > java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina > I'm not sure how you're exactly stopping tomcat and when you are restarting Tomcat if it's starting the same way as if it was first started but here are a couple of tips I could think of. Try to use the Tomcat5.sh script that jsvc comes with (when you extract the src for jsvc it comes with startup scripts in the "native" directory. When restarting maybe one of your env vars is getting trashed, try to determine the value of CATALINA_HOME. > Why does that happen? And how can I avoid it? > > 2. On the "front page", when I get the server to run, there is a link > to an administration package that I am supposed to download from > somewhere. Is there a standard place to find these things? > Yes, "Administration Web Application" at http://tomcat.apache.org/download-55.cgi -Steve O. > /jan > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] For additional commands, > e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]