Tomcat Security Limitation

2012-10-10 Thread Mouradk
Hello, I am running a servlet that reads and writes to an remote instance of = Hbase/Hadoop on ec2. When the security manager is off, all is fine. But = when the manager is on, write and read operations fail. I have the following permissions on my 04webapps.policy file: permission

Re: Tomcat Security Limitation

2012-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mouradk, On 10/10/12 7:49 AM, Mouradk wrote: I am running a servlet that reads and writes to an remote instance of = Hbase/Hadoop on ec2. When the security manager is off, all is fine. But = when the manager is on, write and read operations fail.

Re: Tomcat Security Limitation

2012-10-10 Thread Mouradk
Hi Chris, I am using Tomcat6 on ubuntu 10.10. I suppose when you say CATALINA_OPTS you mean that in /usr/share/tomcat6/bin/catalina.sh . I have added this as such: CATALINA_OPTS=$CATALINA_OPTS $JPDA_OPTS, -Djava.security.debug=all I have also set the logging level to FINE in

Re: Tomcat Security Limitation

2012-10-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mouradk, On 10/10/12 7:49 AM, Mouradk wrote: I am running a servlet that reads and writes to an remote instance of = Hbase/Hadoop on ec2. When the security manager is off, all is fine. But = when the manager is on, write

Re: Tomcat Security Limitation

2012-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mouradk, On 10/10/12 10:04 AM, Mouradk wrote: I am using Tomcat6 on ubuntu 10.10. I suppose when you say CATALINA_OPTS you mean that in /usr/share/tomcat6/bin/catalina.sh . It would be better to use CATALINA_BASE/bin/setenv.sh so you don't have

Re: [OT] Tomcat Security Limitation

2012-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/10/12 10:05 AM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mouradk, On 10/10/12 7:49 AM, Mouradk wrote: I am running a servlet that reads and writes to an remote instance of =

Re: Tomcat Security Limitation

2012-10-10 Thread André Warnier
Mouradk wrote: Hi Chris, I am using Tomcat6 on ubuntu 10.10. I suppose when you say CATALINA_OPTS you mean that in /usr/share/tomcat6/bin/catalina.sh . I have added this as such: CATALINA_OPTS=$CATALINA_OPTS $JPDA_OPTS, -Djava.security.debug=all I have also set the logging level to FINE in

Re: Tomcat Security Limitation

2012-10-10 Thread Mouradk
Dear all, Thanks all for your reply. I managed to get the debug logs on and those logs of interest were set to WARN (warnings), they gave me an indication to the required security settings and I finally got it to work !! I am experiencing another problem now. But at least I got Tomcat security

Re: Tomcat Security Limitation

2012-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mourad, On 10/10/12 12:35 PM, Mouradk wrote: Thanks all for your reply. I managed to get the debug logs on and those logs of interest were set to WARN (warnings), they gave me an indication to the required security settings and I finally got it