You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Nybro Bolding <th...@danskebank.dk> on 2004/02/05 09:06:30 UTC
Vedr.: RE: VM settings in windows service
You do NOT have to reinstall Tomcat.
It appears to be case sensitive so use -Xmx256m
/Thomas
"STOCKHOLM, Raymond" <R....@aubay.lu>
04-02-2004 18:12
Besvar venligst til "Tomcat Users List"
Til: "Tomcat Users List" <to...@jakarta.apache.org>
cc:
Vedr.: RE: VM settings in windows service
You must re-install your tomcat service with the options you want.
To make sure your options are properly set, use regedit to check them :
HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Services
Apache
Tomcat xxx
Parameters
look for JVM Option Number x
Try this script (after adapting your parameters) to install your service.
set JAVA_HOME=C:\j2sdk1.4.1_05
set CATALINA_HOME=C:\SOFTWARE\TOMCAT_4.1.18
set CATALINA_OPTS=-server -Xms750m -Xmx750m -XX:NewRatio=2 -Xconcurrentio
set PARAMETERS=%JAVA_HOME%\jre\bin\server\jvm.dll
set PARAMETERS=%PARAMETERS%
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar
set PARAMETERS=%PARAMETERS% -Dcatalina.home=%CATALINA_HOME%
set PARAMETERS=%PARAMETERS%
-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed
set PARAMETERS=%PARAMETERS% -Dsun.io.useCanonCaches=false
set PARAMETERS=%PARAMETERS% %CATALINA_OPTS%
set PARAMETERS=%PARAMETERS% -start org.apache.catalina.startup.Bootstrap -params start
set PARAMETERS=%PARAMETERS% -stop org.apache.catalina.startup.Bootstrap -params stop
set PARAMETERS=%PARAMETERS% -out %CATALINA_HOME%\logs\stdout.log
set PARAMETERS=%PARAMETERS% -err %CATALINA_HOME%\logs\stderr.log
%CATALINA_HOME%\bin\tomcat -install "Apache Tomcat 4.1" %PARAMETERS%
-----Message d'origine-----
De : Tino Schöllhorn [mailto:t.schoellhorn@tiscali.de]
Envoyé : mercredi 4 février 2004 17:51
À : tomcat-user@jakarta.apache.org
Objet : VM settings in windows service
Hi,
I am using Tomcat 5.0.18 on Windows 2000 as a service and I want to
change the memory-setting of the VM the Tomcat-Service-Manager uses. I
already changed the "Java Options" in the Tomcat Configuration tool, but
when I look at the status page of tomcat it tells me that the MAX-Memory
is 64MB instead of my 256M which I want.
I used the -X option to achieve this: -Xmx256M
What can I do that the service accepts these settings?
Tino
---------------------------------------------------------------------
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
<FONT SIZE=1 FACE="Arial">_______________
Vi gør opmærksom på, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den.
Selv om e-mailen og ethvert vedhæftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan påvirke computeren eller it-systemet, hvori den modtages og læses, åbnes den på modtagerens eget ansvar. Vi påtager os ikke noget ansvar for tab og skade, som er opstået i forbindelse med at modtage og bruge e-mailen.
_______________
Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it.
Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message.
</FONT>