On 08/12/17 12:59, Walter Heestermans (TME) wrote:
> We are using:
> 
> commons-dbcp2-2.1.1.jar
> commons-pool2-2.4.3.jar

Set the jmxName property on your BasicDataSourceFcatory and that will
enable JMX for DBCP and the underlying pools.

Mark

> 
> Walter
> 
> 
> -----Original Message-----
> From: Mark Thomas [mailto:[email protected]]
> Sent: 08 December 2017 13:58
> To: [email protected]
> Subject: Re: [dbcp] Exposing JMXbeans
> 
> On 08/12/17 12:47, Walter Heestermans (TME) wrote:
>> Hi,
>>
>> We have Struts application using  the commons DBCP and commons Pool 
>> implementation. I like to have the pool information exposed as JMX beans, so 
>> that I can use JConsole to look a t the pool behaviour. The application is 
>> deployed inside a Jetty container. I can see a lot of info already via 
>> JConsole but the pool information is missing.
>>
>> What is required to be able to do that?
> 
> A good place to start would be you telling the list which versions of Commons 
> DBCP and Commons Pool are being used.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> This e-mail may contain confidential information. If you are not an addressee 
> or otherwise authorised to receive this message, you should not use, copy, 
> disclose or take any action based on this e-mail. If you have received this 
> e-mail in error, please inform the sender promptly and delete this message 
> and any attachments immediately.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to