Two Laptop Bag*
The moose likes JBoss/WildFly and the fly likes url redirection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "url redirection" Watch "url redirection" New topic
Author

url redirection

Vikky Bhat
Greenhorn

Joined: Oct 23, 2008
Posts: 20
hi,
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.


SCJP, SCWCD, WIPO-IP
Javid Jamae
Author
Ranch Hand

Joined: May 14, 2008
Posts: 198
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.


Author: JBoss in Action, javidjamae.com, @javidjamae on Twitter
Vikky Bhat
Greenhorn

Joined: Oct 23, 2008
Posts: 20
Thank you so much Javid.....the problem is solved!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: url redirection
 
Similar Threads
Jboss clustering
JTree UI
websphere 7 clustering environment with Session Replication queries.
Tomcat session replication on failover in a cluster
Weblogic Multiple nodes question