473,408 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

[IBM][JDBC Driver] CLI0601E

Hi !

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.

Any input is greatly appreciated.
Thanks

Jan 17 '07 #1
9 8822
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
Jan 17 '07 #2
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
Jan 17 '07 #3
aj
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
Jan 17 '07 #4
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
Jan 17 '07 #5
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
Jan 17 '07 #6
Roger wrote:
I am not using connection pooling. Runs on a type 4 driver. It runs for
1 hr and then gets the error
1hr without any traffic from or to the database?

Bernd

--
What do you get when you cross a mail pigeon with a parrot ? Voice mail
Jan 17 '07 #7
Roger wrote:
I am not using connection pooling. Runs on a type 4 driver. It runs for
1 hr and then gets the error
Activate a CLI trace and see what is going on with your statement handles.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 17 '07 #8
thanks a trace revealed bug in the app that had close statement.

Knut Stolze wrote:
Roger wrote:
I am not using connection pooling. Runs on a type 4 driver. It runs for
1 hr and then gets the error

Activate a CLI trace and see what is going on with your statement handles.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 21 '07 #9
Roger wrote:
thanks a trace revealed bug in the app that had close statement.

Knut Stolze wrote:
>Roger wrote:
>>I am not using connection pooling. Runs on a type 4 driver. It runs for
1 hr and then gets the error
Technically speaking you were using legacy App driver - since your CLI trace was
captured.
DB2 JCC Universal Driver in T2 (Type 2) connectivity does not use CLI layer -
but uses DB2 Client code.
DB2 JCC Universal Driver in T4 (Type 4) connectivity does not use CLI layer and
does not need DB2 client code installed.

Jan M. Nelken
Jan 21 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Steverino | last post by:
Hi, I'm currently trying to learn DB2. I have the following version below installed on my server machine on my little LAN. However when I try to connect to it from my client machine, I receive...
3
by: r_stringer66 | last post by:
Hi, I am trying to connect to a db2 database via a jdbc application and this is the following error I get: Exception : CLI0615E Error receiving from socket, server is not responding....
4
by: amogh | last post by:
Hi, I am trying to use the IBM DB2 Universal Database driver (IBM JDBC package). How do I wrap an Oracle connection within an IBM connection? Is it possible ? I tried searching through the...
15
by: Joe Weinstein | last post by:
Hi. Below is a simple JDBC program to insert and extract a numerical value. When ResultSet.getDouble() is called, the same program produces different output on solaris than it does on Linux. I...
1
by: frank | last post by:
I have installed DB2 V7.2 twice now and I keep getting the error: " CLI0622E Error accessing JDBC administration service extensions." I see that this is a fairly common error but I have yet to...
1
by: jedi71 | last post by:
Hi all ! When I try to connect to DB2 5 on a z\OS mainframe over JDBC with my java application (on Windows XP-SP2, JRE 1.6.0_03) I receive the following exception: "There is no available...
1
by: cwhankey | last post by:
I'm trying to connect to a zOS instance of DB2 using IBM's JDBC driver,but I'm getting the following error. The table does exist because I can connect via DB2 Connect. Any idea wha the problem is?...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.