wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
It is sorta covered in the JavaRanch Style Guide.
subject: Failover with custom check
Similar Threads
Integration of apache and tomcat
Persisting Sessions to Database
Apache/Tomcat error:JVM_recv in socket input stream read
Can I use mod_jk + Tomcat and mod_jserv + JServ with the same Apache server?
URL redirect