tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean M. Duncan" <>
Subject Re: Tomcat 4 doesn't start http service on Linux?
Date Mon, 17 Jan 2005 20:46:34 GMT
My first suggestion would be to set up Apache httpd as the load balancer
using mod_jk.  This will give you much more accurate node availability
detection.  This solution also provides much more flexibility when it
comes to using the session tracking API (session affinity, session
replication or both).

If you are running a "stateless" application or are forced to use BigIP
there is a less than ideal node detection scheme available.

I believe BigIP has the capability of pluggable node detection schemes.
You could set up a low overhead resource within your application context
or the root context. BigIP could then run an HTTP Get against that
resource periodically to ensure that the application is still available
on that node.

I'm sure someone could come up with a better pluggable node detection
scheme, but I haven't really given it to much thought since BigIP is
overkill for most situations and there is a scalable, robust and
infinitely cheaper solution available via mod_jk.

On Mon, 2005-01-17 at 11:52 -0600, Stephen Charles Huey wrote:
> We just installed Tomcat 4 on 2 Red Hat servers, and we have a BigIP
> load balancer in front of them.  In troubleshooting an issue, the guy
> working with our BigIP said that when he was running Apache on either of
> the Linux servers, the load balancer could tell that the http service
> was running, but when Tomcat was running, it didn't know what to check
> for on a service level, so in the end, they had to set it up to just do
> a TCP check to see if the port was open.  
> He says this isn't ideal since the port being open doesn't mean the
> service is up (meaning Tomcat).  He thinks that Tomcat should start up
> the http service (I guess he means httpd) when it starts--that maybe I
> just need to look around in Tomcat's configuration for the place to set
> this, but I'm not so sure that this is the case.  
> In a nutshell:  is Tomcat supposed to start up the http service or
> something similar to what BigIP is looking for from Apache?  
> Thanks...
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message