[jboss-user] [IronJacamar] - Re: Physically closing a set of connections

Jesper Pedersen do-not-reply at jboss.com
Thu Dec 6 13:20:46 EST 2012


Jesper Pedersen [https://community.jboss.org/people/jesper.pedersen] created the discussion

"Re: Physically closing a set of connections"

To view the discussion, visit: https://community.jboss.org/message/780472#780472

--------------------------------------------------------------
The IronJacamar container controls all the physical connections to the server(s). Atm there is no standard way of having the resource adapter request that all / some of ManagedConnections should be closed - but it is an idea for the specification  :) 

The simplest solution would be to deploy 8 CFs, each with their server configuration and use <min-pool-size>0</..><prefill>false</..>, then have the ops people call :flush-all-connection-in-pool for the right CF.

Of course that gives you 8 different JNDI names, so if the above doesn't work for you we will have to think some more, maybe ConnectionEvent.CONNECTION_ERROR_OCCURRED could be an option too; look at that...
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/780472#780472]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121206/5c4f74f2/attachment-0001.html 


More information about the jboss-user mailing list