File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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)
jQuery in Action, 3rd edition