tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: DB2/servlet error....Help need please
Date Fri, 02 Aug 2002 17:33:32 GMT

Can anyone help me Please !!!

Nishant Awasthi

                    08/02/2002 11:20 AM           
                    Please respond to            cc:     (bcc: Nishant Awasthi)          
                    "Tomcat Users List"          Subject:     DB2/servlet error....Can anyone

hello gurus...

I am trying to run servlet on DB2...
I have tested that My servlet is successfully established the connection
with the
Db2 with the connection string I am using,
It is throwing following exception/error

[IBM][JDBC Driver] CLI0601E Invalid statement handle or statement is
closed. SQLSTATE=S1000

when I try to use
stmt = con.createStatement();
rs = stmt.executeQuery("select * from db2admin.employee");
in my servlet code.

I try to find out the cause for this problem, I found the reason on

As per the link All the error message logs to file: jdbcerr.log which is
placed in C:\WINNT\system32
I opened it to find the following:

(Thu Aug 01 15:52:28 2002) pid= 2952 main(): Server is starting up on user
specified port, einfo= 6790 (client IP = )

(Thu Aug 01 15:52:50 2002) pid= 2192 jdbcFSQLConnect(): The levels of ((null)) and db2jd (n010415) do not match, einfo= -111 (client
IP =

Now, I can make out that there is mis-match between and db2jd
But I don't know how to correct it...

Do anyone of you had similar problem in the past?
Can Any guru throw some light..on this..

I appreciate your help,

Nishant Awasthi
Corporate Systems Development
Progressive Insurance

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message