RE: Reg: Connection pool

2014-05-04 Thread Anu Prab
Hi, We are using Tomcat 7.0.40 version. We are using Tomcat DBCP for pooling connections. We are able to pool connections for different aliases. But for one alias, connections are not pooling. The user and password is good because the same alias in apache dbcp works fine. What do you

Re: Reg: Connection pool

2014-05-02 Thread Anu Prab
Hi, We are using Tomcat 7.0.40 version. We are using Tomcat DBCP for pooling connections. We are able to pool connections for different aliases. But for one alias, connections are not pooling. The user and password is good because the same alias in apache dbcp works fine. What do you mean

Reg: Connection pool

2014-05-01 Thread Anu Prab
Hi, We are using Tomcat 7.0.40 version. We are using Tomcat DBCP for pooling connections. We are able to pool connections for different aliases. But for one alias, connections are not pooling. The user and password is good because the same alias in apache dbcp works fine. Why are we not able

Re: Reg: Connection pool stats

2013-11-13 Thread Anu Prab
On Nov 11, 2013, at 12:59 AM, Anu Prab anupr...@gmail.com wrote: On Nov 7, 2013, at 11:58 PM, Anu Prab anupr...@gmail.com wrote: I am using Tomcat 7.0.42 and Tomcat jdbc pool. Just to be perfectly clear, how are you using this? With a Resource/ tag in your Tomcat configuration or are you

Re: Reg: Connection pool stats

2013-11-10 Thread Anu Prab
On Nov 7, 2013, at 11:58 PM, Anu Prab anupr...@gmail.com wrote: I am using Tomcat 7.0.42 and Tomcat jdbc pool. Just to be perfectly clear, how are you using this? With a Resource/ tag in your Tomcat configuration or are you creating the pool in your code? Either way, include the necessary

Re: Reg: Connection pool stats

2013-11-10 Thread Anu Prab
On Nov 7, 2013, at 11:58 PM, Anu Prab anupr...@gmail.com wrote: I am using Tomcat 7.0.42 and Tomcat jdbc pool. Just to be perfectly clear, how are you using this? With a Resource/ tag in your Tomcat configuration or are you creating the pool in your code? Either way, include the necessary

Re: Reg: Connection pool stats

2013-11-07 Thread Anu Prab
I am using Tomcat 7.0.42 and Tomcat jdbc pool. Just to be perfectly clear, how are you using this? With a Resource/ tag in your Tomcat configuration or are you creating the pool in your code? Either way, include the necessary config or code which shows how you've defined the pool. The pool

Reg: Connection pool stats

2013-11-06 Thread Anu Prab
Hi, I am using Tomcat 7.0.42 and Tomcat jdbc pool. Once the pool is created with the default configuration, I obtained few connections from this pool. But after certain amount of time, *dataSource.getSize*() shows the size as 0! Is this the expected behavior? Please help me understand what is

Reg: Connection pool stats

2013-11-06 Thread Anu Prab
Hi, I am using Tomcat 7.0.42 and Tomcat jdbc pool. Once the pool is created with the default configuration, I obtained few connections from this pool. But after certain amount of time, dataSource.getSize() shows the size as 0! Is this the expected behavior? Please help me understand what is

Reg: JNDI lookup

2013-10-30 Thread Anu Prab
Hi, In Tomcat 7.0.42, with Tomcat jdbc pool, I would like to list all the JNDI resources ( connection pool ) available. Is it possible to do so? If so, how or which api to use? -Anu

Reg: Connection pool statistics

2013-10-22 Thread Anu Prab
Hi, Is it possible to get the statistics of a connection pool programmatically, say when was it created? The maximum time taken by a query which used the connection from this connection pool? Statistics like these... -Anu

Reg: Context.xml

2013-10-18 Thread Anu Prab
Hi, I am using Tomcat version 7.0.40. Whenever there is an entry to context.xml, the context.xml reloads and redeploys the webapps since it is configured that way and is required to be that way. When a user hits a URL at this point, the page will be blank since reloading is still underway. My

Re: Reg: Connection pool

2013-10-07 Thread Anu Prab
Hi, The Tomcat version I am using is 7.0.40 and the connection pool is tomcat-jdbc. I am having trouble configuring the connection pool. The configuration does not trouble as long as I do not include initialSize and factory attributes. But when I include any of these two, Tomcat

Reg: Connection pool

2013-10-06 Thread Anu Prab
Hi, The Tomcat version I am using is 7.0.40 and the connection pool is tomcat-jdbc. I am having trouble configuring the connection pool. The configuration does not trouble as long as I do not include initialSize and factory attributes. But when I include any of these two, Tomcat starts throwing

Re: Reg: Connection pool

2013-10-01 Thread Anu Prab
On Sep 27, 2013, at 12:21 AM, Anu Prab anupr...@gmail.com wrote: On Sep 26, 2013, at 6:02 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 9/26/13 9:18 AM, Daniel

Re: Reg: Connection poo

2013-09-30 Thread Anu Prab
On Sep 27, 2013, at 12:21 AM, Anu Prab anupr...@gmail.com wrote: On Sep 26, 2013, at 6:02 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 9/26/13 9:18 AM, Daniel Mikusa wrote: On Sep 26, 2013

Re: Reg: Connection pool

2013-09-27 Thread Anu Prab
On Sep 26, 2013, at 6:02 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 9/26/13 9:18 AM, Daniel Mikusa wrote: On Sep 26, 2013, at 2:22 AM, Anu Prab anupr...@gmail.com wrote: I am using Tomcat version 7

Reg: Connection pool

2013-09-26 Thread Anu Prab
Hi I am using Tomcat version 7. Is it possible to update connection pool properties without restarting the Tomcat server? Thanks in advance.

Re: Reg: Connection pool

2013-09-26 Thread Anu Prab
On Sep 26, 2013, at 6:02 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 9/26/13 9:18 AM, Daniel Mikusa wrote: On Sep 26, 2013, at 2:22 AM, Anu Prab anupr...@gmail.com wrote: I am using Tomcat version 7. For future

Re: Reg: Connection pool

2013-09-26 Thread Anu Prab
On Sep 26, 2013, at 6:02 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 9/26/13 9:18 AM, Daniel Mikusa wrote: On Sep 26, 2013, at 2:22 AM, Anu Prab anupr...@gmail.com wrote: I am using Tomcat version 7