Hi Chris,
thank you for your reply.
How should I close the connections? I thought it was sufficient to use the
connection.close() as I wrote in the first post; if no, may you kindly post
how to close them?
Many thanks
Danilo
2009/6/19 <glassfish_at_javadesktop.org>
> Hi,
>
> this means that new SLSB get created faster than old connections on the
> ConnectionFactory are closed. IIRC the default max-connection-count for the
> ConnectionFactory is 250.
>
> Do you close your connections? The source code you posted is not complete.
>
> I think the solution would be to choose a pool size for the SLSB that is
> lower than the max-connections on the ConnectionFactory. On the other hand,
> IIRC the default pool size for beans is 32, so somewhat lower than 250. But
> I'm not sure about that.
>
> Cheers
> Chris.
> [Message sent by forum member 'chrjohn' (chrjohn)]
>
> http://forums.java.net/jive/thread.jspa?messageID=352166
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>