Do you need to modify or specify any port numbers for the multiple servers/VMs in a
cluster ? I am assuming that each VM (node) in the cluster will need to listen to
different ports, and this might not be taken care of magically by JBoss, as witnessed
below by my second instance (node) in a cluster not being able to start the WebService
since another node is already listening to to the port. I run one instance of JBoss
via "run-c all" and when I run another instance of JBoss (which will make it the
second node in the cluster, right ?) I get the following exception:
13:57:57,278 ERROR [WebService] Starting failed jboss:service=WebService
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.(ServerSocket.java:185)
at org.jboss.web.WebServer.start(WebServer.java:178)
at org.jboss.web.WebService.startService(WebService.java:286)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
Any insights or suggestions will be appreciated, thanks in advance.
-James
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843010#3843010
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843010
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user