>-----Original Message----- >From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Subject: RE: JAVA_OPTS catalina.bat vs tomcat7w.exe > >> From: Leo Donahue - RDSA IT [mailto:leodona...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org