tomcat fails to start using a security manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Debian) |
Fix Released
|
Unknown
|
|||
tomcat6 (Ubuntu) |
Fix Released
|
High
|
Thierry Carrez | ||
Lucid |
Fix Released
|
High
|
Thierry Carrez |
Bug Description
Binary package hint: tomcat6
Using tomcat6 package version 6.0.24-2ubuntu, after editing /etc/default/
Using CATALINA_BASE: /var/lib/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /tmp/tomcat6-tmp
Using JRE_HOME: /usr/lib/
Using CLASSPATH: /usr/share/
Using Security Manager
Exception in thread "main" java.lang.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
Caused by: java.security.
at java.security.
at java.security.
at java.lang.
at java.lang.
at java.lang.
at org.apache.
... 4 more
Could not find the main class: org.apache.
The problem is that -Djava.
To fix this, I suggest patching catalina.sh to change 'conf/catalina.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: tomcat6 6.0.24-2ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelMo
Architecture: i386
Date: Thu Jun 10 01:14:40 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: tomcat6
== SRU Report ==
Impact:
Regression for users of TOMCAT6_
Development branch fix:
6.0.26-4 has this fix, and a sync request to 6.0.26-5 was filed (bug 599265)
Minimal patch:
See attached at comment 9.
TEST CASE:
$ sudo apt-get install tomcat6
$ sudo sed -i "s/#TOMCAT6_
$ sudo service tomcat6 restart
Affected = FAIL
Fixed = PASS
Regression potential:
The patch only affects the options used when TOMCAT6_
CVE References
tags: | added: patch |
tags: | added: patch-forwarded-debian |
Changed in tomcat6 (Debian): | |
status: | Unknown → New |
Changed in tomcat6 (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in tomcat6 (Debian): | |
status: | New → Fix Released |
Changed in tomcat6 (Ubuntu Lucid): | |
status: | Triaged → In Progress |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
I've confirmed using 6.0.24-2ubuntu1 on 10.04