[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-12-14 Thread Thierry Carrez
** 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

[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-11-30 Thread Thierry Carrez
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

[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-10-14 Thread Thierry Carrez
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

[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-10-13 Thread Joshua Daniel Franklin
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:

[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-10-12 Thread Brazen
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. --

[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-09-30 Thread RĂ©gis Desgroppes
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

[Bug 410379] Re: Tomcat security configuration error prevents proper logging when used with Sun's JVM

2009-09-24 Thread Thierry Carrez
** 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