Good Day All, I installed tomcat5.5.26-1on testing and unstable and the startup script (/etc/init.d/tomcat5.5) doesn't start tomcat and exits without output in the log or at console. I started with a fresh install of debian testing I know this method of starting tomcat works with tomcat5.5.20-2etch2 there are too many differences that I can't decipher between the startup scripts of the two versions for me to fix it myself.
Any info or suggestions would be greatly appreciated, thank you for your time and effort! I had read in a post about troubleshooting a similar problem to run "bash -x /etc/init.d/tomcat5.5" to get more info. Here's the output of that command: ha-test2:/usr/share/tomcat5.5/bin# bash -x /etc/init.d/tomcat5.5 start + set -e + PATH=/bin:/usr/bin:/sbin:/usr/sbin + NAME=tomcat5.5 + DESC='Tomcat servlet engine' + DAEMON=/usr/bin/jsvc + CATALINA_HOME=/usr/share/tomcat5.5 + DEFAULT=/etc/default/tomcat5.5 ++ id -u + '[' 0 -ne 0 ']' + '[' -r /etc/default/locale ']' + . /etc/default/locale ++ LANG=en_US.UTF-8 + export LANG + . /lib/lsb/init-functions ++ FANCYTTY= ++ '[' -e /etc/lsb-base-logging.sh ']' ++ true + . /etc/default/rcS ++ TMPTIME=0 ++ SULOGIN=no ++ DELAYLOGIN=no ++ UTC=yes ++ VERBOSE=no ++ FSCKFIX=no ++ RAMRUN=no ++ RAMLOCK=no + TOMCAT5_USER=tomcat55 + JDK_DIRS='/usr/lib/jvm/java-6-sun /usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.5-ibm /usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-blackdown /usr/lib/j2se/1.4 /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.3-sun /usr/lib/j2sdk1.3-blackdown /usr/lib/jvm/java-gcj /usr/lib/kaffe' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/jvm/java-6-sun/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/jvm/java-1.5.0-sun/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2sdk1.5-sun/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2sdk1.5-ibm/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2sdk1.4-sun/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2sdk1.4-blackdown/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2se/1.4/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2sdk1.4-ibm/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2sdk1.3-sun/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/j2sdk1.3-blackdown/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/jvm/java-gcj/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + for jdir in '$JDK_DIRS' + '[' -r /usr/lib/kaffe/bin/java -a -z /usr/lib/jvm/java-1.5.0-sun ']' + export JAVA_HOME + CATALINA_BASE=/var/lib/tomcat5.5 + TOMCAT5_SECURITY=no + TOMCAT5_SHUTDOWN=30 + '[' -f /etc/default/tomcat5.5 ']' + . /etc/default/tomcat5.5 + test -f /usr/bin/jsvc + '[' -z tomcat55 ']' + gij=no + /usr/lib/jvm/java-1.5.0-sun/bin/java -version + grep -q '^gij (GNU libgcj)' + '[' no = yes ']' + '[' -z '' ']' + JAVA_OPTS='-Djava.awt.headless=true -Xmx128M' + JAVA_OPTS='-Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed -Dcatalina.base=/var/lib/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5 -Djava.io.tmpdir=/var/lib/tomcat5.5/temp' + '[' -n '' ']' + '[' no = yes ']' + '[' no '!=' yes ']' + JAVA_OPTS='-Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed -Dcatalina.base=/var/lib/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5 -Djava.io.tmpdir=/var/lib/tomcat5.5/temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat5.5/conf/logging.properties' + CATALINA_PID=/var/run/tomcat5.5.pid + BOOTSTRAP_CLASS=org.apache.catalina.startup.Bootstrap + JSVC_CLASSPATH=/usr/share/java/commons-daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar + '[' -z '' -a -r /usr/lib/jvm/java-1.5.0-sun/jre/lib/jsse.jar ']' + JSSE_HOME=/usr/lib/jvm/java-1.5.0-sun/jre/ + export JSSE_HOME + case "$1" in + '[' -z /usr/lib/jvm/java-1.5.0-sun ']' + '[' '!' -d /var/lib/tomcat5.5/conf ']' + log_daemon_msg 'Starting Tomcat servlet engine' tomcat5.5 + '[' -z 'Starting Tomcat servlet engine' ']' + '[' -z tomcat5.5 ']' + echo -n 'Starting Tomcat servlet engine: tomcat5.5' Starting Tomcat servlet engine: tomcat5.5+ start-stop-daemon --test --start --pidfile /var/run/tomcat5.5.pid --user tomcat55 --startas /usr/lib/jvm/java-1.5.0-sun/bin/java + rm -f /var/lib/tomcat5.5/conf/catalina.policy + umask 022 + echo '// AUTO-GENERATED FILE -- DO NOT EDIT!' + echo '// Edit the files in /etc/tomcat5.5/policy.d/ instead' + echo '' + cat /etc/tomcat5.5/policy.d/01system.policy /etc/tomcat5.5/policy.d/02debian.policy /etc/tomcat5.5/policy.d/03catalina.policy /etc/tomcat5.5/policy.d/04webapps.policy /etc/tomcat5.5/policy.d/10admin.policy /etc/tomcat5.5/policy.d/50user.policy + find /var/lib/tomcat5.5/temp/ -mindepth 1 -exec rm -fr '{}' + + REQUIRED_FILES='"$CATALINA_BASE/conf" "$CATALINA_BASE/logs" "$CATALINA_BASE/temp" "$CATALINA_BASE/webapps" "$CATALINA_BASE/work"' + '[' -e /var/lib/tomcat5.5/conf/tomcat-users.xml ']' + REQUIRED_FILES='"$CATALINA_BASE/conf" "$CATALINA_BASE/logs" "$CATALINA_BASE/temp" "$CATALINA_BASE/webapps" "$CATALINA_BASE/work" "$CATALINA_BASE/conf/tomcat-users.xml"' + eval chown --dereference tomcat55 '"$CATALINA_BASE/conf"' '"$CATALINA_BASE/logs"' '"$CATALINA_BASE/temp"' '"$CATALINA_BASE/webapps"' '"$CATALINA_BASE/work"' '"$CATALINA_BASE/conf/tomcat-users.xml"' ++ chown --dereference tomcat55 /var/lib/tomcat5.5/conf /var/lib/tomcat5.5/logs /var/lib/tomcat5.5/temp /var/lib/tomcat5.5/webapps /var/lib/tomcat5.5/work /var/lib/tomcat5.5/conf/tomcat-users.xml + cd /var/lib/tomcat5.5/temp + /usr/bin/jsvc -user tomcat55 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat5.5.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed -Dcatalina.base=/var/lib/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5 -Djava.io.tmpdir=/var/lib/tomcat5.5/temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat5.5/conf/logging.properties org.apache.catalina.startup.Bootstrap + log_end_msg 0 + '[' -z 0 ']' + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + '[' -t 1 ']' + '[' xxterm '!=' '' ']' + '[' xxterm '!=' xdumb ']' + '[' -x /usr/bin/tput ']' + '[' -x /usr/bin/expr ']' + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + '[' -z ']' + FANCYTTY=1 + case "$FANCYTTY" in + true ++ /usr/bin/tput setaf 1 + RED='' ++ /usr/bin/tput op + NORMAL='' + '[' 0 -eq 0 ']' + echo . . + return 0 + exit 0
_______________________________________________ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers