Re: Tomcat JDBC Connection Pool - Deadlock

2013-03-28 Thread amit shah
28, 2013 at 6:21 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: amit shah [mailto:amits...@gmail.com] > > To: Tomcat Users List; d...@tomcat.apache.org > > Do not cross-post. This belongs only on the users list. Read (and > follow) t

Tomcat JDBC Connection Pool - Deadlock

2013-03-28 Thread amit shah
Hello, I am using the tomcat jdbc connection pool independently in my web application which is deployed on glassfish web server. While performing a database operation, our application goes into a deadlock state. The two threads involved in the deadlock have the below traces (from a thread

Re: Changing tomcat connection pool size through jmx

2013-03-15 Thread amit shah
apache.tomcat.jdbc.pool.DataSource. > 6.) Double click "maxActive", change value, press enter. > 7.) Value is saved. Refreshing shows the new value. > > Dan > > > > > > thanks. > > > > On 08-Mar-2013, at 1:40 AM, Daniel Mikusa wrote: > > >

Re: Tomcat jdbc pool connection failover

2013-03-15 Thread amit shah
On Wed, Mar 13, 2013 at 12:52 PM, André Warnier wrote: > Rainer Frey wrote: > >> On 12.03.2013, at 17:14, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >>> On 3/12/13 7:54 AM, amit shah wrote: >>> >>>> I am using O

Re: Tomcat jdbc pool connection failover

2013-03-12 Thread amit shah
I understand that unplanned outages are rare but we need a high availability solution which does not involve manual intervention. On Mon, Mar 11, 2013 at 9:05 PM, Shanti Suresh wrote: > On Mon, Mar 11, 2013 at 11:00 AM, André Warnier wrote: > > > > > amit shah wrote: >

Re: Tomcat jdbc pool connection failover

2013-03-12 Thread amit shah
lot of synchronized code which leads to blocking threads and less concurrency support. Let me know your suggestions/thoughts. On Tue, Mar 12, 2013 at 1:54 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Amit, >

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread amit shah
order to simulate a automatic connection failover from the application side. I understand that this step would require time for the retries and creation of new pool. Thanks. On Mon, Mar 11, 2013 at 6:15 PM, Daniel Mikusa wrote: > On Mar 11, 2013, at 12:52 AM, amit shah wrote: > >

Re: Changing tomcat connection pool size through jmx

2013-03-08 Thread amit shah
gt; > > On 08-Mar-2013, at 1:40 AM, Daniel Mikusa wrote: > > > >> 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 under

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

Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread amit shah
Comment below On Wed, Mar 7, 2012 at 8:53 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Amit, > > On 3/7/12 12:12 AM, amit shah wrote: > > I am using tomcat-jdbc.jar and tomcat-juli.jar from

Re: JDBC Pool - Error handling during connection creation

2012-03-06 Thread amit shah
Comments below. Thanks, Amit. On Tue, Mar 6, 2012 at 8:07 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Amit, > > On 3/6/12 4:46 AM, amit shah wrote: > > Hello, I am using the tomcat

Re: Closing tomcat jdbc connection pool

2012-03-05 Thread amit shah
. On Fri, Mar 2, 2012 at 11:53 AM, amit shah wrote: > Hello, > I am using the tomcat7 jdbc pool independently by deploying the > jdbc pool and juli jars with my web application. I would like to get > suggestions on how to close the connection pool when the application se

Re: Using Tomcat7 JDBC Connection Pool

2012-02-24 Thread amit shah
y passing in >> username/password parameters each time, then you could do it as an extra >> transaction thereafter. >> >> >> p >> >> On 09-Feb-2012, at 7:05 PM, Pid wrote: >>> >>> On 09/02/2012 12:56, amit shah wrote: >>>&

Re: Using Tomcat7 JDBC Connection Pool

2012-02-09 Thread amit shah
One more comment below about oracle UCP. On Thu, Feb 9, 2012 at 5:10 PM, amit shah wrote: > Comments below. > > On Wed, Feb 8, 2012 at 9:19 PM, Pid wrote: > >> On 08/02/2012 14:59, amit shah wrote: >> > Responses below. >> > >> > Thanks. >>

Re: Using Tomcat7 JDBC Connection Pool

2012-02-09 Thread amit shah
Comments below. On Wed, Feb 8, 2012 at 9:19 PM, Pid wrote: > On 08/02/2012 14:59, amit shah wrote: > > Responses below. > > > > Thanks. > > > > On Wed, Feb 8, 2012 at 7:14 PM, Pid wrote: > > > >> On 08/02/2012 12:30, amit shah wrote: > >&g

Re: Using Tomcat7 JDBC Connection Pool

2012-02-08 Thread amit shah
Responses below. Thanks. On Wed, Feb 8, 2012 at 7:14 PM, Pid wrote: > On 08/02/2012 12:30, amit shah wrote: > > Thanks for the reply. Responses below. > > > > On Wed, Feb 8, 2012 at 5:19 PM, Pid wrote: > > > >> On 08/02/2012 11:41, amit shah wrote: > &

Re: Using Tomcat7 JDBC Connection Pool

2012-02-08 Thread amit shah
Thanks for the reply. Responses below. On Wed, Feb 8, 2012 at 5:19 PM, Pid wrote: > On 08/02/2012 11:41, amit shah wrote: > > I am trying to use the tomcat 7 jdbc connection pool in our application > by > > using the tomcat-jdbc.jar and tomcat-juli.jar files. The basic connect

Using Tomcat7 JDBC Connection Pool

2012-02-08 Thread amit shah
I am trying to use the tomcat 7 jdbc connection pool in our application by using the tomcat-jdbc.jar and tomcat-juli.jar files. The basic connection pool works fine. I have few questions/clarifications 1. Executing multiple statements on connection initialization - The pool provides