i am running two instances of jboss As 4.2 on same host i.e node1 and node2 on localhost. now i need to know is the any way to redirect the url http://localhost:8088 (node1) to http://localhost:8089 (node2) when node1 is not running or the other way round. please help me out. should i use any proxy ssl for this? please let me know.
This is not handled by JBoss. You need to handle this before the request gets to JBoss using a load balancer. If you're running apache, you can use mod_proxy or mod_jk to do this. You can also accomplish this with a hardware load balancer.