RE: startup parameters in tomcat on windows 2000 server

2005-08-19 Thread Longson, Robert
Tomcat uses commons daemon to run as a service.
tomcat5w.exe is really prunmgr.exe and tomcat5.exe is prunsrv.exe

Instructions for configuring prunmgr.exe and prunsrv.exe are here:

http://jakarta.apache.org/commons/daemon/procrun.html

Robert 
  

 
The information contained in this message is intended only for the recipient, 
and may be a confidential attorney-client communication or may otherwise be 
privileged and confidential and protected from disclosure. If the reader of 
this message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, please be aware that any 
dissemination or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify us by 
replying to the message and deleting it from your computer. 

 

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



Re: Startup parameters

2003-01-17 Thread Lajos Moczar
Set CATALINA_OPTS = -Xmx256 or whatever you want. Either set it in 
your environment or at the top of catalina.bat (that's what I do).

Lajos


Nathan McMinn wrote:
OK, one quick question that I'm sure anybody here but me can answer.

I am running Tomcat as a service on windows 2000 server.  I want to set some
JVM parameters when tomcat starts (things like -server, -Xmx, -Xms, etc).
Where would I go about making these changes?  I've looked through the
catalina.bat file, but is this even executed when tomcat is run as a
service?  according to the services applet in the control panel, the service
runs tomcat.exe.  Does this in turn call the startup script? Or do I need to
pass the parameters using -jvm_option to tomcat.exe?  As an aside, is there
anything that can be done to optimize tomcat for execution on a
multi-processor system?

--Nathan McMinn



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





--



   Lajos Moczar
  
Open Source Support, Consulting and Training
  
Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

   _  _
  / \ /
 /___\  /
/ \   /

 http://www.galatea.com -- powered by AzSSL


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




RE: Startup parameters

2003-01-17 Thread Hari Venkatesan
Take a look at the following site. It gives you a feeler of how to do
it. Once you run the batch file, it updates the Win2000 registry entries
for you. From there you can play with it. 

http://www.mattkelli.com/tech/tomcat/ntservice.htm

But the only catch running tomcat as service with the start up
parameters is -verbose:gc does not print the Garbage collection entries
in either stdout or stderr. I have'nt figured out where it is printing
yet.

Hari


-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 17, 2003 5:22 PM
To: Tomcat Users List
Subject: Startup parameters

OK, one quick question that I'm sure anybody here but me can answer.

I am running Tomcat as a service on windows 2000 server.  I want to set
some
JVM parameters when tomcat starts (things like -server, -Xmx, -Xms,
etc).
Where would I go about making these changes?  I've looked through the
catalina.bat file, but is this even executed when tomcat is run as a
service?  according to the services applet in the control panel, the
service
runs tomcat.exe.  Does this in turn call the startup script? Or do I
need to
pass the parameters using -jvm_option to tomcat.exe?  As an aside, is
there
anything that can be done to optimize tomcat for execution on a
multi-processor system?

--Nathan McMinn



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


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




Re: Startup parameters

2003-01-17 Thread David Hemingway
Put the following in your catalaina.bat, I have this set just underneath
where CATALINA_BASE, JAVA_HOME, and CATALINA)HOME are set.

CATALINA_OPTS=-server -Xmx512m -Xms128m

regards,
Dave

PS all startup parameters get put in under CATALINA_OPTS

- Original Message -
From: Nathan McMinn [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, January 18, 2003 9:22 AM
Subject: Startup parameters


 OK, one quick question that I'm sure anybody here but me can answer.

 I am running Tomcat as a service on windows 2000 server.  I want to set
some
 JVM parameters when tomcat starts (things like -server, -Xmx, -Xms, etc).
 Where would I go about making these changes?  I've looked through the
 catalina.bat file, but is this even executed when tomcat is run as a
 service?  according to the services applet in the control panel, the
service
 runs tomcat.exe.  Does this in turn call the startup script? Or do I need
to
 pass the parameters using -jvm_option to tomcat.exe?  As an aside, is
there
 anything that can be done to optimize tomcat for execution on a
 multi-processor system?

 --Nathan McMinn



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




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




RE: Startup parameters

2003-01-17 Thread Hari Venkatesan
Setting the parameters in Catalina.bat would not work if you run Tomcat
as a service since you service is calling tomcat.exe directly and not
startup.bat or Catalina.bat. 

But to test out before you start the service you can put the values in
CATALINA_OPTS = -Xms128m -Xmx258 etc and run Catalina.bat. You can also
set the values as Environment Variables and forget about changing it in
Catalina.bat

To Run it as service and with the parameters follow the link

http://www.mattkelli.com/tech/tomcat/ntservice.htm

Hope this helps

Hari

-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 17, 2003 5:22 PM
To: Tomcat Users List
Subject: Startup parameters

OK, one quick question that I'm sure anybody here but me can answer.

I am running Tomcat as a service on windows 2000 server.  I want to set
some
JVM parameters when tomcat starts (things like -server, -Xmx, -Xms,
etc).
Where would I go about making these changes?  I've looked through the
catalina.bat file, but is this even executed when tomcat is run as a
service?  according to the services applet in the control panel, the
service
runs tomcat.exe.  Does this in turn call the startup script? Or do I
need to
pass the parameters using -jvm_option to tomcat.exe?  As an aside, is
there
anything that can be done to optimize tomcat for execution on a
multi-processor system?

--Nathan McMinn



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


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




Re: Startup parameters

2003-01-17 Thread Nathan McMinn
Wow, Thanks folks.

On a slightly different note, has anyone had any luck using a PCI SSL
accelerator card with Tomcat 4.0.6 in a standalone configuration?

- Original Message -
From: Hari Venkatesan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 4:37 PM
Subject: RE: Startup parameters


Setting the parameters in Catalina.bat would not work if you run Tomcat
as a service since you service is calling tomcat.exe directly and not
startup.bat or Catalina.bat.

But to test out before you start the service you can put the values in
CATALINA_OPTS = -Xms128m -Xmx258 etc and run Catalina.bat. You can also
set the values as Environment Variables and forget about changing it in
Catalina.bat

To Run it as service and with the parameters follow the link

http://www.mattkelli.com/tech/tomcat/ntservice.htm

Hope this helps

Hari

-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 5:22 PM
To: Tomcat Users List
Subject: Startup parameters

OK, one quick question that I'm sure anybody here but me can answer.

I am running Tomcat as a service on windows 2000 server.  I want to set
some
JVM parameters when tomcat starts (things like -server, -Xmx, -Xms,
etc).
Where would I go about making these changes?  I've looked through the
catalina.bat file, but is this even executed when tomcat is run as a
service?  according to the services applet in the control panel, the
service
runs tomcat.exe.  Does this in turn call the startup script? Or do I
need to
pass the parameters using -jvm_option to tomcat.exe?  As an aside, is
there
anything that can be done to optimize tomcat for execution on a
multi-processor system?

--Nathan McMinn



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


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




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