wood burning stoves 2.0
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "multiple tomcat engines and apache" Watch "multiple tomcat engines and apache" New topic

multiple tomcat engines and apache

Ronnie Livingston

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: 17421

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.

An IDE is no substitute for an Intelligent Developer.
Ronnie Livingston

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?
I agree. Here's the link: http://aspose.com/file-tools
subject: multiple tomcat engines and apache
It's not a secret anymore!