Public bug reported: Binary package hint: tomcat5.5
I am using Ubuntu 9.04 with tomcat 5.5.26-5ubuntu You can find the application I am working on at https://cselnx4.dl.ac.uk/download I found this: tomcat5.5 (5.5.20-3) experimental; urgency=low * Really fix the "/etc/init.d/tomcat5.5 status" command this time. (Closes: #398044) * Use jsvc for daemon startup, instead of the catalina.sh script. Daemon shutdown is now faster and more reliable. * Add missing permissions required by the admin webapp. Thanks to Jonathan-Marc Lapointe. * The CATALINA_OPTS variable in /etc/default/tomcat5.5 has been renamed to the more intuitive JAVA_OPTS. -- Marcus Better <[email protected]> Sat, 25 Nov 2006 21:20:18 +0100 If I use /etc/init.d/tomcat5.5 start than my application returns (at http://localhost:8180/pims/): HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/5.5 If I use, as root: export JAVA_HOME=/usr/lib/jvm/java-6-sun /usr/share/tomcat5.5/bin/catalina.sh start Than my application works fine at http://localhost:8180/pims/ In the end, the deamon is executing this command: /usr/bin/jsvc -cp /usr/share/java/commons- daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat5.5.pid -XX:MaxPermSize=512m -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -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.security.manager -Djava.security.policy=/var/lib/tomcat5.5/conf/catalina.policy -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 and catalina.sh is doing: /usr/lib/jvm/java-6-sun/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/usr/share/tomcat5.5/conf/logging.properties -Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed -classpath :/usr/share/tomcat5.5/bin/bootstrap.jar:/usr/share/tomcat5.5/bin /commons-logging-api.jar -Dcatalina.base=/usr/share/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5 -Djava.io.tmpdir=/usr/share/tomcat5.5/temp org.apache.catalina.startup.Bootstrap start I frankly have no further idea of why the deamon command doesn't work and I sincerely appreciate any help here. Cheers, Alan ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 Package: tomcat5.5 5.5.26-5ubuntu1 [modified: usr/share/tomcat5.5/bin/catalina.sh] PackageArchitecture: all ProcEnviron: PATH=(custom, user) LANG=en_GB.UTF-8 SHELL=/bin/zsh SourcePackage: tomcat5.5 Uname: Linux 2.6.28-15-generic i686 ** Affects: tomcat5.5 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- tomcat5.5 failed when started via daemon for a particular application, but work when using catalina.sh https://bugs.launchpad.net/bugs/427394 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
