** Changed in: tomcat6 (Ubuntu)
Status: Triaged = In Progress
** Changed in: tomcat6 (Ubuntu)
Assignee: (unassigned) = Thierry Carrez (ttx)
--
Tomcat security configuration error prevents proper logging when used with
Sun's JVM
https://bugs.launchpad.net/bugs/410379
You received
The right way of fixing this in packaging is to add
permission java.lang.RuntimePermission setContextClassLoader;
in the grant codeBase file:${catalina.home}/bin/tomcat-juli.jar { ...
} section of 03catalina.policy.
--
Tomcat security configuration error prevents proper logging when used with
To Joshua: The only (meaningful for this bug) difference running
apache.org tomcat instead of the Ubuntu packages is that you don't get a
security manager enabled by default, so you don't hit this bug and you
don't have to care about configuring policy files. If you don't care
about running with a
For what it's worth, you can apt-get install jsvc
and then use a simple init script to run apache.org tomcat
as tomcat user not root. We have been doing this for many
years to run tomcat and other custom java apps as
servers. A simple example jsvc init script is here:
I'm having this problem on Jaunty also.
--
Tomcat security configuration error prevents proper logging when used with
Sun's JVM
https://bugs.launchpad.net/bugs/410379
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
You may also put this in a file like /etc/tomcat6/policy.d/99custom-
fixes.policy :
grant codeBase file:${catalina.home}/bin/tomcat-juli.jar {
permission java.lang.RuntimePermission setContextClassLoader;
};
... does the job without too widely opening security.
--
Tomcat security
** Also affects: tomcat6 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: tomcat6 (Ubuntu)
Status: New = Triaged
** Changed in: tomcat6 (Ubuntu)
Importance: Undecided = Low
--
Tomcat security configuration error prevents proper logging when used with
Sun's JVM