Package: tomcat5.5 Version: 5.5.26-1 --- Please enter the report below this line. ---
Just want to confirm this bug, since apperently I was not quick enough to report it. In the following some thoughts about it. But you probably got it all sorted already. If so, just ignore this comment... Suggested Bugfix: I fixed the bug by adding an appropriate entry for "commons-logging-api.jar" to the CLASSPATH of jsvc. Hence I changed line 122 of "/etc/init.d/tomcat5.5" to: JSVC_CLASSPATH="/usr/share/java/commons-daemon.jar: $CATALINA_HOME/bin/bootstrap.jar: $CATALINA_HOME/bin/commons-logging-api.jar" (Linebreaks added for the sake of clarity. In the original file this is all on one line, with no whitespace in between.) Additional Information: Even before I fixed the bug the init script would always print: * Starting Tomcat servlet engine tomcat5.5 [ ok ] Apparently, it prints that right after the Tomcat daemon is forked with jsvc. However, Tomcat always crashed at startup and never actually was "up". Maybe, the init script should wait until Tomcat is in an "up" state before exiting. It should issue an error message if Tomcat crashes during startup. (I had to read the syslog to figure out what was wrong.) Is there a way jsvc could be used to achieve that? How do other services do it? I noticed that there are even more JAR files in "$CATALINA_HOME/bin/". However, Tomcat only seems to require those mentioned above for startup. Don't know what the others are for. Maybe "/etc/default/tomcat5.5" could be used to integrate those and other jars, when needed. It could setup a CLASSPATH variable for Tomcat startup that would be used be the init script. -- Michael Riedel --- System information. --- Architecture: amd64 Kernel: Linux 2.6.24-1-amd64 Debian Release: lenny/sid 500 testing www.debian-multimedia.org 500 testing security.debian.org 500 testing ftp.nz.debian.org --- Package information. --- Depends (Version) | Installed ================================================-+-========================= java-gcj-compat-dev (>= 1.0.30-5) | OR java2-runtime | libtomcat5.5-java (>= 5.5.26-1) | 5.5.26-1 adduser (>= 3.34) | 3.107 libecj-java | 3.3.0+0728-8 jsvc (>= 1.0.2~svn20061127-6) | 1.0.2~svn20061127-6 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]