0 Replies Latest reply on Sep 30, 2002 9:40 AM by kuba.nowakowski

    jdbc2.PersistenceManager bug 2

    kuba.nowakowski

      Hi

      I thought that bug with jdbc2 PersistenceManager + MessageCache + MessageRef was solved.

      Almost.
      It works ok until you restart jboss. If you have lots of messages in db and highmemorymark and maxmemorymark set to low values you can get well known error :

      org.jboss.mq.SpyJMSException: Could not store message: 713; - nested throwable:
      (java.sql.SQLException: Invalid argument value: Duplicate entry '713-QUEUE.MMMes
      sageQueue' for key 1)


      it's because when jboss is starting queue messageCache riches highmemorymark and is starting storing message to db ( but they already there )

      regards

      Kuba