Title: RE: Check database availability
Type
java utils.dbping on the command prompt.. and u shall see how to check whether database is listening...
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]On Behalf Of Xu, John
Sent: Wednesday, July 30, 2003 3:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Check database availability

Would you please specify, for example using WebLogic, what specific class or method that can be used to tell a remote database availability?
 
Thanks lot!
 
John
-----Original Message-----
From: Hyne, David [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 4:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Check database availability


Depending on the container you use, it tells you the state and availability of database server, database itself. Weblogic and Resin are well known for these.


-----Original Message-----
From: Xu, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 29, 2003 2:33 PM
To: [EMAIL PROTECTED]
Subject: Check database availability


This may be a programming question but not servlet. However, if you have some idea.

Is there a good way to check database availability that is waiting for connection without connected to the database server? We know the host is running but don't know the database server. We need to know that before launch any process to this server.

Any comment.

Thanks

___________________________________________________________________________
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

------------------------------------------------------------------------------

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone else, unless expressly approved by the sender or an authorized addressee, is unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution or any action omitted or taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please contact the sender, delete this e-mail and destroy all copies.

==============================================================================

___________________________________________________________________________ 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

Reply via email to