RE: registering Tomcat as service

2004-05-29 Thread Jacob Kjome
Well, you can modify the service.bat or follow the instructions on the page 
I mentioned previously to change paramters from the command line.  And, 
yes, I think this stuff is probably stored in the registry, although I 
haven't looked at the entries (haven't needed to).  Some of the parameters 
documented for procrun aren't valid anymore with changes since that page 
was published which is why I recommended the GUI.  Look in service.bat to 
see use of the latest parameters.

Jake
At 06:21 PM 5/28/2004 +0200, you wrote:
Hi there.
The GUI is not always going to be good for me as I need to make the change
command line settings via my own web based server management interface.
I assume that the app changes registry enties?  Is there documentation on
the registry entries?  I could then make changes directly in the
registry
Carl
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: 28 May 2004 04:53 PM
To: Tomcat Users List
Subject: RE: registering Tomcat as service
You can modify the service parameters via the GUI.  See...
http://jakarta.apache.org/commons/daemon/procrun.html
Even though most of the instructions on that page are outdated, the
information near the bottom of the page is still useful.  In particular...
Changing the Service Parameters from the GUI
tomcat5w //ES//Tomcat5
That pops up a GUI where you can see all the parameters that are currently
added to the service.  Add/Remove as needed.
Jake
Quoting Carl Olivier [EMAIL PROTECTED]:
 Hi.

 On this subject - in the older Tomcat service executable (specifically
 jk_nt_service.exe for TC 3) the executable was pointed at a
 wrapper.properties file.

 This wrapper.properties provided the means to add new -X and -D
 properties to the executable without having to re-install the service
 as it was read in at start time.

 Is there any plan/chance that this could also be possible for the new
 tomcat5.exe?

 The main reason is if you wanted to change the -Xmx setting (as a good
 example) through code - it is a lot simpler to do this in a
 wrapper.properties and then simply restart the service - as opposed to
 removing the service and then re-installing it.

 Thanks in advance.

 Carl

 -Original Message-
 From: None None [mailto:[EMAIL PROTECTED]
 Sent: 28 May 2004 03:17 PM
 To: [EMAIL PROTECTED]
 Subject: RE: registering Tomcat as service


 Take a look in tomcat/bin.  There is a service.bat file that can
 install and

 uninstall the service.  Should do the trick for you.

 From: Paul Wallace [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: registering Tomcat as service
 Date: Fri, 28 May 2004 16:31:57 +1000
 
 Hello,
  I installed Tomcat, formally run from the console. I am now
 trying to get it to run as a service. I have in the registry:
 
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameter
 s:
 
 JVM Option Count   REG_DWORD0X0004 (4)
 
 JVM Option Number 0 REG_SZ-Xms256m
 JVM Option Number 1 REG_SZ-Xmx512m
 JVM Option Number 2 REG_SZ
 -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eCo
 mm
 e
 rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar
 JVM Option Number 3 REG_SZ
 -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30
 
 the paths are correct (JDK/Tomcat) but when I try to start Tomcat
 from the service window, I get a popup:
 
 The Tomcat Service on a Local Computer started and then stopped.
 Some services stop automatically if they have no work to do, for
 example, the Performance Logs and Alerts service
 
 The service does not subsequently run. Now my service may not have
 any work to do, but I most certainly do.
 
 Any info is much appreciated.
 
 Paul.
 
 

 _
 FREE pop-up blocking with the new MSN Toolbar - get it now!
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: registering Tomcat as service

2004-05-28 Thread None None
Take a look in tomcat/bin.  There is a service.bat file that can install and 
uninstall the service.  Should do the trick for you.

From: Paul Wallace [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: registering Tomcat as service
Date: Fri, 28 May 2004 16:31:57 +1000
Hello,
I installed Tomcat, formally run from the console. I am now trying
to get it to run as a service. I have in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters:
JVM Option Count   REG_DWORD0X0004 (4)
JVM Option Number 0 REG_SZ-Xms256m
JVM Option Number 1 REG_SZ-Xmx512m
JVM Option Number 2 REG_SZ
-Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComme
rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar
JVM Option Number 3 REG_SZ
-Dcatalina.home=C:\eCommerce\Tomcat-4.1.30
the paths are correct (JDK/Tomcat) but when I try to start Tomcat from
the service window, I get a popup:
The Tomcat Service on a Local Computer started and then stopped. Some
services stop automatically if they have no work to do, for example, the
Performance Logs and Alerts service
The service does not subsequently run. Now my service may not have any
work to do, but I most certainly do.
Any info is much appreciated.
Paul.

_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: registering Tomcat as service

2004-05-28 Thread Carl Olivier
Hi.

On this subject - in the older Tomcat service executable (specifically
jk_nt_service.exe for TC 3) the executable was pointed at a
wrapper.properties file.

This wrapper.properties provided the means to add new -X and -D properties
to the executable without having to re-install the service as it was read in
at start time.

Is there any plan/chance that this could also be possible for the new
tomcat5.exe?

The main reason is if you wanted to change the -Xmx setting (as a good
example) through code - it is a lot simpler to do this in a
wrapper.properties and then simply restart the service - as opposed to
removing the service and then re-installing it.

Thanks in advance.

Carl

-Original Message-
From: None None [mailto:[EMAIL PROTECTED] 
Sent: 28 May 2004 03:17 PM
To: [EMAIL PROTECTED]
Subject: RE: registering Tomcat as service


Take a look in tomcat/bin.  There is a service.bat file that can install and

uninstall the service.  Should do the trick for you.

From: Paul Wallace [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: registering Tomcat as service
Date: Fri, 28 May 2004 16:31:57 +1000

Hello,
 I installed Tomcat, formally run from the console. I am now trying 
to get it to run as a service. I have in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters:

JVM Option Count   REG_DWORD0X0004 (4)

JVM Option Number 0 REG_SZ-Xms256m
JVM Option Number 1 REG_SZ-Xmx512m
JVM Option Number 2 REG_SZ
-Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComm
e
rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar
JVM Option Number 3 REG_SZ
-Dcatalina.home=C:\eCommerce\Tomcat-4.1.30

the paths are correct (JDK/Tomcat) but when I try to start Tomcat from 
the service window, I get a popup:

The Tomcat Service on a Local Computer started and then stopped. Some 
services stop automatically if they have no work to do, for example, 
the Performance Logs and Alerts service

The service does not subsequently run. Now my service may not have any 
work to do, but I most certainly do.

Any info is much appreciated.

Paul.



_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: registering Tomcat as service

2004-05-28 Thread Jacob Kjome
You can modify the service parameters via the GUI.  See...
http://jakarta.apache.org/commons/daemon/procrun.html

Even though most of the instructions on that page are outdated, the information
near the bottom of the page is still useful.  In particular...

Changing the Service Parameters from the GUI
tomcat5w //ES//Tomcat5


That pops up a GUI where you can see all the parameters that are currently added
to the service.  Add/Remove as needed.


Jake

Quoting Carl Olivier [EMAIL PROTECTED]:

 Hi.
 
 On this subject - in the older Tomcat service executable (specifically
 jk_nt_service.exe for TC 3) the executable was pointed at a
 wrapper.properties file.
 
 This wrapper.properties provided the means to add new -X and -D properties
 to the executable without having to re-install the service as it was read in
 at start time.
 
 Is there any plan/chance that this could also be possible for the new
 tomcat5.exe?
 
 The main reason is if you wanted to change the -Xmx setting (as a good
 example) through code - it is a lot simpler to do this in a
 wrapper.properties and then simply restart the service - as opposed to
 removing the service and then re-installing it.
 
 Thanks in advance.
 
 Carl
 
 -Original Message-
 From: None None [mailto:[EMAIL PROTECTED]
 Sent: 28 May 2004 03:17 PM
 To: [EMAIL PROTECTED]
 Subject: RE: registering Tomcat as service
 
 
 Take a look in tomcat/bin.  There is a service.bat file that can install and
 
 uninstall the service.  Should do the trick for you.
 
 From: Paul Wallace [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: registering Tomcat as service
 Date: Fri, 28 May 2004 16:31:57 +1000
 
 Hello,
  I installed Tomcat, formally run from the console. I am now trying
 to get it to run as a service. I have in the registry:
 
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters:
 
 JVM Option Count   REG_DWORD0X0004 (4)
 
 JVM Option Number 0 REG_SZ-Xms256m
 JVM Option Number 1 REG_SZ-Xmx512m
 JVM Option Number 2 REG_SZ
 -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComm
 e
 rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar
 JVM Option Number 3 REG_SZ
 -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30
 
 the paths are correct (JDK/Tomcat) but when I try to start Tomcat from
 the service window, I get a popup:
 
 The Tomcat Service on a Local Computer started and then stopped. Some
 services stop automatically if they have no work to do, for example,
 the Performance Logs and Alerts service
 
 The service does not subsequently run. Now my service may not have any
 work to do, but I most certainly do.
 
 Any info is much appreciated.
 
 Paul.
 
 
 
 _
 FREE pop-up blocking with the new MSN Toolbar - get it now!
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: registering Tomcat as service

2004-05-28 Thread Carl Olivier
Hi there.

The GUI is not always going to be good for me as I need to make the change
command line settings via my own web based server management interface.

I assume that the app changes registry enties?  Is there documentation on
the registry entries?  I could then make changes directly in the
registry

Carl

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: 28 May 2004 04:53 PM
To: Tomcat Users List
Subject: RE: registering Tomcat as service


You can modify the service parameters via the GUI.  See...
http://jakarta.apache.org/commons/daemon/procrun.html

Even though most of the instructions on that page are outdated, the
information near the bottom of the page is still useful.  In particular...

Changing the Service Parameters from the GUI
tomcat5w //ES//Tomcat5


That pops up a GUI where you can see all the parameters that are currently
added to the service.  Add/Remove as needed.


Jake

Quoting Carl Olivier [EMAIL PROTECTED]:

 Hi.
 
 On this subject - in the older Tomcat service executable (specifically 
 jk_nt_service.exe for TC 3) the executable was pointed at a 
 wrapper.properties file.
 
 This wrapper.properties provided the means to add new -X and -D 
 properties to the executable without having to re-install the service 
 as it was read in at start time.
 
 Is there any plan/chance that this could also be possible for the new 
 tomcat5.exe?
 
 The main reason is if you wanted to change the -Xmx setting (as a good
 example) through code - it is a lot simpler to do this in a 
 wrapper.properties and then simply restart the service - as opposed to 
 removing the service and then re-installing it.
 
 Thanks in advance.
 
 Carl
 
 -Original Message-
 From: None None [mailto:[EMAIL PROTECTED]
 Sent: 28 May 2004 03:17 PM
 To: [EMAIL PROTECTED]
 Subject: RE: registering Tomcat as service
 
 
 Take a look in tomcat/bin.  There is a service.bat file that can 
 install and
 
 uninstall the service.  Should do the trick for you.
 
 From: Paul Wallace [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: registering Tomcat as service
 Date: Fri, 28 May 2004 16:31:57 +1000
 
 Hello,
  I installed Tomcat, formally run from the console. I am now 
 trying to get it to run as a service. I have in the registry:
 
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameter
 s:
 
 JVM Option Count   REG_DWORD0X0004 (4)
 
 JVM Option Number 0 REG_SZ-Xms256m
 JVM Option Number 1 REG_SZ-Xmx512m
 JVM Option Number 2 REG_SZ
 -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eCo
 mm
 e
 rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar
 JVM Option Number 3 REG_SZ
 -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30
 
 the paths are correct (JDK/Tomcat) but when I try to start Tomcat 
 from the service window, I get a popup:
 
 The Tomcat Service on a Local Computer started and then stopped. 
 Some services stop automatically if they have no work to do, for 
 example, the Performance Logs and Alerts service
 
 The service does not subsequently run. Now my service may not have 
 any work to do, but I most certainly do.
 
 Any info is much appreciated.
 
 Paul.
 
 
 
 _
 FREE pop-up blocking with the new MSN Toolbar - get it now! 
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]