I have two JBoss instances (Box A and Box B), each running JBossMQ. Each one has a MDB which connects to the same queue name (local JNDI), but which are persisted in the same JMS_MESSAGES table in Oracle 9i on another host. When one MDB on Box A puts a message into the queue, the MDB with the same durable subscription and ID on Box B does not read it. It seems that only the server that put it there can read it. I have tried doing a manual receive() without success. Is there any way to change this. I have a failover situation and need to be able to read these. Does it work any better with file persistence if I am using, say, Active Directory?
It also seems to hang up the MDB on the Box A - the one that was originally connected to the JMS_MESSAGES table - after that JBoss instance is killed and restarted. The symptom is that when
JBoss is restarted, that MDB does not respond to any
imputs onto it's topic.