You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Karl-Philipp Richter <kr...@aol.de> on 2013/09/03 14:46:31 UTC

return and delay of return of NetworkServerController.ping

Hi,
I'd like to know whether it is guaranteed that NetwerkServerController.ping returns in order to further debug a deadlock (in case it is supposed to return). How can one set the delay of the ping (or is it based on the default values for network timeouts)?
I hope this is a question worth for the dev list...

All the best, 
Kalle

Re: return and delay of return of NetworkServerController.ping

Posted by Karl-Philipp Richter <kr...@aol.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

It might deadlock, but the issue might also be related to my debugger. I will explore it the next days. Thanks for your answer.



Rick Hillegas <ri...@oracle.com> schrieb:
>On 9/3/13 5:46 AM, Karl-Philipp Richter wrote:
>> Hi,
>> I'd like to know whether it is guaranteed that
>> NetwerkServerController.ping returns in order to further debug a
>> deadlock (in case it is supposed to return). How can one set the
>delay
>> of the ping (or is it based on the default values for network
>timeouts)?
>> I hope this is a question worth for the dev list...
>>
>> All the best,
>> Kalle
>NetworkServerControl.ping() should return immediately. If the server is
>
>up, then ping() just succeeds. Otherwise, ping() raises the following
>error:
>
>   java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network
>Server
>
>Are you seeing some other behavior?
>
>Thanks,
>-Rick

- --
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.0.8

iQE6BAEBCAAkBQJSLdu5HRxSaWNodGVyIDxrcmljaHRlcjcyMkBhb2wuZGU+AAoJ
EBiabh/bNdEpYyYH/All4retESKrd7gkzWCRAh1nGbAfJH0y6/vyhVGhxl+l2UYA
EqSR0Hn4i9FahM+QHx9BGsvW1e6Mmqa2Y+5psykijevQXM6xt5P9r4w4V9bAO/Mm
BP7HOeK7GGlanzFKhdVcGFmkmbZxtH5BrZ5+5OFynhwSfqNuBTGVRYBEpoZ283Li
E27I60JhZC8170D1gSMQelDCgyRqddc/kycApD38dhUTO6BBqGpTTGeOEkQr72Fz
1/Tso220DipTGBDzVXVz1qNUeAdrpKZOAMdaynaG1P9vIjnMRvCmeFJtQk5h14ip
4VR/IPZOAkYa9AJ5txk68+lg2vUILbCDLM2/X2g=
=AzMx
-----END PGP SIGNATURE-----


Re: return and delay of return of NetworkServerController.ping

Posted by Rick Hillegas <ri...@oracle.com>.
On 9/3/13 5:46 AM, Karl-Philipp Richter wrote:
> Hi,
> I'd like to know whether it is guaranteed that 
> NetwerkServerController.ping returns in order to further debug a 
> deadlock (in case it is supposed to return). How can one set the delay 
> of the ping (or is it based on the default values for network timeouts)?
> I hope this is a question worth for the dev list...
>
> All the best,
> Kalle
NetworkServerControl.ping() should return immediately. If the server is 
up, then ping() just succeeds. Otherwise, ping() raises the following error:

   java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network 
Server

Are you seeing some other behavior?

Thanks,
-Rick