Re: Changing tomcat connection pool size through jmx

2013-03-15 Thread amit shah
It indeed works. Thanks ! On Fri, Mar 8, 2013 at 6:40 PM, Daniel Mikusa wrote: > On Mar 7, 2013, at 10:11 PM, Amit wrote: > > > I tried setting the 'maxActive' attribute by double clicking it and > modifying the value but the new value does not get set. > > What happens? Do you get an error?

Re: Changing tomcat connection pool size through jmx

2013-03-08 Thread Daniel Mikusa
On Mar 7, 2013, at 10:11 PM, Amit wrote: > I tried setting the 'maxActive' attribute by double clicking it and modifying > the value but the new value does not get set. What happens? Do you get an error? If so, what does it say? > > The bug 50864 was suppose to provide the flexibility to upd

Re: Changing tomcat connection pool size through jmx

2013-03-08 Thread amit shah
That's the one I set in my code to configure the maximum pool size of the connection pool. What is the attribute I should update to increase/decrease the connection pool size? Also what all attributes are updatable? Thanks On Fri, Mar 8, 2013 at 2:50 PM, wrote: > On 8 Mar 2013, at 03:00, Amit

Re: Changing tomcat connection pool size through jmx

2013-03-08 Thread pid
On 8 Mar 2013, at 03:00, Amit wrote: > I tried setting the 'maxActive' attribute by double clicking it and modifying > the value but the new value does not get set. That's the wrong attribute. That one is a read only attribute reporting the maximum number of connections that have been active at

Re: Changing tomcat connection pool size through jmx

2013-03-07 Thread Amit
I tried setting the 'maxActive' attribute by double clicking it and modifying the value but the new value does not get set. The bug 50864 was suppose to provide the flexibility to update the connection pool properties through JMX and this is what I was looking for. Shouldn't that be the case?

Re: Changing tomcat connection pool size through jmx

2013-03-07 Thread Daniel Mikusa
On Mar 7, 2013, at 12:32 PM, amit shah wrote: > I was looking at jmx since that would not need application server restart. > > I didn't understand what you meant by "Have you tried looking at / > modifying the attributes" ? When you look at an Mbean in jconsole or jvisualvm, you'll see a few dif

Re: Changing tomcat connection pool size through jmx

2013-03-07 Thread amit shah
I was looking at jmx since that would not need application server restart. I didn't understand what you meant by "Have you tried looking at / modifying the attributes" ? On Thu, Mar 7, 2013 at 9:50 PM, Daniel Mikusa wrote: > On Mar 7, 2013, at 9:59 AM, amit shah wrote: > > > Hello, > >

Re: Changing tomcat connection pool size through jmx

2013-03-07 Thread Daniel Mikusa
On Mar 7, 2013, at 9:59 AM, amit shah wrote: > Hello, >I use tomcat connection pool in my web application by using two > jars - tomcat-jdbc-7.0.34.jar and tomcat-juli-7.0.34.jar. I want to change > the connection pool size through jmx but I could not find any defined jmx > operation for do