db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Katherine Marsden <kmarsdende...@sbcglobal.net>
Subject Re: NetworkServerControl shutdown
Date Thu, 25 Jul 2013 15:51:07 GMT
On 7/25/2013 6:45 AM, Rong Qu wrote:
> We use "NetworkServerControl shutdown" to stop derby network server. 
> We noticed sometimes, the server was not stopped immediately. 
> wondering if there is a simple way to verify the server was completely 
> stopped. e.g. some DB lock file.
>
> Thanks for any help you can provide.

Hi Rong,

You can use NetworkServerControl.ping to see if the server is still up.
http://db.apache.org/derby/docs/10.8/publishedapi/jdbc3/org/apache/derby/drda/NetworkServerControl.html#ping

Thanks

Kathey


Mime
View raw message