James Strachan escribió:
On 8/25/06, Manuel Teira <[EMAIL PROTECTED]> wrote:I apologize for my confusing explanation. This is the sequence of facts: 1.- SunMQ is down. I send 5 messages to the SUNRECV queue that get stored in the database. 2.- Stop ActiveMQ. The database shows 5 messages for the container 'queue://SUNRECV'. 3.- SunMQ is started. After this, ActiveMQ is started too. Now, two things can happen: a.-ActiveMQ delivers the 5 messages stored in the DB to the SunMQ broker. This is OK, the desired situation. b.-ActiveMQ don't deliver the messages to the SunMQ broker. What we find here is: -The JMX console is showing the SUNRECV queue, with: QueueSize: 5. EnqueueCount: 0 DequeueCount: 5. <--Strange, as if the messages where sent? ConsumerCount: 1. The DB is showing 5 messages for the SUNRECV queue. SunMQ is not receiving these messages. Restarting ActiveMQ when we reach this situation, doesn't help. For two times, the data showed by the JMX console and the number of messages stored in the database, where the same. This set of messages never got sent to SunMQ. If under this situation, I try to send a new message to this queue: -The message reaches SunMQ. -The 5 older messages have dissapeared. -The JMX console shows: QueueSize: 0 DequeueCount: 6 EnqueueCount: 1 ConsumerCount: 1 The database has 0 messages for SUNRECV. I expect this less confusing. Situations (a) or (b) happens randomly, I think. I suppose so that the MessageProducer of whatever mechanism used by the JMX console operation to send the message is configured in a way the messages are not persistent. This is a log of error when the message comes from my external client ( persistent = true ) [ERROR][2006/08/25.11:30:56.058][ActiveMQ Session Task]failed to forward message: ActiveMQBytesMessage {commandId = 5, responseRequired = true, messageId = ID:trabucco-43872-1156498253884-1:0:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:trabucco-43872-1156498253884-1:0:1:1, destination = queue://SUNRECV, transactionId = null, expiration = 0, timestamp = 1156498255598, arrival = 0, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = [EMAIL PROTECTED], marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 529, properties = null, readOnlyProperties = true, readOnlyBody = true} ActiveMQBytesMessage{ bytesOut = null, dataOut = null, dataIn = null }([C4064]: Cannot perform operation, producer is closed.) The same with a message generated with sendTextMessage operation of the JMX console ( persistent = false ). [DEBUG][2006/08/25.11:31:51.583][RMI TCP Connection(11)-10.95.89.20]Sending message: ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId = ID:trabucco-43808-1156496710158-3:1:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:trabucco-43808-1156496710158-3:1:1:1, destination = queue://SUNRECV, transactionId = null, expiration = 0, timestamp = 1156498311577, arrival = 0, correlationId = null, replyTo = null, persistent = false, type = null, priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true, text = a}
|
- Connection lost in JMS to JMS Bridge scenario. Manuel Teira
- Connection lost in JMS to JMS Bridge scenario. Manuel Teira
- Re: Connection lost in JMS to JMS Bridge scenario. James Strachan
- Re: Connection lost in JMS to JMS Bridge scena... Manuel Teira
- Re: Connection lost in JMS to JMS Bridge s... James Strachan
- Re: Connection lost in JMS to JMS Bri... Manuel Teira
- Re: Connection lost in JMS to JMS... James Strachan
- Re: Connection lost in JMS to... Manuel Teira
- Re: Connection lost in JMS to... Manuel Teira
- Re: Connection lost in JMS to... Manuel Teira
- Re: Connection lost in JMS to... Manuel Teira
