Subject | Re: [Firebird-Java] Using FbStatisticsManager to getHeaderPage() will not timeout |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-07-31T09:25:27Z |
> I am using FbStatisticsManager to get the header page from a FirebirdNo, there is no such possibility. One could add this on the protocol
> 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?
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?
Roman