Connecting Tech Pros Worldwide Forums | Help | Site Map

Conguring two tomcats in a linux OS

Newbie
 
Join Date: Jul 2007
Posts: 3
#1: Sep 25 '07
Can you please explain how to configure two tomcat servers in a single linux operating system.

Thanks in advance

Newbie
 
Join Date: Jul 2007
Posts: 13
#2: Oct 2 '07

re: Conguring two tomcats in a linux OS


Quote:

Originally Posted by thomasprabu

Can you please explain how to configure two tomcat servers in a single linux operating system.

Thanks in advance

Configuring tomcat servers in a single linux operating is very easy. what u need to do is: u install the tomcat server 1 and server 2 as u did for installing the server 1, but while starting the server 1 and server 2, u should notice their ports.
By default, the port is 8080 so if u run server 1 at that port, for server 2 , u have to change the server port from server.xml (i.e. tomcat/conf/server.xml). u can change it to whatever u desire. eg. 80, 8444.......

Hope u understood it.

Ntech
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#3: Oct 2 '07

re: Conguring two tomcats in a linux OS


Perhaps you could explain what you are4 trying to accomplish, because in most circumstances it is not necessary to run two instances of Tomcat; you can instruct Tomcat to listen to multiple interfaces, multiple ports, and multiple domain names all from a single instance.
Reply