You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Lee Grey <le...@mindspring.com> on 2002/11/09 01:37:07 UTC

[users@httpd] Comparable list for Tomcat?

Is there an analogous list to this one for Tomcat users?  Or can I get some
Apache/Tomcat integration help here?

Ah, what the heck, everybody's got broadband, right?  I'll just take my
chances and ask.  If there's a better place to ask this, just point me in
the right direction, please.

I have three different web applications I want to run on Tomcat.  Each needs
to run under its own domain, let's call them http://www.a.com,
http://www.b.com, and http://www.c.com.  I have a couple of Linux boxes to
configure in any way that makes sense.  At the moment, I only have
http://www.a.com running, and it runs on Apache and Tomcat in the same box.

Now, I'm ready to deploy http://www.b.com, which is a different application
entirely.  And I'm not sure how to go about this.  For example, do I need to
run a separate instance of Tomcat for this second application, or can I run
this web app on a different port under the same instance of Tomcat?  Or can
it even run on the same port, just with a different directory mapping?  And
how do I point http://www.b.com to the right Tomcat application from Apache?
I've already done this once with http://www.a.com, but I don't seem to have
enough information to extrapolate it for multiple Tomcat applications.

This is essentially the kind of issue a servlet-friendly web hosting service
would face.  How do I set up my servers to handle multiple applications and
domains?  In my case, I can trust all the apps, since they are all under my
control, but the overall objective is still the same.  One other factor is
that I'd like the ability to utilize multiple Linux boxes to spread the
load.  I don't necessarily have to do load-balancing.  Each box could be
dedicated for a particular domain and Tomcat application, if that is simpler
and easier.  But there's got to be an Apache server in front, distributing
the traffic to the appropriate Tomcat server.

I guess one thing that would be helpful would be sample Apache httpd.conf
and Tomcat server.xml files that allow for more than one Tomcat application.
Does anyone have such examples they'd be willing to share?

Any pointers, any answers, anything would be greatly appreciated!  BTW, I'm
currently running Red Hat 7.2, Apache 1.3, and Tomcat 4.

Thanks,
Lee Grey
Grey Matter
http://www.URLinOne.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Comparable list for Tomcat?

Posted by "Paul D. Bain" <pa...@pobox.com>.
At Friday 11/8/02 07:37 PM, you wrote:
>Is there an analogous list to this one for Tomcat users?  Or can I get some
>Apache/Tomcat integration help here?
>
>Ah, what the heck, everybody's got broadband, right?  I'll just take my
>chances and ask.  If there's a better place to ask this, just point me in
>the right direction, please.

Lee --

         I strongly suggest that you ask your Tomcat and Apache integration 
questions on this second mailing list: tomcat-user@jakarta.apache.org. Or 
better yet, search the archives therefor _first_, because these questions 
have arisen (and been well answered) many times on that list.

-- Paul Bain


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org