That should work. Please describe in more detail what you are seeing.
We use jboss 4.05. The ear contains EJB, JCA components and Web application.
When two nodes are running I can access to web application. Then when I shutdown the main node I can see in the console of the second node the EJB and JCA components are getting activated, but nothing about the web application. I tried to connect to the web application via browser but get no such page error: "Unable to connect. Firefox can't establish a connection to the server at localhost:8080"
I also can see that the port 8080, which supposed to be used by tomcat is not occupied. I checked server log of the second node - there was nor error there.
In my development environment I run both node on the same machine.
Tomcat listening or not on 'localhost:8080' is independent of whether your WAR is deployed and unrelated to use of deploy-hasingleton. So, you should start investigating there; find out why Tomcat isn't listening on the expected port. The war not deploying may just be a further symptom of a problem with the webserver.
If you are running 2 nodes on the same machine, how are you avoiding port conflicts? Using ServiceBindingManager or using "-b localhost" on one and "-b www.xxx.yyy.zzz" on the other?
You were right the notes were competing for the same port. The problem was gone once I setup different ports for each node.
Thanks a lot Brain, I really appreciate your help.