-
1. Re: deploying web application as a singleton
brian.stansberry Jan 18, 2008 12:37 PM (in response to uabramov)That should work. Please describe in more detail what you are seeing.
-
2. Re: deploying web application as a singleton
uabramov Jan 18, 2008 1:18 PM (in response to uabramov)Hi Brian,
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.
Thank You,
Uri -
3. Re: deploying web application as a singleton
brian.stansberry Jan 18, 2008 1:42 PM (in response to uabramov)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? -
4. Re: deploying web application as a singleton
uabramov Jan 18, 2008 2:41 PM (in response to uabramov)
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.
Uri