Apache failover for JBoss
Posted
by
DaveB
on Server Fault
See other posts from Server Fault
or by DaveB
Published on 2012-11-27T16:42:27Z
Indexed on
2012/11/27
17:06 UTC
Read the original article
Hit count: 1303
I am running a JBoss web app (AS 6 Final) hosted on linux (Debian). I would like to implement a failover solution so that when JBoss is down, a static web page is served in its place.
My current solution is to run Apache as a reverse proxy (described here), which allows me to serve .php files from apache and forward all other requests to JBoss. But I am not sure how make Apache step in when JBoss is down?
Note. both apache and jboss will be running on the same box, this is (Application failover rather then server failover) to cover times when JBoss is re-deploying etc. So I am looking for the simplest solution really
Many thanks
© Server Fault or respective owner