users@glassfish.java.net

Re: Message beans and connection limit

From: <glassfish_at_javadesktop.org>
Date: Mon, 26 Jan 2009 03:03:49 PST

> Hi thanks for the reply, do you have a link to the
> other thread you mentioned?

http://forums.java.net/jive/click.jspa?searchID=613421&messageID=320313

> Or are you saying i need to explicitly terminate the
> db connection in the @PreDestroy method?

No.
 
What You have to check (both in MDB's and JMS client code (the one which produces messages)) is whether Connection, MessageProducer, Session and other JMS objects are properly closed.

/mareks
[Message sent by forum member 'mareks' (mareks)]

http://forums.java.net/jive/thread.jspa?messageID=328134