Re: Run Tomcat in W2k3 as service

2006-04-10 Thread wolfperkins
Not sure about your tomcat version but under 4.1 the settings may be added in the registry under: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters] add the following keys: "JVM Option Number 4"="-Xms512m" "JVM Option Number 5"="-Xms512m" and modify the jvm optio

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.p

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Thomas Bolding
s 2006 15:49 To: Tomcat Users List Subject: RE: Run Tomcat in W2k3 as service Yes indeed and its quite easy! If you're running it as a service (either installed the exe or ran the "service install ..." from the zip version) you will have a [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Thomas Bolding
Yes indeed and its quite easy! If you're running it as a service (either installed the exe or ran the "service install ..." from the zip version) you will have a [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters] in your registry (where Tomcat5 is the name give

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 Benjamin Armintor
iginal Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 8:14 AM To: Nic Daniau Cc: Tomcat Users List Subject: Re: Run Tomcat in W2k3 as service 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&#

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 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 Nic Daniau
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. On 24/03/06, Ryan Daly <[EMAIL PROTECTED]> wrote: > > On Thu, 2006-03-23 at 20:51 +, Nic Daniau wrote: > > You may need to reconfigure the service. Have

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 Nic Daniau
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 description" HTH Nic On 23/03/06, David Kerber <[EMAIL P

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread David Kerber
Ryan Daly wrote: 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".

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 David Kerber
Ryan Daly wrote: 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

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

RE: Run Tomcat in W2k3 as service

2006-03-22 Thread Tim Lucia
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. Tim -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 4:26 PM To: