tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Richard <>
Subject Re: tomcat 6 virtual hosting vs apache virtual hosting
Date Wed, 05 Sep 2012 18:43:04 GMT
Thanks for the replies.

I'm not completely sure yet about the application segmentation.  2nd day on
the job and there's lots to do!  I'm not used to this method of configuring
Tomcat so I'm still trying to make sure I understand exactly what is going
on and I have very limited time to do so.  Apache is used in front of
Tomcat which I'm used to doing and is using mod_jk.

Whenever I've used this in the past, all apps were off the webapps folder
and no tomcat virtual host was used.  Apache would do the virtual host
config and Jkmount the entire tomcat webapps.  I could see this not being
efficient and the need to use the Tomcat virtual hosting, I just need to
understand Tomcat virtual hosting a bit better.


On Wed, Sep 5, 2012 at 3:22 PM, Christopher Schultz <> wrote:

> Hash: SHA1
> Charles,
> On 9/4/12 2:13 PM, Charles Richard wrote:
> > I've started a new job where the last sysadmin has the virtual
> > hosting configured in Tomcat (and Apache).  I'm used to only doing
> > virtual hosting with Apache.
> >
> > What are the pros and cons of each method?  I'm trying to
> > understand why that would be needed.
> I'd like to add some questions to those posed by André:
> 1. How are you connecting Apache httpd to Tomcat? mod_jk/mod_proxy_ajp
> or mod_proxt_http?
> 2. Do you ever need to access Tomcat directly, or does all traffic go
> through Apache httpd first?
> 3. Does Apache httpd add anything to your environment that you can't
> (or don't want to) do through Tomcat? Perhaps httpd isn't even necessary.
> 4. Describe your application segmentation: do you have one or more
> webapps deployed in each virtual host that are identical *other* than
> the fact that they are deployed on separate virtual hosts? For
> example, does the application in VH A behave differently than the same
> application in VH B? Sometimes, it's the same app with a different
> configuration which changes the kind of advice we might give you.
> - -chris
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools -
> Comment: Using GnuPG with Mozilla -
> UXkAn37wpiiNbZsgElQlv+xkNsPblTkE
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message