Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6643

DistributedTopicTest testFloodSubscription is failling with db2 database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.1 ER3
    • EAP_EWP 5.1.1 ER2
    • Messaging
    • None
    • NEW

    Description

      Hi,

      DistributedTopicTest.testFloodSubscription is failing in with DB2-97 database.

      Test scenario:
      1. 3 node in cluster
      2. deploy topic on all
      3. create connection -> session to each node
      4. sequentially subscribe 50 subscribers to topic on each session
      ... during the 9th subscribe on topic on node 0 this i found in logs:

      08:27:59,918 ERROR @Incoming-9,10.16.88.197:60286 [GroupMember] Caught Exception in RequestHandler
      java.lang.IllegalStateException: Channel id map for node 2 already contains binding for queue 40
      at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBindingInMemory(MessagingPostOffice.java:3326)
      at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBindingFromCluster(MessagingPostOffice.java:1824)
      at org.jboss.messaging.core.impl.postoffice.BindRequest.execute(BindRequest.java:55)
      at org.jboss.messaging.core.impl.postoffice.GroupMember$ControlRequestHandler.handle(GroupMember.java:725)
      ...
      08:27:59,927 TRACE @WorkerThread#2[10.16.88.197:43750] [MessagingPostOffice] org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@2a5ab9 queue c1.sess_0_9 exists on node 0
      08:27:59,927 TRACE @WorkerThread#2[10.16.88.197:43750] [MessagingPostOffice] org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@2a5ab9 queue c1.sess_0_9 exists on node 1
      08:27:59,927 TRACE @WorkerThread#2[10.16.88.197:43750] [MessagingPostOffice] org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@2a5ab9 queue c1.sess_0_9 does not exist on node 2
      08:27:59,928 TRACE @WorkerThread#2[10.16.88.197:43750] [MessagingPostOffice] org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@2a5ab9 waiting for bind unbind lock, timeout=180000
      ...
      java.lang.IllegalStateException: org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@15151aa timed out waiting for bind ALL to occur
      at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.waitForBindUnbind(MessagingPostOffice.java:2725)
      at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBinding(MessagingPostOffice.java:913)

      It seems like that c1.sess_0_9 wasn't created on node 2 because there is already a channel with this ID. Also failure occurs always when 9th subscription is created.

      I'll set priority as major because i'm not sure whether this is test suite problem. Could you look at it please?

      Thank you,

      Mirek

      Attachments

        Activity

          People

            gaohoward Howard Gao
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: