Re: webapps examples and security manager

2009-09-24 Thread Pid
On 24/09/2009 15:19, Alan wrote: Well, I'll try to make it clearer: Situation: Ubuntu 9.04 with SUN Java 1.6 and tomcat 5.5.26 with security mode (default in Debian/Ubuntu). Testing tomcat-webapps examples. A clean install and everything seems to work, except that nothing is written in /var/lo

Re: webapps examples and security manager

2009-09-24 Thread Alan
Well, I'll try to make it clearer: Situation: Ubuntu 9.04 with SUN Java 1.6 and tomcat 5.5.26 with security mode (default in Debian/Ubuntu). Testing tomcat-webapps examples. A clean install and everything seems to work, except that nothing is written in /var/log/tomcat5.5 To solve this issue, I

Re: webapps examples and security manager

2009-09-24 Thread Pid
On 24/09/2009 14:11, Alan wrote: Hallelujah! I finally figured out what's going on with tomcat 5.5.26 when running webapps in security mode. In Ubuntu 9.04, with just the addition of 'permission java.lang.RuntimePermission "setContextClassLoader";' in catalina.policy solved the problem. This is

Re: webapps examples and security manager

2009-09-24 Thread Alan
Hallelujah! I finally figured out what's going on with tomcat 5.5.26 when running webapps in security mode. In Ubuntu 9.04, with just the addition of 'permission java.lang.RuntimePermission "setContextClassLoader";' in catalina.policy solved the problem. This is happen because ubuntu has its own

Re: webapps examples and security manager

2009-09-23 Thread Alan
Many thanks dear Mark. It's late here too but I finally, with your diligent and precious help, I could figure out what's going on here and even manage to have tomcat with security working for tomcat6.0.20 and tomcat5.5.28 (but not for tomcat5.5.26, last version available for Mac via Fink). Thank

Re: webapps examples and security manager

2009-09-23 Thread Mark Thomas
Mark Thomas wrote: > Mark Thomas wrote: >> Alan wrote: >>> Thanks Mark, let's deal by parts: >> OK. I've reproduced it. It is happening with 1.6.0_14 and 1.6.0_16 JVMs >> but not a 1.6.0_00 JVM. >> >> The latest 1.5 JVM seems OK too. >> >> Time to check the release notes. I'll hopefully have a work

Re: webapps examples and security manager

2009-09-23 Thread Mark Thomas
Mark Thomas wrote: > Alan wrote: >> Thanks Mark, let's deal by parts: > > OK. I've reproduced it. It is happening with 1.6.0_14 and 1.6.0_16 JVMs > but not a 1.6.0_00 JVM. > > The latest 1.5 JVM seems OK too. > > Time to check the release notes. I'll hopefully have a workaround (other > than usi

Re: webapps examples and security manager

2009-09-23 Thread Mark Thomas
Alan wrote: > Thanks Mark, let's deal by parts: OK. I've reproduced it. It is happening with 1.6.0_14 and 1.6.0_16 JVMs but not a 1.6.0_00 JVM. The latest 1.5 JVM seems OK too. Time to check the release notes. I'll hopefully have a workaround (other than using Java 1.5) shortly. Mark --

Re: webapps examples and security manager

2009-09-23 Thread Alan
Thanks Mark, let's deal by parts: On Wed, Sep 23, 2009 at 16:33, Mark Thomas wrote: > Alan wrote: >> Ok, I downloaded the latest and did: >> >> wget -c >> http://mirror.ox.ac.uk/sites/rsync.apache.org/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.tar.gz >> tar xvfz apache-tomcat-5.5.28.tar.gz

Re: webapps examples and security manager

2009-09-23 Thread Mark Thomas
Alan wrote: > Ok, I downloaded the latest and did: > > wget -c > http://mirror.ox.ac.uk/sites/rsync.apache.org/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.tar.gz > tar xvfz apache-tomcat-5.5.28.tar.gz # gnu tar What is going on here? Which version of Tomcat are you using? > cd ~/Programmes

Re: webapps examples and security manager

2009-09-23 Thread Alan
er? How to tweak catalina.policy in order to not see all this issues in log? Many thanks in advance, Alan On Tue, Sep 22, 2009 at 18:49, Caldarale, Charles R wrote: >> From: Alan [mailto:alanwil...@gmail.com] >> Subject: Re: webapps examples and security manager >> >> N

RE: webapps examples and security manager

2009-09-22 Thread Caldarale, Charles R
> From: Alan [mailto:alanwil...@gmail.com] > Subject: Re: webapps examples and security manager > > Not yet, which one would suggest me please? The latest, always (6.0.20). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for

Re: webapps examples and security manager

2009-09-22 Thread Alan
Thanks for your reply. Not yet, which one would suggest me please? Alan On Tue, Sep 22, 2009 at 17:27, Mark Thomas wrote: > Alan wrote: > >> Any help would be more than appreciated. > > And when you try with a more recent version? > > Mark > > > > >

Re: webapps examples and security manager

2009-09-22 Thread Mark Thomas
Alan wrote: > Any help would be more than appreciated. And when you try with a more recent version? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache