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

Consumer hangs up when EAP server doesn't have a connection to database and can't get messages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.3.0.GA_CP10
    • 4.3.0.GA_CP08
    • Messaging
    • None
    • Not Required

    Description

      Hi Howard,
      we found possible issue with JBM during our testing of patch JBPAPP-5841 for EAP 4.3 CP08.

      When one node in cluster of four nodes loose a connection to DB and consumer tries from this node read messages then this consumer won't get exception. Consumer stays connected to this node and waits. I use consumer.receive(1000) and no exception is thrown and hangs up (it should receive null message after 1 s or exception).
      Before i've patched the EAP 4.3 CP08 servers in cluster and disconnected DB from one of them, consumer got an exception when this node could not give him any messages. This is expected behaviour.

      Please could you try to reproduce it? Please confirm that this is regression.

      Mirek

      Attachments

        1. log.txt
          30 kB
        2. node1_profile.zip
          1.75 MB
        3. server_logs.zip
          173 kB
        4. thread_dump_client.log
          14 kB

        Activity

          People

            gaohoward Howard Gao
            mnovak1@redhat.com Miroslav Novak
            Jared Morgan Jared Morgan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: