activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: ActiveMQ Ajax not closing Mysql Connection
Date Mon, 31 Jul 2006 17:58:07 GMT
On 7/31/06, jefetech <> wrote:
> I'm using the latest ActiveMQ 4.0.1,  with Jetty6, using Struts with
> Hibernate on Mysql 4.1.7-standard.  I've altered some of the chatroom
> example functions to call Struts to execute mysql updates/selects.
> For some reason, activeMQ is not releasing the mysql connection.  Everytime
> struts/hibernate is called, even though my code is correctly doing a
> session.flush(), session.close() for hibernate,  ActiveMQ is ignoring it.

ActiveMQ uses its own  DataSource and connections, not Hibernate - so
the session.flush() won't have any effect on ActiveMQ's connections.

If you want to control how many connections ActiveMQ uses then
configure the DataSource you give to ActiveMQ to use whatever pool you



View raw message