Re: java.util.PropertyPermission

2006-07-26 Thread Ryan Daly
gt; addressed. If you have received this email message in error, please notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > - Original Message - > From: "Ryan Daly" <[EMAIL

Re: java.util.PropertyPermission

2006-07-25 Thread Ryan Daly
ssage in error, please notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > - Original Message - > From: "Ryan Daly" <[EMAIL PROTECTED]> > To: "Tomcat Users List" &g

Re: java.util.PropertyPermission

2006-07-25 Thread Ryan Daly
t;java.specification.vendor", > "read"; > permission java.util.PropertyPermission "java.specification.name", > "read"; > > permission java.util.PropertyPermission > "java.vm.specification.version", "read"; > pe

Re: java.util.PropertyPermission

2006-07-25 Thread Ryan Daly
bject or > not for that to work? > > -----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 usi

java.util.PropertyPermission

2006-07-25 Thread Ryan Daly
All: I have started seeing problems with using the java.util.PropertyPermission setting in the catalina.policy file. I have the following line: permission java.util.PropertyPermission "*", "read,write"; If that's in my policy entry for the specific web application, it does not get picked up. I

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; > }; > > HT

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 (java.io.FilePermi

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 > > &qu

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= URL>" java startup options. You can append these to

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 li

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 > definiti

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 servic

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 upd

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread Ryan Daly
On Thu, 2006-03-23 at 08:52 -0500, David Kerber wrote: > I believe you need the permission level which allows you to run as a > service, in order to change one. IIRC, this means either power user or > administrator permissions. I'm having the service log on as "tomcat". Are you saying the user

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:

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:

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 ) policy: p