You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Keith Ng <wo...@yahoo.com> on 2002/03/02 10:15:28 UTC

2 instance of tomcat within 1 machine

Hi

I need to run two different server of tomcat 4.0.2 within one machine
tried running two instances of tomcat-4.0.2 startup and its not possible

one is for internet, the other is for intranet, therefore both should have
different port, but same IP address
also, how do i disable the web from accessing tat port(server) if my machine
is connected to the internet and anyone who tried to access tat port or
webapp from within intranet to provide password?



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: 2 instance of tomcat within 1 machine

Posted by "remy.menetrieux" <re...@pixelpark.com>.
Actually I have 3 tomcat copy 4.0.2
all use the same webapp directory

tomcat1
  bin
  classes
  common
  conf
  lib
  logs
  server
  work

   
tomcat2
  bin
  classes
  common
  conf
  lib
  logs
  server
  work
tomcat3
  bin
  classes
  common
  conf
  lib
  logs
  server
  work
/commonwebapp
this line is identic for all config.xml file
 <Host name="localhost" debug="0" appBase="/common/webapps" 
unpackWARs="true">
But be carreful the port of all listener must be different for each tomcat.

this help you ?




Keith Ng wrote:

>Which version of tomcat are u using?
>im using 4.0.2
>
>how did u configure? Must i have more then 1 copy of tomcat? I really
>dunno... pls help
>
>
>-----Original Message-----
>From: remy.menetrieux [mailto:remy.menetrieux@pixelpark.com]
>Sent: Tuesday, February 26, 2002 5:52 PM
>To: Tomcat Users List
>Subject: Re: 2 instance of tomcat within 1 machine
>
>
>Actually i have 3 different server of tomcat on the same machine and
>it's work perfectly  ...
>
>which configuration files have you ??
>REmY
>
>Keith Ng wrote:
>
>>Hi
>>
>>I need to run two different server of tomcat 4.0.2 within one machine
>>tried running two instances of tomcat-4.0.2 startup and its not possible
>>
>>one is for internet, the other is for intranet, therefore both should have
>>different port, but same IP address
>>also, how do i disable the web from accessing tat port(server) if my
>>
>machine
>
>>is connected to the internet and anyone who tried to access tat port or
>>webapp from within intranet to provide password?
>>
>>
>>
>>_________________________________________________________
>>Do You Yahoo!?
>>Get your free @yahoo.com address at http://mail.yahoo.com
>>
>>
>>--
>>To unsubscribe:   <ma...@jakarta.apache.org>
>>For additional commands: <ma...@jakarta.apache.org>
>>Troubles with the list: <ma...@jakarta.apache.org>
>>
>>
>>
>
>
>
>--
>To unsubscribe:   <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>--
>To unsubscribe:   <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
>
>


RE: 2 instance of tomcat within 1 machine

Posted by Keith Ng <wo...@yahoo.com>.
Which version of tomcat are u using?
im using 4.0.2

how did u configure? Must i have more then 1 copy of tomcat? I really
dunno... pls help


-----Original Message-----
From: remy.menetrieux [mailto:remy.menetrieux@pixelpark.com]
Sent: Tuesday, February 26, 2002 5:52 PM
To: Tomcat Users List
Subject: Re: 2 instance of tomcat within 1 machine


Actually i have 3 different server of tomcat on the same machine and
it's work perfectly  ...

which configuration files have you ??
REmY

Keith Ng wrote:

>Hi
>
>I need to run two different server of tomcat 4.0.2 within one machine
>tried running two instances of tomcat-4.0.2 startup and its not possible
>
>one is for internet, the other is for intranet, therefore both should have
>different port, but same IP address
>also, how do i disable the web from accessing tat port(server) if my
machine
>is connected to the internet and anyone who tried to access tat port or
>webapp from within intranet to provide password?
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>--
>To unsubscribe:   <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: 2 instance of tomcat within 1 machine

Posted by "remy.menetrieux" <re...@pixelpark.com>.
Actually i have 3 different server of tomcat on the same machine and 
it's work perfectly  ...

which configuration files have you ??
REmY

Keith Ng wrote:

>Hi
>
>I need to run two different server of tomcat 4.0.2 within one machine
>tried running two instances of tomcat-4.0.2 startup and its not possible
>
>one is for internet, the other is for intranet, therefore both should have
>different port, but same IP address
>also, how do i disable the web from accessing tat port(server) if my machine
>is connected to the internet and anyone who tried to access tat port or
>webapp from within intranet to provide password?
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>--
>To unsubscribe:   <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>