RE: Exception while running web application with Tomcat security manager enabled
> From: Vijayaraghavan Amirisetty > [mailto:[EMAIL PROTECTED] > Subject: Re: Exception while running web application with > Tomcat security manager enabled > > Does the Tomcat Security Manager use any > native libraries for it's operations? No. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Exception while running web application with Tomcat security manager enabled
Adding some more findings.-The java.security.AccessController.doPrivileged(AccessController.java:147) is a native method. -Using java 1.5.0 to start the tomcat with Security Manager enabled works fine. Figuring out what has changed in java.security across 1.4.2 and 1.5 On Thu, Oct 9, 2008 at 4:55 AM, Vijayaraghavan Amirisetty < [EMAIL PROTECTED]> wrote: > Hi Charles, > The additional > > > > On Thu, Oct 9, 2008 at 1:49 AM, Caldarale, Charles R < > [EMAIL PROTECTED]> wrote: > >> > From: Vijayaraghavan Amirisetty >> > [mailto:[EMAIL PROTECTED] >> > Subject: Exception while running web application with Tomcat >> > security manager enabled >> > >> > I am trying to run a simple webapp on tomcat 5.0 >> >> The 5.0 branch is no longer supported; can you try it on 5.5 or 6.0? > > > I tried it on 5.5.23 and it worked fine. But I need to make it work on > Tomcat 5.0 as it is a production setup and I cannot change the Tomcat > setup. > > >> >> > i.e with the additional options -Djava.security.manager >> > -Djava.security.policy=%CATALINA_BASE%\conf\catalina.policy >> >> > I am trying running tomcat on Lin 64 an the Java version is 1.4.2 >> >> If you're on Linux, why does the path to the policy file have back slashes >> in it? > > > > aah .. This was for windows.. For linux I am using > > -Djava.security.manager \ > -Djava.security.policy="${CATALINA_BASE}/conf/catalina.policy" \ > > > Still trying to figure it out .. Does the Tomcat Security Manager use any > native libraries for it's operations? > > >> - Chuck >> >> >> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY >> MATERIAL and is thus for use only by the intended recipient. If you received >> this in error, please contact the sender and delete the e-mail and its >> attachments from all computers. >> >> - >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > >
Re: Exception while running web application with Tomcat security manager enabled
Hi Charles, The additional On Thu, Oct 9, 2008 at 1:49 AM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Vijayaraghavan Amirisetty > > [mailto:[EMAIL PROTECTED] > > Subject: Exception while running web application with Tomcat > > security manager enabled > > > > I am trying to run a simple webapp on tomcat 5.0 > > The 5.0 branch is no longer supported; can you try it on 5.5 or 6.0? I tried it on 5.5.23 and it worked fine. But I need to make it work on Tomcat 5.0 as it is a production setup and I cannot change the Tomcat setup. > > > i.e with the additional options -Djava.security.manager > > -Djava.security.policy=%CATALINA_BASE%\conf\catalina.policy > > > I am trying running tomcat on Lin 64 an the Java version is 1.4.2 > > If you're on Linux, why does the path to the policy file have back slashes > in it? aah .. This was for windows.. For linux I am using -Djava.security.manager \ -Djava.security.policy="${CATALINA_BASE}/conf/catalina.policy" \ Still trying to figure it out .. Does the Tomcat Security Manager use any native libraries for it's operations? > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: Exception while running web application with Tomcat security manager enabled
> From: Vijayaraghavan Amirisetty > [mailto:[EMAIL PROTECTED] > Subject: Exception while running web application with Tomcat > security manager enabled > > I am trying to run a simple webapp on tomcat 5.0 The 5.0 branch is no longer supported; can you try it on 5.5 or 6.0? > i.e with the additional options -Djava.security.manager > -Djava.security.policy=%CATALINA_BASE%\conf\catalina.policy > I am trying running tomcat on Lin 64 an the Java version is 1.4.2 If you're on Linux, why does the path to the policy file have back slashes in it? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]