Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Setting -Xmx parameter to Tomcat as a Window Service

Enrico Drusiani

2004-05-25


Hi everybody



I've a Windows XP box and I've installed tomcat 4.1 as a window service. I'm
in need to set JAVA_OPTS or CATALINA_OPTS to "-server -Xmx1024m -Xms128m"
but setting it as environment variables doesn't work at all, any help?



Please keep in mind that it is mandatory for me to use it as a service. I'm
planning to upgrade to tomcat 5.0.24, but still it will run as a service



Thanks for the help



Enrico Drusiani

©2008 junlu.com - Jax Systems, LLC, U.S.A.