Re: Check database availability

vikramjit singh <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
RE: Check database availabilityType
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.