Hello,
Firstly all apologize for my english.
Secondly, I've got some problems to connect to a DB2 database with
JDBC client.
My configuration is :
- DB2 8.1 on an AIX server (name rs26 for the further example)
- Standalone application on Windows XP using JDBC to connect to the
DB2 database
And when I try the connection, I have this error message :
COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0106E Connection
is closed. SQLSTATE=08003
[IBM][CLI Driver] CLI0106E Connection is closed. SQLSTATE=08003
Do you know why I have this error ?
If some supplementary informations are needed, there is the example :
AIX Server :
-------
I start the database with the command db2start
I know I have a TCP configuration (port 50000) for my database (netsat
command confirms this)
Then I launch db2jstrt 60000 for starting the JDBC applet on 60000
port
Finally, the name of my database's instance is stel71
-------
Windows CLient :
-------
I'am using DB2 JDBC drivers which are provided by DB2 on the AIX
server :
- Driver class : COM.ibm.db2.jdbc.net.DB2Driver (I've the same
problem with ".app" instead of ".net")
- database URL : jdbc:db2://rs26:60000/stel71 (I think it's correct
!)
-------
I hope you have all the informations.
Thanks for your help ...