tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Svancara" <rsvanc...@adaweb.net>
Subject RE: How to set up JAVA_OPTS while running tomcat as a service
Date Fri, 02 Apr 2004 18:11:13 GMT
Put them in your catalina.bat file located in the bin directory of your tomcat installation.



-----Original Message-----
From: Mandy Joss [mailto:tomcat21117@hotmail.com]
Sent: Friday, April 02, 2004 9:54 AM
To: tomcat-user@jakarta.apache.org
Subject: How to set up JAVA_OPTS while running tomcat as a service


I am running Tomcat 4.1.24 as service but under stress I get 
OutOfMemmoryError. To cure this I want to pass JAVA_OPTS=-server -Xms256m 
-Xmx1000m -Xincgc to the Tomcat. Can somebody please tell me where should I 
specify JAVA_OPTS so that Tomcat running as service will look at them.

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page - FREE 
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/


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


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


Mime
View raw message