Subject | Re: GDS Exception. 335544721. Unable to complete network request to host |
---|---|
Author | hugo.larson |
Post date | 2013-05-19T10:54:07Z |
--- In Firebird-Java@yahoogroups.com, Mark Rotteveel <mark@...> wrote:
1. DX components opens connection of closed.
2. The exception occurs in the middle of an operation.
Can it be the case that somehow the connection closes for some unknown reason, from the engine or Jaybird and DX "thinks" its open? But again, there are no problems before this exception happens.
>The connection stays open.
> On 19-5-2013 11:33, hugo.larson wrote:
> >> Can it be that you use a connection pool and the connection was
> >> "waiting" in the pool for a long time, then it is accessed and the first
> >> network operation fails?
> >>
> >> In old pool classes there was a property which caused the pool to
> >> execute some statements that should always work (SELECT 1 FROM
> >> rdb$database), and if it failed, it recycled the connection before it
> >> was returned to the application.
> >>
> >> Roman
> >>
> > Hello Roman,
> >
> > No pools are used.
> > Just plain DataExpress DataBase class that stays open.
>
> But how long is that connection open, and how long is it idle? It might
> indeed be that a timeout occurred and Firebird closed the connection.
>
> Mark
> --
> Mark Rotteveel
>
1. DX components opens connection of closed.
2. The exception occurs in the middle of an operation.
Can it be the case that somehow the connection closes for some unknown reason, from the engine or Jaybird and DX "thinks" its open? But again, there are no problems before this exception happens.