javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException;|MDB00037: [backend-ear-0.0.0.1-SNAPSHOT:MessageProcessor]: Message-driven bean invocation ex ception: [javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException]|#] We suspected that the broker was removing the messages even before the acknowledgement is received from the MDB due to the TTL being set for some types of messages. Hence, we changed the TTL value to 0. However, even after making the TTL to 0, we still see that the exceptions are still being thrown [#|2010-08-05T11:10:34.136+0200|WARNING|sun-glassfish-comms-server1.5|javax.jms|_ThreadID=435;_ThreadName=p: thread-pool-1; w: 109;_RequestID=c71cd362-db29-413b-bcd0-ffeb7a864865;|[I500]: Caught JVM Exception: com.sun.messaging.jms.JMSException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[409] [B1290]: Transaction acknowledgement could not be processed because message 2720528-192.168.0.4(c7:69:53:86:9e:d4)-59781-1280998929518[[consumer:2274927222597296128, type=NONE]:[consumer:0, type=CLIENT_ACKNOWLEDGE]]TUID=2274927222650419200 reference is gone user=guest, broker=localhost:37676(43191)|#] [#|2010-08-05T11:10:34.136+0200|WARNING|sun-glassfish-comms-server1.5|javax.enterprise.system.stream.err|_ThreadID=435;_ThreadName=p: thread-pool-1; w: 109;_RequestID=c71cd362-db29-413b-bcd0-ffeb7a864865;| MQRA:OMR:run:JMSException on message acknowledgement:Rolling back if in txn|#] [#|2010-08-05T11:10:34.137+0200|WARNING|sun-glassfish-comms-server1.5|javax.enterprise.system.stream.err|_ThreadID=435;_ThreadName=p: thread-pool-1; w: 109;_RequestID=c71cd362-db29-413b-bcd0-ffeb7a864865;| com.sun.messaging.jms.JMSException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[409] [B1290]: Transaction acknowledgement could not be processed because message 2720528-192.168.0.4(c7:69:53:86:9e:d4)-59781-1280998929518[[consumer:2274927222597296128, type=NONE]:[consumer:0, type=CLIENT_ACKNOWLEDGE]]TUID=2274927222650419200 reference is gone user=guest, broker=localhost:37676(43191)

Oracle Community | 392 Guest | 6 years ago
  1. 0

    JMS BrokerException

    Oracle Community | 6 years ago | 392 Guest
    javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException;|MDB00037: [backend-ear-0.0.0.1-SNAPSHOT:MessageProcessor]: Message-driven bean invocation ex ception: [javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException]|#] We suspected that the broker was removing the messages even before the acknowledgement is received from the MDB due to the TTL being set for some types of messages. Hence, we changed the TTL value to 0. However, even after making the TTL to 0, we still see that the exceptions are still being thrown [#|2010-08-05T11:10:34.136+0200|WARNING|sun-glassfish-comms-server1.5|javax.jms|_ThreadID=435;_ThreadName=p: thread-pool-1; w: 109;_RequestID=c71cd362-db29-413b-bcd0-ffeb7a864865;|[I500]: Caught JVM Exception: com.sun.messaging.jms.JMSException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[409] [B1290]: Transaction acknowledgement could not be processed because message 2720528-192.168.0.4(c7:69:53:86:9e:d4)-59781-1280998929518[[consumer:2274927222597296128, type=NONE]:[consumer:0, type=CLIENT_ACKNOWLEDGE]]TUID=2274927222650419200 reference is gone user=guest, broker=localhost:37676(43191)|#] [#|2010-08-05T11:10:34.136+0200|WARNING|sun-glassfish-comms-server1.5|javax.enterprise.system.stream.err|_ThreadID=435;_ThreadName=p: thread-pool-1; w: 109;_RequestID=c71cd362-db29-413b-bcd0-ffeb7a864865;| MQRA:OMR:run:JMSException on message acknowledgement:Rolling back if in txn|#] [#|2010-08-05T11:10:34.137+0200|WARNING|sun-glassfish-comms-server1.5|javax.enterprise.system.stream.err|_ThreadID=435;_ThreadName=p: thread-pool-1; w: 109;_RequestID=c71cd362-db29-413b-bcd0-ffeb7a864865;| com.sun.messaging.jms.JMSException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[409] [B1290]: Transaction acknowledgement could not be processed because message 2720528-192.168.0.4(c7:69:53:86:9e:d4)-59781-1280998929518[[consumer:2274927222597296128, type=NONE]:[consumer:0, type=CLIENT_ACKNOWLEDGE]]TUID=2274927222650419200 reference is gone user=guest, broker=localhost:37676(43191)
  2. 0

    JMSException on receive() for Expired Messages

    Oracle Community | 6 years ago | 807581
    com.sun.messaging.jms.JMSException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[409] [B1261]: Transaction acknowledgement could not be added because message 27-17.228.107.46(bb:0:ac:54:fe:6f)-60503-1277323914099[[consumer:8324667956156934400, type=NONE]:[consumer:0, type=NONE]]TUID=8324667956156936704 has already been removed user=guest, broker=server1:7676(54311)
  3. 0

    HA cluster, MQ 4.3: transaction acknowledgement could not be added

    Oracle Community | 7 years ago | 807581
    com.sun.messaging.jms.JMSException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[409] [B1261]: Transaction acknowledgement could not be added because message 2625-192.168.150.228(e1:1c:ce:66:95:6b)-2892-1260362178297[[consumer:4542484351898704896, type=NONE]:[consumer:0, type=AUTO_ACKNOWLEDGE]]TUID=4542484351910994688 has already been removed user=admin, broker=host1:1790(1797)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error Code C4036

    Oracle Community | 9 years ago | 807581
    com.sun.messaging.jms.JMSException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[500] Unable to process ack user=guest, broker=localhost:7676(13758) [java]
  6. 0

    Cannot add durable consumer null. No ClientID was set on connection.

    Oracle Community | 9 years ago | 843830
    com.sun.messaging.jms.JMSException: [ADD_CONSUMER_REPLY(15)] [C4036]: A broker error occurred. :[412] [B4135]: Cannot add durable consumer null. No ClientID was set on connection. user=guest, broker=localhost:37676(53330)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.messaging.jms.JMSException

      [ACKNOWLEDGE_REPLY(25)] [C4036]: A broker error occurred. :[409] [B1290]: Transaction acknowledgement could not be processed because message 2720528-192.168.0.4(c7:69:53:86:9e:d4)-59781-1280998929518[[consumer:2274927222597296128, type=NONE]:[consumer:0, type=CLIENT_ACKNOWLEDGE]]TUID=2274927222650419200 reference is gone user=guest, broker=localhost:37676(43191)

      at com.sun.messaging.jmq.jmsclient.ProtocolHandler.throwServerErrorException()
    2. com.sun.messaging
      ProtocolHandler.throwServerErrorException
      1. com.sun.messaging.jmq.jmsclient.ProtocolHandler.throwServerErrorException(ProtocolHandler.java:4003)
      1 frame