users@glassfish.java.net

Re: ok for session bean to keep connection reference & leak reclamation ?

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 May 2008 23:49:44 PDT

I assume, you have enabled connection-leak-tracing in the connection pool.

whenever preDestroy is called later than "connection-leak-timeout" seconds, you will see this log message.

Can you try setting bean-pool (ejb-container's) idle-timeout-in-seconds to be less than half of connection-pool's leak-timeout in seconds ?
[Message sent by forum member 'jr158900' (jr158900)]

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