From: Bernd Hohmann on
Roger wrote:

> My dev team is getting this error when they run big load program :
> COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0601E Invalid
> statement handle or statement is closed. SQLSTATE=S1000
> .
> The application runs fine when they run small loads. I checked the Db2
> client FP..its on DV2 V8 FP10.

Wild guess: another thread retrieves a statement from the connection in
the meantime and executes it or there is only one statement handle and a
different threads uses this handle from time to time.

Bernd

--
What do you get when you cross a mail pigeon with a parrot ? Voice mail
From: Roger on
I don't think thats the case. We are running the insert process by
itself.


Bernd Hohmann wrote:
> Roger wrote:
>
> > My dev team is getting this error when they run big load program :
> > COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0601E Invalid
> > statement handle or statement is closed. SQLSTATE=S1000
> > .
> > The application runs fine when they run small loads. I checked the Db2
> > client FP..its on DV2 V8 FP10.
>
> Wild guess: another thread retrieves a statement from the connection in
> the meantime and executes it or there is only one statement handle and a
> different threads uses this handle from time to time.
>
> Bernd
>
> --
> What do you get when you cross a mail pigeon with a parrot ? Voice mail

From: aj on
Is there a connection pooling mechanism? Could something be timing out
on big loads and cutting the connection?

Roger wrote:
> I don't think thats the case. We are running the insert process by
> itself.
>
>
> Bernd Hohmann wrote:
>> Roger wrote:
>>
>>> My dev team is getting this error when they run big load program :
>>> COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0601E Invalid
>>> statement handle or statement is closed. SQLSTATE=S1000
>>> .
>>> The application runs fine when they run small loads. I checked the Db2
>>> client FP..its on DV2 V8 FP10.
>> Wild guess: another thread retrieves a statement from the connection in
>> the meantime and executes it or there is only one statement handle and a
>> different threads uses this handle from time to time.
>>
>> Bernd
>>
>> --
>> What do you get when you cross a mail pigeon with a parrot ? Voice mail
>
From: Bernd Hohmann on
Roger wrote:

> I don't think thats the case. We are running the insert process by
> itself.

In this case: define "big load program".... If the connection idles for
a long while, it will be closed by the tcp/ip stack as every other
tcp/ip connection.

We had this case a while ago. Either you invent a ping-thread using the
same connection (which won't work here because you're waiting for the
result) or tune the timeout settings of the workstations tcp/ip stack.

Bernd

--
What do you get when you cross a mail pigeon with a parrot ? Voice mail
From: Roger on
I am not using connection pooling. Runs on a type 4 driver. It runs for
1 hr and then gets the error



Bernd Hohmann wrote:
> Roger wrote:
>
> > I don't think thats the case. We are running the insert process by
> > itself.
>
> In this case: define "big load program".... If the connection idles for
> a long while, it will be closed by the tcp/ip stack as every other
> tcp/ip connection.
>
> We had this case a while ago. Either you invent a ping-thread using the
> same connection (which won't work here because you're waiting for the
> result) or tune the timeout settings of the workstations tcp/ip stack.
>
> Bernd
>
> --
> What do you get when you cross a mail pigeon with a parrot ? Voice mail

 |  Next  |  Last
Pages: 1 2
Prev: [IBM][JDBC Driver] CLI0601E
Next: RESOLVED