Subject Re: [Firebird-Java] Using FbStatisticsManager to getHeaderPage() will not timeout
Author Roman Rokytskyy
> I am using FbStatisticsManager to get the header page from a Firebird
> database and all works well as long as the database is online, however
> if the database is shutdown completely there does not seem to be a
> timeout for this request qhich causes my application to hang
> indefinately. Is there a way to configure this class to timeout after
> so many seconds?

No, there is no such possibility. One could add this on the protocol
level, but it would simply close the socket connection - this is not the
best behavior with the server.

I think that better solution would be to fix the server not to hang, but
return an error instead, if this is the case... What is the behavior of
the command line tool gsec when you connect via services API?