9 Replies Latest reply on Mar 9, 2011 5:43 PM by kiran sahoo

    JMS Persistence Manager Exception

    sys user Master

      I am getting this exception when sending a message to the queue.
      This happens occasionally.
      looks like two messages of the queue are creating the same message id and trying to persist in the JMS_MESSAGES table which has message_id and queue name as the Primary key.

      How is the message id generated?
      Is it a hashcode generated from the message?

      org.jboss.mq.SpyJMSException: Could not store message: 107056 msg=5326 hard NOT_STORED PERSISTENT queue=QUEUE.MyTestQueue priority=4 hashCode=3613670; - nested throwable: (java.sql.SQLException: ORA-00001: unique constraint (PK_JMSMESSAGE) violated