You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kaushal Shriyan <ka...@gmail.com> on 2008/04/08 08:16:18 UTC

3 instance of Tomcat Server

Hi,

How can i install 3 instance of Tomcat Server on a single host

Thanks and Regards

Kaushal

Re: 3 instance of Tomcat Server

Posted by Hassan Schroeder <ha...@gmail.com>.
On Tue, Apr 8, 2008 at 1:26 AM, Mikolaj Rydzewski <mi...@ceti.pl> wrote:
>
> > How can i install 3 instance of Tomcat Server on a single host
> >
>  Make each instance use its own port (for incoming requests and shutdown
> command).

Or separate IP addresses, though you'll need different shutdown
ports (since those only respond to localhost).

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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


Re: 3 instance of Tomcat Server

Posted by Mikolaj Rydzewski <mi...@ceti.pl>.
Kaushal Shriyan wrote:
> How can i install 3 instance of Tomcat Server on a single host
>   
Make each instance use its own port (for incoming requests and shutdown 
command).

-- 
Mikolaj Rydzewski <mi...@ceti.pl>


Re: 3 instance of Tomcat Server

Posted by William Bonnet <wi...@wbonnet.net>.
Hi

> How can i install 3 instance of Tomcat Server on a single host

You have to make the different instances listen on different ports. To use
a different port number, back up and edit the port attribute value of
Connector element in $CATALINA_HOME/conf/server.xml

Exemple :

<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8081" maxHttpHeaderSize="8192"

Then restart Tomcat ($CATALINA_HOME/bin/startup.sh on Unix or
%CATALINA_HOME%\bin\startup.bat on Windows), and check server status at URL
http://localhost:8081

Do the same for the third instance using port 8082.

Regards,

-- 
William                  http://www.wbonnet.net

http://www.sunwizard.net Le site français des amateurs de stations Unix
http://www.blastwave.org An OpenSolaris Community Site
http://www.guses.org     French speaking Solaris User Group


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