mq
  1. mq
  2. MQ-117

imqcmd dump trans -debug got ConcurrentModificationException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.4u2, 4.5
    • Fix Version/s: 4.5.2, 5.0
    • Component/s: None
    • Labels:
      None

      Description

      The following exception logged in broker log when running imqcmd dump trans -debug on a broker (4.4u2p2) with high load of transacted message processing

      [30/Aug/2011:23:50:43 PDT] [B1065]: Accepting: admin@127.0.0.1:41797->admin:41571. Count: service=1 broker=1
      [30/Aug/2011:23:50:45 PDT] Error dumping trans because null:
      java.util.ConcurrentModificationException
      at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
      at java.util.AbstractList$Itr.next(AbstractList.java:343)
      at com.sun.messaging.jmq.jmsserver.data.TransactionReaper.getDebugState(TransactionList.java:3238)
      at com.sun.messaging.jmq.jmsserver.data.TransactionList.getDebugState(TransactionList.java:465)
      at com.sun.messaging.jmq.jmsserver.data.handlers.admin.DebugHandler.getTransactionInfo(DebugHandler.java:1024)
      at com.sun.messaging.jmq.jmsserver.data.handlers.admin.DebugHandler.getDebugInfo(DebugHandler.java:824)
      at com.sun.messaging.jmq.jmsserver.data.handlers.admin.DebugHandler.handle(DebugHandler.java:196)
      at com.sun.messaging.jmq.jmsserver.data.handlers.admin.AdminDataHandler.handle(AdminDataHandler.java:263)
      at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:181)
      at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.readData(IMQIPConnection.java:1355)
      at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:542)
      at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:170)
      at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:493)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        Hide
        amyk added a comment -

        Fixed in 4.6 build5

        Show
        amyk added a comment - Fixed in 4.6 build5
        Hide
        amyk added a comment -

        Fixed in 4.5.2

        Show
        amyk added a comment - Fixed in 4.5.2
        Hide
        saradak added a comment -

        Verified the bug with 4.5.2-b2d

        Testcase
        ---------
        1. Start the broker.
        2. Send large no. of transacted messages
        3. call imqcmd dump trans -debug multiple times.

        No exceptions were seen on broker.

        -Sarada.

        Show
        saradak added a comment - Verified the bug with 4.5.2-b2d Testcase --------- 1. Start the broker. 2. Send large no. of transacted messages 3. call imqcmd dump trans -debug multiple times. No exceptions were seen on broker. -Sarada.

          People

          • Assignee:
            amyk
            Reporter:
            amyk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: