Re: java.util.PropertyPermission

2006-07-25 Thread Ryan Daly
? -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 2:01 PM To: Tomcat Users List Subject: java.util.PropertyPermission All: I have started seeing problems with using the java.util.PropertyPermission setting in the catalina.policy file. I have

Re: java.util.PropertyPermission

2006-07-25 Thread Ryan Daly
java.vm.vendor, read; permission java.util.PropertyPermission java.vm.name, read; Which version are you using? -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 2:43 PM To: Propes, Barry L Subject: Re: java.util.PropertyPermission Well, I

Re: java.util.PropertyPermission

2006-07-25 Thread Ryan Daly
. Thank you. - Original Message - From: Ryan Daly [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Cc: Propes, Barry L [EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 3:34 PM Subject: Re: java.util.PropertyPermission I'm not following what you're suggesting

Re: Setting heap once the tomcat JVM is started

2006-07-24 Thread Ryan Daly
Martin Gainty wrote: Ryan-- Here is the policy setting I have in my %TOMCAT_HOME%/conf/catalina.policy // These permissions apply to the commons-logging API grant codeBase file:${catalina.home}/bin/commons-logging-api.jar { permission java.security.AllPermission; }; HTH, Martin

Security Manager

2006-07-21 Thread Ryan Daly
Has anyone seen any issues while running with the security manager and it complaining that it doesn't have permission to do something when in fact the permission is in the policy file? I'm seeing the following error Caused by: java.security.AccessControlException: access denied

RE: Run Tomcat in W2k3 as service

2006-03-26 Thread Ryan Daly
On Fri, 2006-03-24 at 09:42 -0500, Ryan Daly wrote: On Fri, 2006-03-24 at 08:27 -0600, Benjamin Armintor wrote: I'm not sure about Windows services specifically, but you can start the JVM with a security manager generically by using the -Djava.security.manager and -Djava.security.policy

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Thu, 2006-03-23 at 20:51 +, Nic Daniau wrote: You may need to reconfigure the service. Have a look to my post from a few min ago on *running two instances of tomcat* you can also update the service using e.g. %CATALINA_HOME%\bin\tomcat5.exe //US//Tomcat5 --Description My updated

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 13:38 +, Nic Daniau wrote: I wouldn't think so, these options are called when the service is launched so you would have to restart the service for this to be picked up. Right, I understand that I'll have to restart the service. But is that the way to get the service

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 13:55 +, Nic Daniau wrote: Not sure, TFM is a bit vague on this, it does not talk of the windows service. This must be one of the options, but which one?... StartMode? JvmOptions? I've never really spent a lot of time on the security manager, but I'm definitively

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 08:58 -0500, Ryan Daly wrote: I have an opportunity to take the site down in a few minutes. I'll quickly try setting that and post what I find. No good. If anyone comes across the proper options to do this, please post it to the list. Thanks

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 08:27 -0600, Benjamin Armintor wrote: I'm not sure about Windows services specifically, but you can start the JVM with a security manager generically by using the -Djava.security.manager and -Djava.security.policy=YOUR POLICY FILE URL java startup options. You can append

RE: Run Tomcat in W2k3 as service

2006-03-23 Thread Ryan Daly
On Wed, 2006-03-22 at 19:34 -0500, Tim Lucia wrote: You can specify parameters on the various tabs under the servicew app (the tray monitor). You probably want Startup in this case, so it would go alongside the start option. I did try that. However, each time I put something there, it

Run Tomcat in W2k3 as service

2006-03-22 Thread Ryan Daly
Has anyone successfully set environment variables for the Tomcat process when it's running as a service? Is it possible to start the service with the -security option, as in Linux? Thanks in advance. - To unsubscribe, e-mail:

Security manager issue

2005-12-07 Thread Ryan Daly
All: I have discovered the following in catalina.out: policy: reading file:/opt/tomcat/v5.5.12/logcom.dev.ctc.com/conf/catalina.policy policy: Adding policy entry: policy: signedBy null policy: codeBase file:/usr/java/jdk1.5.0_04/jre/lib/- policy: (java.security.AllPermission all

Permissions issues

2005-12-07 Thread Ryan Daly
All: I'm noticing something else strange. I'm attempting to bring up a web application using the Security Manager. I have the following coming up in my catalina.out log: access: access denied (java.lang.RuntimePermission getClassLoader) Yet, I have the following in my catalina.policy file: