Dumb Tomcat question
A dumb question: I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Thanks for your info. -Bala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Dumb Tomcat question
just install them in two different locations /usr/local/tomcat /usr/local/tomcat2 then on tomcat2/conf/server.xml change all the ports so that they don't conflict with tomcat/conf/server.xml then just start them up, that is all you need to do Filip -Original Message- From: Balakrishna Kudaravalli [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:13 AM To: Tomcat Users List Subject: Dumb Tomcat question A dumb question: I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Thanks for your info. -Bala - 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: Dumb Tomcat question
Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Dumb Tomcat question
Thanks for the info. What about CATALINA_HOME is it mandatory for me to set that env. variable ? -- how does this work when i have two instances -Bala At 12:16 PM 6/13/2003 -0400, you wrote: Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Dumb Tomcat question
it gets set in the startup scripts for you Filip -Original Message- From: Balakrishna Kudaravalli [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:46 AM To: Tomcat Users List Subject: RE: Dumb Tomcat question Thanks for the info. What about CATALINA_HOME is it mandatory for me to set that env. variable ? -- how does this work when i have two instances -Bala At 12:16 PM 6/13/2003 -0400, you wrote: Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]