[jboss-as7-dev] How to start/stop/reset connection pool by java program in AS7?

Jason T. Greene jason.greene at redhat.com
Mon Aug 15 16:10:46 EDT 2011


On 8/15/11 3:02 PM, Jason T. Greene wrote:
> On 8/15/11 2:54 PM, Jason T. Greene wrote:
>> On 8/15/11 2:52 PM, Jason T. Greene wrote:
>>> On 8/15/11 2:30 PM, Jesper Pedersen wrote:
>>>> The admin console isn't done yet - use the command line client to see
>>>> the
>>>> functionality that is available today:
>>>
>>> It obviously can't flush a db pool if there isn't a management operation
>>> to do that.
>>
>> BTW to avoid misleading everyone I will say that the admin console
>> displays nearly everything (if not everything) the JCA subsystem
>> currently exposes.
>
> That should read datasource subsystem...

Correction the operation does exist:

flush-all-connections-in-pool and flush-idle-connections-in-pool

So it is just the console update that is needed. Sorry for the 
misinformation.

-- 
Jason T. Greene
JBoss AS Lead / EAP Platform Architect
JBoss, a division of Red Hat


More information about the jboss-as7-dev mailing list