;
}
}
Date: Thu, 18 Sep 2008 11:56:33 -0400
From: [EMAIL PROTECTED]
To: users@tomcat.apache.org
Subject: Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep
increasing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sinoea,
sinoea kaabi wrote:
The static methods
Sep 2008 22:26:16 -0500
Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active connections
keepincreasing
From: sinoea kaabi [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active
connections keepincreasing
I could accept the fact that we should create
Connection Pooling, Active connections
keepincreasing
From: sinoea kaabi [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active
connections keepincreasing
I could accept the fact that we should create new objects of Dao's,
but for getting a datasource
Thanks,
First I will try to close resources before returning.
Although I am sure that the finally blocks are reached, since I use logging in
the last finally block and the log is
outputted.
try {
} finally {
connection.close();
Data.logConnection(connection); // this is logged
}
But
- Original Message -
From: sinoea kaabi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, September 17, 2008 11:31 AM
Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active connections keep
increasing
Thanks,
First I will try to close
Subject: Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep
increasing
Date: Wed, 17 Sep 2008 12:25:17 +0200
- Original Message -
From: sinoea kaabi
To: Tomcat Users List
Sent: Wednesday, September 17, 2008 11:31 AM
Subject: RE: Tomcat 5.5, JNDI Connection Pooling
) {
e.printStackTrace();
throw new RuntimeException(Java naming exception when
getting connection from tomcat pool: + e.getMessage());
}
}
--David
sinoea kaabi wrote:
Just a question here,
I am using a Data class to retrieve the datasource
public class Data
This question about static variables seems a bit deeper than I
thought, the more I think about it the more confused I get.
I could accept the fact that we should create new objects of Dao's,
but for getting a datasource or connection it should make sense
to have a utility class with static
not explicitly killing off the connections you set in
the first place.
-Original Message-
From: sinoea kaabi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2008 4:24 AM
To: users@tomcat.apache.org
Subject: Tomcat 5.5, JNDI Connection Pooling, Active connections keep
increasing
.
-Original Message-
From: sinoea kaabi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2008 9:56 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active connections
keep increasing
How exaclt do you mean?
Anywhere in my code where you have seen
10 matches
Mail list logo