RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
Nehal, I believe he is talking about windows (startup.bat ?), so there's not .profile for the user. NanFei, there are a number of detailed posts on this topic during the last week - search/Google for them. I believe you need to run tomcatw.exe - but I do not have that version. You can also download the .zip version of tomcat - it will have startup.bat in it. HTH - Richard -Original Message- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 12:55 AM To: 'Tomcat Users List' Subject: RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' In user's .profile -Original Message- From: NanFei Wang [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 6:45 AM To: users@tomcat.apache.org Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' Hi, In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M ' at the file of startup.bat. However, for Tomcat/5.5.9, It start by Service automatically without a file of startup.bat. How and where to configure Tomcat/5.5.9 as by ' set JAVA_OPTS=-Xmx256M ' Regards NanFei - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
Dear Chuck, My Java tab contains -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 5.5 -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\endorsed -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 5.5\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager I add -DJAVA_OPTS=-Xmx256M in another line at the Java Options text area, But I still get the message as javax.servlet.ServletException: Java heap space java.lang.OutOfMemoryError: Java heap space Would you please show me the right way ! Regards NanFei - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, November 15, 2005 12:28 PM Subject: RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' From: NanFei Wang [mailto:[EMAIL PROTECTED] Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' However, for Tomcat/5.5.9, It start by Service automatically without a file of startup.bat. The .exe download does not include the scripts, for no discernable reason. However, the scripts are included in the .zip and .tar downloads, should you want to use them. If you're running Tomcat as a service, use tomcat5w.exe from the bin directory to set the various JVM options. The Java tab contains specific spots for heap size parameters; others must be entered in the Java Options text area. - Chuck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
From: NanFei Wang [mailto:[EMAIL PROTECTED] Subject: Re: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' I add -DJAVA_OPTS=-Xmx256M in another line at the Java Options text area, (I don't have 5.5.9 installed anymore, just 5.5.12, so I can't see what's on the 5.5.9 Java tab for myself.) The -D options are only for setting Java system properties. JAVA_OPTS is an environment variable, not a JVM command line parameter, and is used only to communicate the desired values to the startup scripts. Use just -Xmx256m, which is the actual command line parameter. - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]