File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes installing multiple instance of tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "installing multiple instance of tomcat" Watch "installing multiple instance of tomcat" New topic

installing multiple instance of tomcat

vivek kumbhar

Joined: May 12, 2004
Posts: 1

I am trying to installing multiple of tomcat and relate it to single apache installation on the same server.
Here is what i did :
Installed Tomcat3.2.3 twice
Installed Apache
Installed jdk1.3.1_10
Added the required parameter in the profile file.
Changed the ports for Ajp12ConnectionHandler, HttpConnectionHandler
Made necessary changes in server.xml
Added the Inculde conf/mod_jk.conf-auto in the httpd.conf file.
I find one site working fine while the other not working. It gives
Not Found (404)
Original request: /yyy/index.jsp

here is the explanation :
http://localhost:8888/xxx -> working fine
http://localhost:9999/yyy -> working fine

http://localhost/xxx -> not working
http://localhost/yyy -> working fine.
I hope i have configure the VirtualHost properly. Pls guide me on VirtualHost setting and also what could be the trick to solve this mystery.

Any suggestion will be of great help.
- VIvek
Ravikumar Chellaboina

Joined: May 14, 2004
Posts: 9
Here you go..

It is for Unix.. But only change would be the document root.

Good Luck

Ravi <img src="smile.gif" border="0"> <br />---------<br />Go Get it..
I agree. Here's the link:
subject: installing multiple instance of tomcat
It's not a secret anymore!