wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark ""advanced" load balancing (apache/tomcat)" Watch ""advanced" load balancing (apache/tomcat)" New topic
Author

"advanced" load balancing (apache/tomcat)

karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi

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.

karl
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "advanced" load balancing (apache/tomcat)