-Message d'origine-
De : Tobias Meyer [mailto:[EMAIL PROTECTED]
Envoyé : lundi 13 mars 2006 18:16
À : Tomcat Users List
Objet : Re: Time out on sessions with AJP13
Yes I also think he should implement something like this:
public class SessionListener impleme
Users List
Subject: RE: Time out on sessions with AJP13
From: Earnie Dyke [mailto:[EMAIL PROTECTED]
Subject: RE: Time out on sessions with AJP13
You should consider implementing the finalize() method in
your session bean to close the connection nicely.
If there's any possible w
an open
database connection, finally will not help.
Perhaps a Session Listener would solve the problem.
Earnie!
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Monday, March 13, 2006 10:01 AM
To: Tomcat Users List
Subject: RE: Time out on sessions with AJP13
> From: Earnie Dyke [mailto:[EMAIL PROTECTED]
> Subject: RE: Time out on sessions with AJP13
>
> You should consider implementing the finalize() method in
> your session bean to close the connection nicely.
If there's any possible way of avoiding finalize(), don't u
You should consider implementing the finalize() method in your session bean to
close the connection nicely. In theory a well behaved JDBC driver should clean
up after itself. I don't like relying on theory. If you open the connection in
your session bean, close it there.
Earnie!
-Original