• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1363
  • Last Modified:

JBoss - High Availbility

I wish to implement HA solution for my application which is running on JBoss Application Server 3.2.5.
Basically my application is running on 2 different servers in Active-Passive Mode. I realize that I need a cluster software to redirect client's request to the active(primary) server and if the active server is down, the cluster software should be able start the passive(secondary) server and all subsequent request will be redirected to the server.
What I wish to know is, is there any such clustering software for JBoss in the market?
In fact, my application is running a  program which is listening at certain port. Is there anyway for failover the program as well? Meaning, if the primary server down, all connection to the specific port will be automatically failover to secondry server? is it workable??

thanks for any response...
  • 2
1 Solution
pleasureAuthor Commented:
hi valipotor,
As what I understand (correct me if i'm wrong), JBoss Clustering is capable for failover and load balance JNDI, RMI, Entity Beans, Stateful Session Beans with in-memory state replication, and Stateless Session Beans. What if the whole JBoss Application Server is down? is it capable to failover to another JBoss Application Server which is running on the other machine?

If my application is listening to specific port (says 5500) and i deploy the application on 2 different machine, once the JBoss clustering receive the request, can it channel the request to the primary server? Normally when we talk about Load Balancer, we assume those are HTTP request, what if it's a normal socket request?

please guide..:)

I don't think JBoss Clustering can redirect a socket connection. It deals only with J2EE components.
From here http://www.clustercomputing.org/index.jsp?page=/content/tfcc-5-2-labourey.shtml
you can get a picture of how it's working.

Anyway, why you need a socket listener inside a J2EE application???

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Managing Security Policy in a Changing Environment

The enterprise network environment is evolving rapidly as companies extend their physical data centers to embrace cloud computing and software-defined networking. This new reality means that the challenge of managing the security policy is much more dynamic and complex.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now