This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Failover with custom check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Failover with custom check " Watch "Failover with custom check " New topic

Failover with custom check

Volker Weinberger

Joined: Nov 07, 2011
Posts: 2
i am using apache with mod_jk and 2 tomcat servers. The failover works great in case of one tomcat server crashing and not responding any more. But if, for example,
one server can not connect to the database, it is still responding but should no longer be accessible. Is there the possibility to do a custom check with mod_jk or anything
like that? For example to check a return value from a page which tests the availibility of the database.
subject: Failover with custom check
jQuery in Action, 3rd edition