Subject | Re: [Firebird-Java] Re: GDS Exception. 335544721. Unable to complete network request to host |
---|---|
Author | Mark Rotteveel |
Post date | 2013-05-16T08:09:50Z |
On Thu, 16 May 2013 07:47:24 -0000, "hugo.larson" <hugo.larson@...>
wrote:
returned from Firebird instead of just closing the connection. It could
happen if you use an UDF that crashes the server (this would be less
noticable for Classic Server than for SuperServer, as with classic it would
only affect a single connection).
Given the number of 10054 (connection reset by peer) errors you mentioned
in your other mail, it could also mean that something else
(virusscanner/firewall/proxy) is forcefully closing connections.
Mark
wrote:
> --- In Firebird-Java@yahoogroups.com, Mark Rotteveel <mark@...> wrote:the
>>
>> On 13-5-2013 23:49, hugo.larson wrote:
>> >> It is good to know, but I am not yet closer to a solution ;)
>> >>
>> >> Could you try to reproduce the issue with Jaybird 2.2.3 and share
>> >> exception that should now include the IOException stacktrace?Source)
>> >>
>> >> Mark
>> >>
>> > Hi Mark,
>> >
>> > Here is the Exception from Jaybird 2.2.3:
>> >
>>
>> > Caused by: java.net.SocketException: Socket closed
>> > at java.net.SocketOutputStream.socketWrite0(Unknown Source)
>> > at java.net.SocketOutputStream.socketWrite(Unknown Source)
>> > at java.net.SocketOutputStream.write(Unknown Source)
>> > at org.firebirdsql.gds.impl.wire.XdrOutputStream.flush(Unknown
>> > ... 59 moreerror.
>>
>> I will check for socket closes in the code, but nothing jumps out right
>> now and the areas where sockets are closed are really limited.
>>
>> Maybe the socket is already closed earlier because of a different
>> If possible, could try and collect more of these errors and see if youI am not sure. In those cases I would actually expect a real error
>> also get other IOExceptions than this one?
> Hello,
>
> So far the only Exception is Socket Closed. Will continue monitoring.
>
> Could be something in the DB engine that closes the socket?
returned from Firebird instead of just closing the connection. It could
happen if you use an UDF that crashes the server (this would be less
noticable for Classic Server than for SuperServer, as with classic it would
only affect a single connection).
Given the number of 10054 (connection reset by peer) errors you mentioned
in your other mail, it could also mean that something else
(virusscanner/firewall/proxy) is forcefully closing connections.
Mark