RE: Configuring Tomcat to start with different verisons of a Web App
-Original Message- From: Scott Goldstein [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 2:52 PM To: [EMAIL PROTECTED] Subject: Configuring Tomcat to start with different verisons of a Web App At any one time, I have multiple versions of a product that I'm working on on my development box. In other words, I'm usually fixing bugs in the previos one or two releases while moving forward on the next release. This leaves me with three web applications in three seperate directory structures. I would like to start Tomcat through an icon on my desktop. To be able to handle all three versions of the web app that I'm working on, I would like to have three seperate icons, one for each web app version. Unfortunately, I haven't figured out how to do this with Tomcat. It seems that I have to manually edit conf/server.xml in order to start and stop with different web apps installed. Can anyone provide suggestions on how to start and stop Tomcat with different web apps installed without having to edit conf/server.xml? Check out http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt Section 4 on Multiple Tomcat 4 Instances. You can write small batch scripts that change the value of CATALINA_BASE and then start the server. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Configuring Tomcat to start with different verisons of a Web App
Why not have 3 different web apps context1, context2, context3 and run them all in the same container? -Original Message- From: Scott Goldstein [mailto:[EMAIL PROTECTED]] Sent: 07 October, 2002 12:52 PM To: [EMAIL PROTECTED] Subject: Configuring Tomcat to start with different verisons of a Web App At any one time, I have multiple versions of a product that I'm working on on my development box. In other words, I'm usually fixing bugs in the previos one or two releases while moving forward on the next release. This leaves me with three web applications in three seperate directory structures. I would like to start Tomcat through an icon on my desktop. To be able to handle all three versions of the web app that I'm working on, I would like to have three seperate icons, one for each web app version. Unfortunately, I haven't figured out how to do this with Tomcat. It seems that I have to manually edit conf/server.xml in order to start and stop with different web apps installed. Can anyone provide suggestions on how to start and stop Tomcat with different web apps installed without having to edit conf/server.xml? Thanks. Scott Just a mirror for the sun... My smiling eyes are just a mirror for the sun. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Configuring Tomcat to start with different verisons of a Web App
Hi Scott, you could simply have 3 Tomcats, e.g. .../tomcat1, .../tomcat2, .../tomcat3. All you need is to have 3 icons linked to the right startup script. If you run only one at a time it will work fine. Andreas On 7 Oct 2002 at 14:51, Scott Goldstein wrote: At any one time, I have multiple versions of a product that I'm working on on my development box. In other words, I'm usually fixing bugs in the previos one or two releases while moving forward on the next release. This leaves me with three web applications in three seperate directory structures. I would like to start Tomcat through an icon on my desktop. To be able to handle all three versions of the web app that I'm working on, I would like to have three seperate icons, one for each web app version. Unfortunately, I haven't figured out how to do this with Tomcat. It seems that I have to manually edit conf/server.xml in order to start and stop with different web apps installed. Can anyone provide suggestions on how to start and stop Tomcat with different web apps installed without having to edit conf/server.xml? Thanks. Scott Just a mirror for the sun... My smiling eyes are just a mirror for the sun. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]