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:31:47 GMT


>-----Original Message-----
>From: Leo Donahue - RDSA IT [mailto:LeoDonahue@mail.maricopa.gov]
>Subject: RE: JAVA_OPTS catalina.bat vs tomcat7w.exe
>
>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

Wrong..

Just remove -Djava.opts=

Should be:

-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
-XX:PermSize=128m
-XX:MaxPermSize=384m

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


Mime
View raw message