On 04/04/2012 21:59, Hermes Flying wrote:
Thank you for your explanation. I will take this to H2 but I have one
more question on your comment:
Nope. It is a memory leak in the JDBC driver which is why Tomcat
is reporting it. When a web application shuts down, nothing
should be retaining a
Sent: Wednesday, April 4, 2012 5:14 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
- Original Message -
What I do is get the dataSource inside a ServletContextListener and
save it in servlet context (as part of a DAO Factory
On 1:59 PM, Pid wrote:
If you define the DataSource in GlobalNamingResources the pool will be
started and stopped with the Tomcat lifecycle.
Applications have their own lifecycle inside Tomcat, they are started
after Tomcat (obviously) and stopped before Tomcat stops (also obviously).
This
On 1:59 PM, Terence M. Bandoian wrote:
On 1:59 PM, Pid wrote:
If you define the DataSource in GlobalNamingResources the pool will be
started and stopped with the Tomcat lifecycle.
Applications have their own lifecycle inside Tomcat, they are started
after Tomcat (obviously) and stopped
Hi,
I am using Tomcat 7.0.25 in a Linux machine
I am using Tomcat's connection pool
(org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am using H2 as a
file database.
All is ok, but I have the following problem.
On shutdown of Tomcat I see in catalina.out:
SEVERE: The web
- Original Message -
Hi,
I am using Tomcat 7.0.25 in a Linux machine
I am using Tomcat's connection pool
(org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am
using H2 as a file database.
Where are you defining the connection pool? Can you include your configuration?
On 04/04/2012 13:05, Hermes Flying wrote:
Hi,
I am using Tomcat 7.0.25 in a Linux machine
I am using Tomcat's connection pool
(org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am using H2 as a
file database.
All is ok, but I have the following problem.
On shutdown of Tomcat
you need more details than these?
From: Daniel Mikusa dmik...@vmware.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, April 4, 2012 3:35 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
? Or there is another way?
Thank you
From: Pid p...@pidster.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, April 4, 2012 3:43 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
On 04/04/2012 13
On 04/04/2012 13:54, Hermes Flying wrote:
Hi Pid,
This is the configuration The following entry is in server.xml
Resource name=jdbc_GENERIS_RS auth=Container
type=javax.sql.DataSource driverClassName=org.h2.Driver
...@vmware.com
To: Hermes Flying flyingher...@yahoo.com
Sent: Wednesday, April 4, 2012 5:14 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
- Original Message -
What I do is get the dataSource inside a ServletContextListener and
save
From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, April 4, 2012 6:42 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
On 04/04/2012 13:54, Hermes Flying wrote:
Hi Pid,
This is the configuration
for your time.
From: Daniel Mikusa dmik...@vmware.com
To: Hermes Flying flyingher...@yahoo.com
Sent: Wednesday, April 4, 2012 5:14 PM
Subject: Re: Discrepancy between Tomcat's connection pool and
tomcat's report on memory leaks
- Original Message
, April 4, 2012 7:28 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
just set minIdle=0 and enable the eviction process to take care of it.
Filip
- Original Message -
From: Hermes Flying flyingher...@yahoo.com
To: Daniel Mikusa dmik
@tomcat.apache.org
Sent: Wednesday, April 4, 2012 7:28 PM
Subject: Re: Discrepancy between Tomcat's connection pool and
tomcat's report on memory leaks
just set minIdle=0 and enable the eviction process to take care of
it.
Filip
- Original Message -
From: Hermes Flying flyingher
...@yahoo.com
Sent: Wednesday, April 4, 2012 7:50 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
no, that would happen if you set maxIdle=0, not minIdle
- Original Message -
From: Hermes Flying flyingher...@yahoo.com
To: Tomcat Users List users
...@yahoo.com
Sent: Wednesday, April 4, 2012 7:50 PM
Subject: Re: Discrepancy between Tomcat's connection pool and
tomcat's report on memory leaks
no, that would happen if you set maxIdle=0, not minIdle
- Original Message -
From: Hermes Flying flyingher...@yahoo.com
To: Tomcat Users List
On 04/04/2012 17:14, Hermes Flying wrote:
Hi Mark,thank you for your reply. 2 questions related your mail 1)I
don't understand what you are saying here: but as of 7.0.12 yo an
set the closeMethod for a resource that should be the name of a zero
atg method to call to shut down the resource.
@tomcat.apache.org
Sent: Wednesday, April 4, 2012 8:12 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
On 04/04/2012 17:14, Hermes Flying wrote:
Hi Mark,thank you for your reply. 2 questions related your mail 1)I
don't understand what you
; Hermes Flying
flyingher...@yahoo.com
Sent: Wednesday, April 4, 2012 7:50 PM
Subject: Re: Discrepancy between Tomcat's connection pool and
tomcat's report on memory leaks
no, that would happen if you set maxIdle=0, not minIdle
- Original Message -
From: Hermes Flying flyingher
20 matches
Mail list logo