0 Replies Latest reply on Feb 16, 2006 10:07 AM by Earnest Dyke

    JMS failover problem

    Earnest Dyke Novice

      Greetings all.

      We inadvertently tested JMS failover in our cluster this morning with less than favorable results. The "master" server (i.e. the one running JMS) was shut down and the second server received the following messages. It was not until we brought the "master" back online that things went to working again. Is this the way it is supposed to work?

      Earnie!

      2006-02-16 09:52:12,907 INFO [org.jboss.cache.TreeCache] viewAccepted(): new members: [pelias:3998]
      2006-02-16 09:52:17,813 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/D:/jboss-4.0.1sp1/server/vrs/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      2006-02-16 09:52:18,517 INFO [org.jboss.mq.il.oil.OILServerILService] JBossMQ OIL service available at : /0.0.0.0:8090
      2006-02-16 09:52:18,579 INFO [org.jboss.mq.il.uil2.UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      2006-02-16 09:52:18,610 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ
      2006-02-16 09:52:18,626 INFO [org.jboss.mq.server.jmx.Queue.ssLoginLogQueue] Bound to JNDI name: queue/ssLoginLogQueue
      2006-02-16 09:52:18,626 INFO [org.jboss.mq.server.jmx.Queue.ssRegistrationLogQueue] Bound to JNDI name: queue/ssRegistrationLogQueue
      2006-02-16 09:52:18,892 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.VRSPROD] New cluster view for partition VRSPROD (id: 4, delta: -1) : [10.1.1.80:1099]
      2006-02-16 09:52:21,376 WARN [org.jboss.mq.Connection] Connection failure:
      org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketException: Connection reset)
       at org.jboss.mq.Connection.asynchFailure(Connection.java:436)
       at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:406)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:338)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:168)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
       at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
       at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200)
       at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380)
       at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447)
       at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519)
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:285)
       ... 1 more
      2006-02-16 09:52:21,376 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketException: Connection reset)
       at org.jboss.mq.Connection.asynchFailure(Connection.java:436)
       at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:406)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:338)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:168)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
       at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
       at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200)
       at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380)
       at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447)
       at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519)
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:285)
       ... 1 more