This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes JBoss Load Balance 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 "JBoss Load Balance" Watch "JBoss Load Balance" New topic

JBoss Load Balance

Otavio D Angelis Furtado

Joined: Apr 17, 2009
Posts: 2
I have 4 jboss clustered nodes in a production environment and I'm using apache + jk_mod with ajp protocol to do the load balance between nodes.
But the nodes have been in an inconsistent state sometimes, and the jk_mod can't do the automatic recover/refresh of theses nodes.
I found another solutions named Nginx, but natively it doesn't have the ajp module. To include this module I have to compile the Nginx with a 3rd party module.
I did some tests with Nginx using reverse proxy to do the load balance in theses nodes.

So, I have a question: What is best solution to do a load balance? Use the AJP protocol or a Reverse Proxy?
wood burning stoves
subject: JBoss Load Balance
Similar Threads
Problems with Apache - JK - JBoss first running fine then loosing connections and stop working
After I've configured Apache+Tomcat, WEB-INF cannot be accessed from JSP
Clustering SSL requestes in JBoss+Jetty (3.2.1)
understanding load balancing with mod_jk and tomcat
semi complex httpd -> tomcat proxy setup issues