Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

"advanced" load balancing (apache/tomcat)  RSS feed

karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!