I wrote a program to connect to a db2 database on a system named Niranjan and database name is SAMPLE. the program is import java.sql.*; import java.io.*;
} This program is giving an error "COM.ibm.db2.jdbc.net.DB2Exception: [IBM][JDBC Driver] CLI0616E Error opening socket. SQLSTATE=08S01" Plese Help me to get rid of this problem.. Niranjan
Julio Lopez
Greenhorn
Joined: Nov 14, 2000
Posts: 28
posted
0
Instead of using "NIRANJAN" in the URL I would try using the IP address instead. String conn = "jdbc:db2://NIRANJAN:3456/SAMPLE"; Julio Lopez M-Group Systems
sach rao
Greenhorn
Joined: May 10, 2001
Posts: 3
posted
0
Originally posted by niranjan pulipati: I wrote a program to connect to a db2 database on a system named Niranjan and database name is SAMPLE. the program is import java.sql.*; import java.io.*;
} This program is giving an error "COM.ibm.db2.jdbc.net.DB2Exception: [IBM][JDBC Driver] CLI0616E Error opening socket. SQLSTATE=08S01" Plese Help me to get rid of this problem.. Niranjan
sach rao
Greenhorn
Joined: May 10, 2001
Posts: 3
posted
0
Is your Database instance started or Is it listening at port no 3456 ? Sach
Originally posted by Julio Lopez: Instead of using "NIRANJAN" in the URL I would try using the IP address instead. String conn = "jdbc:db2://NIRANJAN:3456/SAMPLE"; Julio Lopez M-Group Systems
Sadaf Ahmed
Greenhorn
Joined: Mar 19, 2004
Posts: 3
posted
0
Hi, I am facing exactly the same problem here. Could you please tell me how to overcome this if you did?
Thanks, Sadaf
Priya Dhir
Greenhorn
Joined: Apr 29, 2005
Posts: 1
posted
0
Hi, I am getting the following error when trying to connect to DB2.
COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0615E Error receiving from socket, server is not responding. SQLSTATE=08S01
the code is : Class.forName("COM.ibm.db2.jdbc.net.DB2Driver"); Connection con = DriverManager.getConnection( "jdbc b2://INIDCP01BDC01:50000/GRPSREF", "db2adminla", "db2adminla");
Any idea what the possible problem could actually be ?