I read that JBoss can handle load balancing itself (Sharing server load between jboss instances) .I do not want load balancing between nodes. This site explains load balancing.
I want a Jboss instance working as a primary instance.Second instance will run when primary instance is not available.But what I understand, Jboss could not recover failover itself. I need to use Apache mod_jk in front of these servers.
Am I right? If not, please show the way configuring failover recovery without a third party software.
JBoss handle load balancing for clustered EJB applications, the client API will handle that.
Http is not load-balanced, so you need a instance to do it. If you use mod_jk or mod_cluster this will be 'automatic'.
If you don't want that you can use another approach, i.e. switch DNS entries or virtual IP address.
So you need a third-party to handle it