tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Donahue - RDSA IT <LeoDona...@mail.maricopa.gov>
Subject RE: JAVA_OPTS catalina.bat vs tomcat7w.exe
Date Mon, 25 Feb 2013 19:19:47 GMT

>-----Original Message-----
>From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
>Subject: RE: JAVA_OPTS catalina.bat vs tomcat7w.exe
>
>> From: Leo Donahue - RDSA IT [mailto:LeoDonahue@mail.maricopa.gov]
>> Subject: JAVA_OPTS catalina.bat vs tomcat7w.exe
>
>> What is the difference between setting Java_OPTS in catalina.bat vs
>> using the tomcat7w.exe with -D options in the Java Tab if you
>> installed Tomcat as a windows service?
>
>The latter is useful, the former isn't.  Services do not use environment
>variables.
>
> - Chuck

If running Tomcat 7.0.37 as a windows service, and using the tomcat7w.exe to set the options,
are these wrong?

Java Options:
-Dcatalina.base=C:\ApacheTomcat\apache-tomcat-7.0.37
-Dcatalina.home=C:\ApacheTomcat\apache-tomcat-7.0.37
-Djava.endorsed.dirs=C:\ApacheTomcat\apache-tomcat-7.0.37\endorsed
-Djava.io.tmpdir=C:\ApacheTomcat\apache-tomcat-7.0.37\temp
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9090
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\ApacheTomcat\apache-tomcat-7.0.37\conf\logging.properties
-Djava.opts=-XX:PermSize=128m -XX:MaxPermSize=384m

Initial memory pool:  256MB
Maximum memory pool: 512MB

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


Mime
View raw message