RE: tomcat 3.1.3 - how to define java params?
In Tomcat 4.1.x, both CATALINA_OPTS and JAVA_OPTS do the same thing. Settings placed in one would work the same if placed in the other. Having the two allows you to be a little more organized by letting you separate settings intended for the JVM from settings intended for for the server. In Tomcat 3.3.x, you only have TOMCAT_OPTS, but it does the same thing as both of those above. Cheers, Larry -Original Message- From: Volker [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 5:50 PM To: [EMAIL PROTECTED] Subject: tomcat 3.1.3 - how to define java params? Hi, concerning tomcat 4.1 one can define JAVA_OPTS in order to pass parameters like -green etc. to the jvm. In tomcat 3.3.1 JAVA_OPTS obviously is not considered and cannot be replaced with $TOMCAT_OPTS. Can anyone please tell me if there is any possibility to define the java parameters tomcat should be started with? BTW: Is it correct that worker.inprocess.jvm_lib etc. only have to be defined in case of using jni (which means that I need Apache 2.0)? Thanks and regards Volker - 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: tomcat 3.1.3 - how to define java params?
Larry Isaacs schrieb: In Tomcat 4.1.x, both CATALINA_OPTS and JAVA_OPTS do the same thing. Settings placed in one would work the same if placed in the other. Having the two allows you to be a little more organized by letting you separate settings intended for the JVM from settings intended for for the server. In Tomcat 3.3.x, you only have TOMCAT_OPTS, but it does the same thing as both of those above. Cheers, Larry Hi Larry, thanks for your fast reply. Well I tried TOMCAT_OPTS but it did not work with '-green - Xmx32m'. The JDK started in native mode. But obviously I made something wrong and will check it out once more! Best regards Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 3.1.3 - how to define java params?
You can also use: THREAD_MODE=green java .. I'm not sure 100% of the environment variable, but it's something along those lines, look in the JVM release notes for your platform (I'm assuming it's a Unix of some flavor, Winders would be different). Also the - Xmx32m shouldn't have a space in it. --mikej -=-- mike jackson [EMAIL PROTECTED] -Original Message- From: Volker [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 3:28 PM To: Tomcat Users List Subject: Re: tomcat 3.1.3 - how to define java params? Larry Isaacs schrieb: In Tomcat 4.1.x, both CATALINA_OPTS and JAVA_OPTS do the same thing. Settings placed in one would work the same if placed in the other. Having the two allows you to be a little more organized by letting you separate settings intended for the JVM from settings intended for for the server. In Tomcat 3.3.x, you only have TOMCAT_OPTS, but it does the same thing as both of those above. Cheers, Larry Hi Larry, thanks for your fast reply. Well I tried TOMCAT_OPTS but it did not work with '-green - Xmx32m'. The JDK started in native mode. But obviously I made something wrong and will check it out once more! Best regards Volker - 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]