You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jared Ingersoll <JI...@ph.com> on 2005/02/01 17:18:36 UTC

Tomcat's Java parameters

Hi,

I am running Tomcat 4.1.X with Java 1.4 as a service on a Win2K box. A
software provider has instructed us to change an environment variable in the
system tab, which is to add the JAVA_OPTS variable with 3 parameters.
However, another document provided by the same company instructs us to make
changes to the HKLM\system\currentControlSet\Service\Apache TomCat 4.1\
registry keys (i.e. "JVM OPTION COUNT" and "JVM OPTION Number 1", etc.),
which has a total of 7 command line parameters for Java.

My questions:

1. Do the system environment variables get called if the app is running as a
service?
2. If they are called, do the registry changes "trump" the $JAVA_OPTS
variable, or is it vice versa?

We are having performance related problems, and need the proper java
settings running under the tomcat service. Not only that, but I would like
to know where we should make these settings.

Jared

************************************************************************* 
PRIVILEGED AND CONFIDENTIAL: 
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential and/or privileged
information.  If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited.  If you
are not the intended recipient, please notify the sender immediately by
return e-mail, delete this communication and destroy all copies.  
*************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org