File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Failover with custom check " Watch "Failover with custom check " New topic
Author

Failover with custom check

Volker Weinberger
Greenhorn

Joined: Nov 07, 2011
Posts: 2
Hi,
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
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