aspose file tools*
The moose likes Tomcat and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark ""advanced" load balancing (apache/tomcat)" Watch ""advanced" load balancing (apache/tomcat)" New topic

"advanced" load balancing (apache/tomcat)

karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388

i configured load balanced tomcat/apache with mod_jk and this works fine. now we have more requirements and i am not sure on how to do this. perhaps someone can help or point me in the right direction:

- since we have sticky sessions without session replication (no transparent failover) we would like apache to show the user a custom error page when "his" tomcat goes down. after this error page he can start over on a new tomcat

- configure a session limit on apache. if this limit is exceeded, then only error page is shown (e.g. please try again later and stop hitting the reload button because this just makes it worse :-) )

is this possible in mod_jk configuration ? is it possible at all ?

thanks for your help.

I agree. Here's the link:
subject: "advanced" load balancing (apache/tomcat)
Similar Threads
Can I use mod_jk + Tomcat and mod_jserv + JServ with the same Apache server?
Tomcat to Apache Connection
install tomcat on server with apache
HTTPS loadbalancing and clustering using Tomcat 6.x, Apache 2.2 and mod_jk-1.2.28
help w/ multiple web servers using mod_jk in Production env