File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "url redirection" Watch "url redirection" New topic

url redirection

Vikky Bhat

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

Javid Jamae
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 on Twitter
Vikky Bhat

Joined: Oct 23, 2008
Posts: 20
Thank you so much Javid.....the problem is solved!!!
It is sorta covered in the JavaRanch Style Guide.
subject: url redirection
Similar Threads
JTree UI
Jboss clustering
websphere 7 clustering environment with Session Replication queries.
Tomcat session replication on failover in a cluster
Weblogic Multiple nodes question