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

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

      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

        1. log.txt
          30 kB
          Miroslav Novak
        2. thread_dump_client.log
          14 kB
          Miroslav Novak

            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

              Created:
              Updated:
              Resolved: