0 Replies Latest reply on Apr 20, 2005 6:40 AM by Himadri Saha

    HA deployment takes a long time

    Himadri Saha Newbie

      Hi ,
      We are trying to setup HA in 2 nodes. We are deploying the application EARs in both.
      But while starting up JBoss, the deployment works fine for the node which is started first and takes some 5-7 mins which is ok .

      But for the second node (the one which is started later), it takes as long as 80 mins. Each EJB takes more than 1 min to get verified and deployed. Following is the log in server.log for each EJB:

      2005-04-20 02:58:01,076 DEBUG [org.jboss.remoting.transport.async.AsyncServerInvoker] server received invocation =>RemoteMethodInvocation [sessionId:org.jboss.remoting.detection.multicast.MulticastDetector,subsystem:self,locator:InvokerLocator [async://10.253.201.242:8085/?compression=-1&tcp.nodelay=true]]
      2005-04-20 02:58:01,077 DEBUG [org.jboss.remoting.transport.async.AsyncServerInvoker] deserialized param: $PING$
      2005-04-20 02:58:01,180 DEBUG [org.jboss.remoting.detection.multicast.MulticastDetector] detection for: Detection [identity:JBOSS Identity [address:appi7/10.253.201.242,instanceid:4f957fa885a3ef1ax-7aa4114ex1035e780465x-7fde914,JMX id:appi7_1113986723953,domain:JBOSS],locators:2] has not been received in: 5000 ms, contacting..
      2005-04-20 02:58:01,181 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] 1) invoking =>RemoteMethodInvocation [sessionId:org.jboss.remoting.detection.multicast.MulticastDetector,subsystem:self,locator:InvokerLocator [socket://10.253.201.241:8084/]] with parameter: $PING$
      2005-04-20 02:58:01,187 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] received result=>org.jboss.remoting.RemoteMethodInvocationResult@b0f534
      2005-04-20 02:58:01,187 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] unmarshal (ClassBytes [class=java.lang.Boolean,value=[B@1b24706],null)
      2005-04-20 02:58:01,187 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] ... load class: java.lang.Boolean
      2005-04-20 02:58:01,187 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] ... trying classbyteclassloader - load class: java.lang.Boolean
      2005-04-20 02:58:01,188 DEBUG [org.jboss.remoting.detection.multicast.MulticastDetector] detection for: Detection [identity:JBOSS Identity [address:appi7/10.253.201.242,instanceid:4f957fa885a3ef1ax-7aa4114ex1035e780465x-7fde914,JMX id:appi7_1113986723953,domain:JBOSS],locators:2] recovered on ping
      2005-04-20 02:58:07,117 DEBUG [org.jboss.remoting.transport.async.AsyncServerInvoker] server received invocation =>RemoteMethodInvocation [sessionId:org.jboss.remoting.detection.multicast.MulticastDetector,subsystem:self,locator:InvokerLocator [async://10.253.201.242:8085/?compression=-1&tcp.nodelay=true]]
      2005-04-20 02:58:07,117 DEBUG [org.jboss.remoting.transport.async.AsyncServerInvoker] deserialized param: $PING$
      2005-04-20 02:58:07,210 DEBUG [org.jboss.remoting.detection.multicast.MulticastDetector] detection for: Detection [identity:JBOSS Identity [address:appi7/10.253.201.242,instanceid:4f957fa885a3ef1ax-7aa4114ex1035e780465x-7fde914,JMX id:appi7_1113986723953,domain:JBOSS],locators:2] has not been received in: 5000 ms, contacting..
      2005-04-20 02:58:07,211 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] 1) invoking =>RemoteMethodInvocation [sessionId:org.jboss.remoting.detection.multicast.MulticastDetector,subsystem:self,locator:InvokerLocator [socket://10.253.201.241:8084/]] with parameter: $PING$
      2005-04-20 02:58:07,217 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] received result=>org.jboss.remoting.RemoteMethodInvocationResult@10acf26
      2005-04-20 02:58:07,217 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] unmarshal (ClassBytes [class=java.lang.Boolean,value=[B@a606e6],null)
      2005-04-20 02:58:07,217 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] ... load class: java.lang.Boolean
      2005-04-20 02:58:07,217 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] ... trying classbyteclassloader - load class: java.lang.Boolean
      2005-04-20 02:58:07,218 DEBUG [org.jboss.remoting.detection.multicast.MulticastDetector] detection for: Detection [identity:JBOSS Identity [address:appi7/10.253.201.242,instanceid:4f957fa885a3ef1ax-7aa4114ex1035e780465x-7fde914,JMX id:appi7_1113986723953,domain:JBOSS],locators:2] recovered on ping

      Node 1 is appi7/10.253.201.242
      Node2 is appi6/10.253.201.241

      Any inputs will be of great help.

      Thanks
      Himadri