db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samer Kanjo" <sa...@kanjo.net>
Subject RE: is the network server up ...
Date Wed, 07 Dec 2005 17:02:42 GMT
You could create a loop that pings the server to determine if it is up.
After a failed ping you could wait for a few seconds and try again. If after
a pre-determined number of attempts all result in failure then exit the
application with an error.


-----Original Message-----
From: Nicolas Dufour [mailto:nicolas.dufour@neometsys.fr] 
Sent: Wednesday, December 07, 2005 10:28 AM
To: derby-user@db.apache.org
Subject: is the network server up ...


Im integrating the start of the network server in a program (vb code) 
and I dunno when the server is up.
So for the moment I let the application wait for 1-5 seconds to be sure 
that derby is up.
But is there a way to know if the server is up ?

Thank you

Nicolas Dufour

View raw message