Try createStatement, in my experience, if it works, you have a good
connection.
(*Chris*)
----- Original Message -----
From: jang eui jin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 14, 1999 5:14 PM
Subject: 'Connection.isClosed()' doesn't work....
> Hello All !
>
> Sorry. It is off topic. but I long for your help.
>
> I need to check whether connection to db has problem or not in a
> ConnectionPoolServlet.
>
> But, even though a real db connection is disconnected, 'con.isClosed()'
> return true.
>
> I don't know why.
> How can I successfully check db connection ?
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html