Hi, I am developing a chat application, and i have deployed it on the server and its working fine. Its hosted on Tomcat 3.2.2 server. But there are some other applications ( other than my chat application) hosted on the same Tomcat server. So if some problem comes in one of these application, the Tomcat server gets shutdown , and this in turn affects my chat application. I would like to know if we can have several instances of Tomcat server running, each hosting one application, and each running at a different port. If this is possible, do i need to have 3 tomcat servers running in the same machine(each with a different port number), or just one will be fine. Do any of u people have a solution for this. Im in a real fix. Please helpme out. Kindest regards Saj
I think tomcat4.0 provides that functinality. I guess the setup process for this is mentioned somewhere in Tomcat documentation ...dont have the link right now I dont think tomcat 3.2.2 supports this ... Cheers Jayram ------------------ What if this is as good as it gets ?
Contrariwise. I think it's actually specifically mentioned in the docs. In Tomcat 4, I'm sure of it - they have 2 separate HOME environment variables - one for the Catalina system as a whole and one for the server instance. The key thing is that each server must have its own unique TCP/IP ports. But that's what you wanted anyway. You address that in the server.xml file.
An IDE is no substitute for an Intelligent Developer.
i dont know about tomcat 4.0 , but to run two instaces of tomcat what i did was , I created two tomcat directories ,for example : jakarta-tomcat and other is jakarta-tomcatone , then set two tomcat homw is autoexec and set conf dir files of each tomcat dir accordingly , start each instace on different port and you will have two instaces of tomcat running on different ports.