You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Bachler, Elisabeth (Elisabeth)" <eb...@lucent.com> on 2004/09/29 09:49:31 UTC

How can I deploy 2 tomcat and work on both of them at the same ti me?

Hello,

I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt 
Now, I have installed another tomcat (same version) under another root
directory.
I need to have two versions working at the same time. Under one, I will have
a client web version and under the other one, my test version. Both can be
working at the same time but I can't manage to make it running. 
Could you help me ?

Thanks
Elisabeth

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How can I deploy 2 tomcat and work on both of them at the same ti me?

Posted by zhicheng wang <wa...@yahoo.co.uk>.
you should not have problem to run two or more if they
do not use the port. for your test one, you may not
want to use port 80.

cheng

 --- "Bachler, Elisabeth (Elisabeth)"
<eb...@lucent.com> wrote: 
> Hello,
> 
> I have tomcat jakarta-tomcat-5.0.19 installed on my
> machine under /opt 
> Now, I have installed another tomcat (same version)
> under another root
> directory.
> I need to have two versions working at the same
> time. Under one, I will have
> a client web version and under the other one, my
> test version. Both can be
> working at the same time but I can't manage to make
> it running. 
> Could you help me ?
> 
> Thanks
> Elisabeth
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
>  

=====
Best wishes
Z C Wang


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


AW: How can I deploy 2 tomcat and work on both of them at the same time?

Posted by Steffen Heil <li...@steffen-heil.de>.
Hi

> I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt
Now, I have installed another tomcat (same version) under another root
directory.
> I need to have two versions working at the same time. Under one, I will
have a client web version and under the other one, my test version. Both can
be working at the same time but I can't manage to make it running. 

Make a copy of you working version, correct all paths in configuration files
and adjust listening port in the connector as well as the engine's shutdown
port.
Then you can start both at the same time.

(Things tend to get more complicated, if this is a windows machine and you
want to start both as service. But that is indeed no good idea. Run the
productive system as service, but the test system by "catalina.bat run".)

Regards,
  Steffen

Re: How can I deploy 2 tomcat and work on both of them at the same ti me?

Posted by Alex <al...@squigly.net>.
Ensure that in $CATALINA_HOME$/conf/server.xml that you have different
ports declared for each instance.  there are four in total i do believe.

On Wed, 29 Sep 2004, Bachler, Elisabeth (Elisabeth) wrote:

> Date: Wed, 29 Sep 2004 09:49:31 +0200
> From: "Bachler, Elisabeth (Elisabeth)" <eb...@lucent.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: 'Tomcat Users List' <to...@jakarta.apache.org>
> Subject: How can I deploy 2 tomcat and work on both of them at the same
>     ti me?
>
> Hello,
>
> I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt
> Now, I have installed another tomcat (same version) under another root
> directory.
> I need to have two versions working at the same time. Under one, I will have
> a client web version and under the other one, my test version. Both can be
> working at the same time but I can't manage to make it running.
> Could you help me ?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org