Hi,

I have an activemq 5.5 server embedded in a tomcat 6, and a scenario where
it fails to deliver messages.

The configuration is as follows: The activemq has a number of one-to-one
queues, each for a particular consumer. The producer and each consumer
normally works fine.
The messages are persistent in the kaha db and are shown in the activemq
console.
There is just one broker.

We have an scenario where the messages are not being delivered. When a
consumer tries to get one message, the broker returns that there are no
messages in the queue and the redelivered flag of the message is set to
true.

This is not expected, as the messages is clearly shown in the activemq
console.

After restarting the server, one message is delivered to one consumer. When
the next consumer tries to consume another message from another queue, the
same happens, and the server needs to be restarted again to deliver the next
message, and so on.

The consumer uses transactions to get the messages, but in every other
scenario it works fine.

We haven't been able to reproduce this behaviour in another installation,
that has the following configuration:
Consumer:
        -Windows Vista TM Business, Service Pack 2, 32 bits
        -java 1.6.0_20
        -tomcat 6.0
Producer and broker:
        -Windows Server 2008 R2 Standard, Service Pack 1, 64 bits
        -java 1.6.0_19
        -tomcat 6.0

I think the key is in the redelivered flag, which is set to true after
trying to get the message, but I don't know what can be happening.

I really need help with this, please ask if you need any other information.

Thanks!

Carlos



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-not-delivering-messages-tp4661471.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to