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 befor
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 is
data source myself? How?
> If all what I describe is reasonable this seems to me like a "racing"
> condition. How should I mediate this?
Maybe the H2 devs will fix the classloader problem.
p
> Thank you for your time.
>
>
>
>
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 re
now this? I will try it and let you know
From: Filip Hanik Mailing Lists
To:
Cc: Tomcat Users List
Sent: Wednesday, April 4, 2012 8:03 PM
Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
The real
Tomcat Users List
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 understan
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 resour
riginal Message -
> From: "Hermes Flying"
> To: "Filip Hanik Mailing Lists" , "Tomcat Users List"
>
> Sent: Wednesday, April 4, 2012 10:56:10 AM
> Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
> on memory lea
: 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"
> To: "Tomcat Users List"
> Sent: Wednesday, April 4, 2012 10:45:2
no, that would happen if you set maxIdle=0, not minIdle
- Original Message -
> From: "Hermes Flying"
> To: "Tomcat Users List"
> Sent: Wednesday, April 4, 2012 10:45:24 AM
> Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's
ubject: 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"
> To: "Daniel Mikusa"
> Cc: users@t
down.
>
> Is this scenario as I describe it, wrong?
> Should I somehow have configured the datasource to be "associated"
> with my web application instead of a generic data source? Why?
> Should I have shut the data source myself? How?
> If all what I describe is
like a "racing"
condition. How should I mediate this?
Thank you for your time
From: Mark Thomas
To: Tomcat Users List
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
urce myself? How?
If all what I describe is reasonable this seems to me like a "racing"
condition. How should I mediate this?
Thank you for your time.
____________
From: Daniel Mikusa
To: Hermes Flying
Sent: Wednesday, April 4, 2012 5:14 PM
Subject: Re: Discrepancy between Tomcat's conn
On 04/04/2012 13:54, Hermes Flying wrote:
> Hi Pid,
>
> This is the configuration The following entry is in server.xml
>
> type="javax.sql.DataSource" driverClassName="org.h2.Driver"
> url="jdbc:h2:file:/opt/en/repos/tomcat/webapps/GeneralApplication/db/internaldatabase;SCHEMA=genericschema"
>
between Tomcat's connection pool and tomcat's report
on memory leaks
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 da
: Discrepancy between Tomcat's connection pool and tomcat's report
on memory leaks
- 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
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 o
- 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 configur
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 applicati
20 matches
Mail list logo