Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 Applications running on one tomcat on different IP

Status
Not open for further replies.

ankmoh

Programmer
Jul 23, 2003
1
FR
I would Like to know that is it possible to have follwoing set up

1.Have One tomcat Server installed on a machine

2.Two Web Applications running on Tomcat on that machine

3.Both the Applications running on different IP.

1, and 2 is ok but I do not know how to configure 3

looking for urgent help in this regard

Ankush

 
As in two sites with different hostname and/or domain names? If so, you just need a <Host> section for each one. See the Virtual Hosting section of the Tomcat docs.

Also, something I learned [the hard way] when doing virtual hosting in Tomcat: Each <Host> *must* have an explicitly defined <Context> element as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top