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" <nmcminn@charter.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
|