RE: Tomcat and Apache on the same port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony,

I agree with Joshua: quite complicating things for yourself. 

It sounds like you are trying to solve a performance problem of some sort
but speaking from experience those are highly dubious pursuits unless you
have a very, very well qualified issue. Otherwise, it's purely academic
IMHO. I don't remember where I read this but the rules for performance
tuning are something along the lines of: 

  1. Don't 
  2. Don't yet (for experts only)

My advice, don't worry about performance until there is a qualified
performance issue (i.e. one identified by a customer/end user) and stick
with the Apache/mod_jk/Tomcat reverse proxy configuration since it's an
industrial strength solution. 


Cheers,

Jeff



> -----Original Message-----
> From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua Slive
> Sent: Friday, September 28, 2007 11:04 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  Tomcat and Apache on the same port?
> 
> On 9/28/07, Tony Anecito <adanecito@xxxxxxxxx> wrote:
> > I have a web site with static content on it. My router
> > has only one static ip thus one url and port.
> 
> Quit complicating your life. There are at least three easy solutions
> to your problem:
> 
> 1. Tomcat CAN serve static content. So just use tomact and forget
> about apache httpd.
> 
> 2. Use a standard apache httpd+tomcat install. Lots of people do this
> and it is plenty performant and not that complicated.
> 
> 3. Put the two on different ports (assuming your ISP doesn't block
> non-80 ports).
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux