> From: Leo Donahue - RDSA IT [mailto:leodona...@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?

> -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

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

The settings are not unreasonable, but whether or not they're appropriate for 
your environment, only someone familiar with that environment can say.  Since 
you have JMX enabled without authentication, the server is open to abuse from 
pretty much anyone who can reach it.  Proper heap settings are entirely 
dependent on the webapps being run.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to