tomcat5.5 failed when started via daemon for a particular application, but work when using catalina.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat5.5 (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
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:/
I found this:
tomcat5.5 (5.5.20-3) experimental; urgency=low
* Really fix the "/etc/init.
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/
to the more intuitive JAVA_OPTS.
-- Marcus Better <email address hidden> Sat, 25 Nov 2006 21:20:18 +0100
If I use /etc/init.
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/share/
Than my application works fine at http://
In the end, the deamon is executing this command:
/usr/bin/jsvc -cp /usr/share/
and catalina.sh is doing:
/usr/lib/
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/
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/zsh
SourcePackage: tomcat5.5
Uname: Linux 2.6.28-15-generic i686
One important difference is that the initscript makes it run with a security manager by default: security. manager -Djava. security. policy= /var/lib/ tomcat5. 5/conf/ catalina. policy
-Djava.
Try running with TOMCAT5_SECURITY=no in /etc/default/ tomcat5. 5 and see if it works.