You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Neil Gealy <ne...@modmed.com> on 2014/05/20 19:04:26 UTC

activemq loses connection to database for outgoing messages

I am using activemq 5.9.1 configured as a jdbc masterslave setup using
mysql.

We are having a problem where activemq suddenly stops noticing that there
are pending messages in the ACTIVEMQ_MSGS table in the database.  It
continues to accept messages and put them in the proper queue.

If you query the database, you can see the messages.

mysql> select count(*), CONTAINER from ACTIVEMQ_MSGS group by CONTAINER;

However, if you use the activemq web console to query the queues, you
cannot see any pending messages.

Restarting activemq fixes the problem.

Attached is the stacktrace that I see right before it happens.

Neil Gealy