> > > Or just cut the drivermanager out ot the picture. Do this:
> > >
[quoted text clipped - 12 lines]
> send this error message to an IBM newsgroup for deciphering.
> Joe
> This post says you need to set environmet var 'DB2INSTANCE':
> http://www.developer.ibm.com/tech/faq/individual/0,,2:24408,00.html
Thanks!
Ok, at least I can connect now. But when listing the table with DbVisualizer
(www.minq.se) it get a DB2Exception:
[IBM][JDBC Driver] CLI0601E Invalid statement handle or statement closed.
SQLSTATE=51000.
I yet didn't do any JDBC stuff on my own...
Timo Nentwig - 25 Sep 2003 07:00 GMT
> Ok, at least I can connect now. But when listing the table with
> DbVisualizer (www.minq.se) it get a DB2Exception:
>
> [IBM][JDBC Driver] CLI0601E Invalid statement handle or statement closed.
> SQLSTATE=51000.
And with DbEdit on eclipse I cannot even connect:
[IBM][CLI Driver] CLI0108E Communication link failure. SQLSTATE=40003
dbedit.core.DataException: [IBM][CLI Driver] CLI0108E Communication link
failure. SQLSTATE=40003
COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0108E Communication
link failure. SQLSTATE=40003
:-(
Timo Nentwig - 25 Sep 2003 07:01 GMT
> And with DbEdit on eclipse I cannot even connect:
>
[quoted text clipped - 4 lines]
> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0108E Communication
> link failure. SQLSTATE=40003
followed by...
[IBM][JDBC Driver] CLI0601E Invalid statement handle or statement is
closed. SQLSTATE=S1000
dbedit.core.DataException: [IBM][JDBC Driver] CLI0601E Invalid statement
handle or statement is closed. SQLSTATE=S1000
COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0601E Invalid
statement handle or statement is closed. SQLSTATE=S1000
Bob Kranson - 25 Sep 2003 18:57 GMT
Seems like you need to look closer at your DB2 install and setup. Your DB2
URL may need extra value pairs to establish the correct TYPE of
connection....refer DB2 docs and IBM/DB2 java docs.
> > This post says you need to set environmet var 'DB2INSTANCE':
> > http://www.developer.ibm.com/tech/faq/individual/0,,2:24408,00.html
[quoted text clipped - 8 lines]
>
> I yet didn't do any JDBC stuff on my own...