You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Shakila Rajaiah <sr...@yahoo.com.INVALID> on 2023/06/14 16:33:31 UTC

Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

Dear Team,
I have several java applications running on different production servers.
I have the first production server set up to run Java 1.8 and apache-tomcat-9.0.46.
I have the second production server set up to run Java 11 and apache-tomcat-10.0.27 due to different programming needs that were not available in Java 8.
Is there any way that I can deploy the two versions of the apache-tomcat-servers on the same physical machine? How will I be able to set up up JAVA_HOME and CATALINA_HOME environmental variables? 

Just wanted to make sure that I was deploying my applications wisely.
Any help on this will be much appreciated.
Thanks,Shakila.

Shakila Rajaiah  *****************************  e-mail: srajaiah@yahoo.com  Cell: (513) 967-6084  Home: (513) 791-6737

Re: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Shakila,

On 6/14/23 12:33, Shakila Rajaiah wrote:
> I have several java applications running on different production servers.
> I have the first production server set up to run Java 1.8 and apache-tomcat-9.0.46.
> I have the second production server set up to run Java 11 and apache-tomcat-10.0.27 due to different programming needs that were not available in Java 8.
> Is there any way that I can deploy the two versions of the apache-tomcat-servers on the same physical machine? How will I be able to set up up JAVA_HOME and CATALINA_HOME environmental variables?

What kind of servers? This is possible on both Windows and *NIX-style 
servers.

You want to use a "split Tomcat" installation. Have a look at the 
RUNNING.txt file in the Tomcat distribution for details.

There is also a 45-minute presentation on this topic available here:
https://tomcat.apache.org/presentations.html#latest-split-installation

-chris

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


Re: AW: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Alex,

On 6/14/23 15:28, a.grubner@bluewin.ch wrote:
> To be honest, on a production server, I would never install more than one application - of course, if possible. Just the fact, when the server dies, what do you do then? When it is a critical product, then distribute it. Technically, I cannot tell you - but just from this point of view, I would never do this. Also when you need to investigate things, many processes, to which belongs what...
> 
> Anyways, maybe people can tell you how to do it - I would not go this way.

Physical servers are expensive. Sharing is appropriate in these types of 
environments.

Thanks,
-chris

> -----Ursprüngliche Nachricht-----
> Von: Shakila Rajaiah <sr...@yahoo.com.INVALID>
> Gesendet: Mittwoch, 14. Juni 2023 18:34
> An: users@tomcat.apache.org
> Cc: announce@tomcat.apache.org; dev@tomcat.apache.org; announce@apache.org
> Betreff: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine
> 
> Dear Team,
> I have several java applications running on different production servers.
> I have the first production server set up to run Java 1.8 and apache-tomcat-9.0.46.
> I have the second production server set up to run Java 11 and apache-tomcat-10.0.27 due to different programming needs that were not available in Java 8.
> Is there any way that I can deploy the two versions of the apache-tomcat-servers on the same physical machine? How will I be able to set up up JAVA_HOME and CATALINA_HOME environmental variables?
> 
> Just wanted to make sure that I was deploying my applications wisely.
> Any help on this will be much appreciated.
> Thanks,Shakila.
> 
> Shakila Rajaiah  *****************************  e-mail: srajaiah@yahoo.com  Cell: (513) 967-6084  Home: (513) 791-6737
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

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


AW: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

Posted by a....@bluewin.ch.
Hello

To be honest, on a production server, I would never install more than one application - of course, if possible. Just the fact, when the server dies, what do you do then? When it is a critical product, then distribute it. Technically, I cannot tell you - but just from this point of view, I would never do this. Also when you need to investigate things, many processes, to which belongs what...

Anyways, maybe people can tell you how to do it - I would not go this way.

Best 
Alex

-----Ursprüngliche Nachricht-----
Von: Shakila Rajaiah <sr...@yahoo.com.INVALID> 
Gesendet: Mittwoch, 14. Juni 2023 18:34
An: users@tomcat.apache.org
Cc: announce@tomcat.apache.org; dev@tomcat.apache.org; announce@apache.org
Betreff: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

Dear Team,
I have several java applications running on different production servers.
I have the first production server set up to run Java 1.8 and apache-tomcat-9.0.46.
I have the second production server set up to run Java 11 and apache-tomcat-10.0.27 due to different programming needs that were not available in Java 8.
Is there any way that I can deploy the two versions of the apache-tomcat-servers on the same physical machine? How will I be able to set up up JAVA_HOME and CATALINA_HOME environmental variables? 

Just wanted to make sure that I was deploying my applications wisely.
Any help on this will be much appreciated.
Thanks,Shakila.

Shakila Rajaiah  *****************************  e-mail: srajaiah@yahoo.com  Cell: (513) 967-6084  Home: (513) 791-6737


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