Re: Connection leak Tomcat7 and Oracle

2015-03-06 Thread Red
On 02/27/2015 11:59 AM, Christopher Schultz wrote: > Red, > > On 2/27/15 11:04 AM, Red wrote: > > On 02/27/2015 06:58 AM, Антон Мацюк wrote: > >> 2015-02-27 1:36 GMT+02:00 Mark Thomas : > >>> On 26/02/2015 22:56, Christopher Schultz wrote: > >>> > The solution is to put your into your >

RE: Connection leak Tomcat7 and Oracle

2015-03-04 Thread Jeffrey Janner
ing to make my point more noticeable by OP. > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, February 27, 2015 11:00 AM > To: Tomcat Users List > Subject: Re: Connection leak Tomcat7 and Oracle > > -BEGIN PGP SIGNED MESS

Re: Connection leak Tomcat7 and Oracle

2015-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Red, On 2/27/15 11:04 AM, Red wrote: > On 02/27/2015 06:58 AM, Антон Мацюк wrote: >> 2015-02-27 1:36 GMT+02:00 Mark Thomas : >>> On 26/02/2015 22:56, Christopher Schultz wrote: >>> The solution is to put your into your application's >>>

Re: Connection leak Tomcat7 and Oracle

2015-02-27 Thread Red
On 02/27/2015 06:58 AM, Антон Мацюк wrote: > 2015-02-27 1:36 GMT+02:00 Mark Thomas : >> On 26/02/2015 22:56, Christopher Schultz wrote: >> >>> The solution is to put your into your application's >> s/The solution/The best solution/ >> >>> context.xml and not into the site-wide defaults. Konstantin

Re: Connection leak Tomcat7 and Oracle

2015-02-27 Thread Антон Мацюк
2015-02-27 1:36 GMT+02:00 Mark Thomas : > > On 26/02/2015 22:56, Christopher Schultz wrote: > > > The solution is to put your into your application's > > s/The solution/The best solution/ > > > context.xml and not into the site-wide defaults. Konstantin may not > > have spelled-out the solution, b

Re: Connection leak Tomcat7 and Oracle

2015-02-26 Thread Mark Thomas
On 26/02/2015 22:56, Christopher Schultz wrote: > The solution is to put your into your application's s/The solution/The best solution/ > context.xml and not into the site-wide defaults. Konstantin may not > have spelled-out the solution, but he did give you all the information > you needed to

Re: Connection leak Tomcat7 and Oracle

2015-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Red, On 2/26/15 5:28 PM, Red wrote: > On 02/26/2015 12:29 PM, Konstantin Kolinko wrote: >> 2015-02-26 19:28 GMT+03:00 Red : >>> Thank You all who responded; Did not want to waste your time, >>> hence delayed response. >>> >>> To make sure no custom

Re: Connection leak Tomcat7 and Oracle

2015-02-26 Thread Red
On 02/26/2015 12:29 PM, Konstantin Kolinko wrote: > 2015-02-26 19:28 GMT+03:00 Red : >> Thank You all who responded; >> Did not want to waste your time, hence delayed response. >> >> To make sure no customization has been made on my end I have completely >> rebuilt system: Install OS (Ubuntu 14.04.

Re: Connection leak Tomcat7 and Oracle

2015-02-26 Thread Konstantin Kolinko
2015-02-26 19:28 GMT+03:00 Red : > Thank You all who responded; > Did not want to waste your time, hence delayed response. > > To make sure no customization has been made on my end I have completely > rebuilt system: Install OS (Ubuntu 14.04.2 LTS) including reformat of > all drives, selected tomca

Re: Connection leak Tomcat7 and Oracle

2015-02-26 Thread Red
Thank You all who responded; Did not want to waste your time, hence delayed response. To make sure no customization has been made on my end I have completely rebuilt system: Install OS (Ubuntu 14.04.2 LTS) including reformat of all drives, selected tomcat7 and ssh server during install when asked.

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Felix Schumacher
Am 24. Februar 2015 22:20:00 MEZ, schrieb Red : >OS: Ubuntu 14.04.2 LTS >Oracle: 12.1.0.1.0 or 11.2.0.3.0 >Tomcat: 7.0.52-1ubuntu0.1 >odjbc: Ojdbc6 or Ojdbc7 (placed in /var/lib/tomcat7/lib) >java version "1.8.0_31" of "1.7.0_65" > >Context.xml: > type="javax.sql.DataSource" >dri

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Filip Hanik
unless DBCP changed of course. I would add ​the following property to your element​ factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html On Tue, Feb 24, 2015 at 3:47 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Red, On 2/24/15 4:20 PM, Red wrote: > OS: Ubuntu 14.04.2 LTS Oracle: 12.1.0.1.0 or 11.2.0.3.0 Tomcat: > 7.0.52-1ubuntu0.1 odjbc: Ojdbc6 or Ojdbc7 (placed in > /var/lib/tomcat7/lib) java version "1.8.0_31" of "1.7.0_65" > > Context.xml: type="java

Re: Connection leak Tomcat7 and Oracle

2015-02-24 Thread Mark Thomas
On 24/02/2015 21:20, Red wrote: > OS: Ubuntu 14.04.2 LTS > Oracle: 12.1.0.1.0 or 11.2.0.3.0 > Tomcat: 7.0.52-1ubuntu0.1 > odjbc: Ojdbc6 or Ojdbc7 (placed in /var/lib/tomcat7/lib) > java version "1.8.0_31" of "1.7.0_65" > > Context.xml: Which context.xml file? Mark -

RE: Connection Leak

2010-11-03 Thread Propes, Barry L
Sent: Wednesday, November 03, 2010 11:19 AM To: Tomcat Users List Subject: Re: Connection Leak Does that show cached queries? On Wed, Nov 3, 2010 at 4:02 PM, Propes, Barry L wrote: > Maybe try adding this, too as an attribute in the Resource tag. > > timeBetweenEvictionRunsMillis="-1

Re: Connection Leak

2010-11-03 Thread Ziggy
gmail.com] > Sent: Wednesday, November 03, 2010 9:05 AM > To: Tomcat Users List > Subject: Re: Connection Leak > > Since you're using an Oracle database - another way to identify areas in > your code that aren't closing connections. In the sql below substitute > YOU

RE: Connection Leak

2010-11-03 Thread Propes, Barry L
Maybe try adding this, too as an attribute in the Resource tag. timeBetweenEvictionRunsMillis="-1" -Original Message- From: Jason Britton [mailto:jbritto...@gmail.com] Sent: Wednesday, November 03, 2010 9:05 AM To: Tomcat Users List Subject: Re: Connection Leak Since you&#

Re: Connection Leak

2010-11-03 Thread Jason Britton
Since you're using an Oracle database - another way to identify areas in your code that aren't closing connections. In the sql below substitute YOURDBUSER with the name of the database user your connections connect to your database with and YOURWEBSERVER with the name of your webserver. The resul

Re: Connection Leak

2010-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 11/3/2010 9:44 AM, Ziggy wrote: > Hi All, > >type="javax.sql.DataSource" > driverClassName="oracle.jdbc.driver.OracleDriver" > url="jdbc:oracle:thin:@10.10.10.10.:1521:mydb" > username="username"

Re: Connection Leak in java - Tomcat 6.0.18

2008-11-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun Raj Ramkumar wrote: > Hi friends, > Please let me know is there a way to find out connection leak in my java > code , when its deployed in tomcat. Am using tomcat 6.0.18 What type of connection? - -chris -BEGIN PGP SIGNATURE- Vers