tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattos, John" <jmat...@Indemand.com>
Subject Running Out of Memory, Tomcat running as a service...
Date Tue, 13 May 2003 20:43:01 GMT
HI all,

I'm running tomcat as a service, installing it with the following command.


%2\bin\tomcat.exe -install %4 %1\jre\bin\%3\jvm.dll
-Djava.class.path=%2\bin\bootstrap.jar;%2\bin\servlet.jar;%1\lib\tools.jar
-Dcatalina.home=%2 -Dindemand.env=%INDEMAND_HOME%\indemand_env.properties
-start org.apache.catalina.startup.Bootstrap -params start -stop
org.apache.catalina.startup.Bootstrap -params stop -out %2\logs\stdout.log
-err %2\logs\stderr.log


I know I have to add something like

-DJAVA_OPTS=-Xms128m -Xmx1536m

The question is WHERE do I add that in the above long command shich installs
Tomcat as a service?

Help!

Note %1-%4 are passed into the batch file as parameters...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message