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