GeeCON Prague 2014*
The moose likes Tomcat and the fly likes multiple tomcat engines and apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "multiple tomcat engines and apache" Watch "multiple tomcat engines and apache" New topic
Author

multiple tomcat engines and apache

Ronnie Livingston
Greenhorn

Joined: Aug 07, 2001
Posts: 17
hi, I have multiple tomcat engines running different web applications on one machine and they are both configured under one apache web server.
I seem to recall reading that tomcat needs to be started before starting apache and I was wondering how this would be possible if you have one web application running and apache is already running also. Does one let the developer of the second web application shutdown and startup apache or is there another way to "refresh" apache?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16101
    
  21

At the moment, you can't "refresh" Apache. If you stop any of the Tomcats, you need to restart Apache so it can connect to the new Tomcat(s).
Someday they hope to cure that.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ronnie Livingston
Greenhorn

Joined: Aug 07, 2001
Posts: 17
thanks for the reply tim. How would a web host for servlets handle this then? Is each user given their own apache which they will have to restart manually each time they modify their servlets?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: multiple tomcat engines and apache