Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error from DB2 --- SQLSTATE=08S01

Status
Not open for further replies.

loveena

Programmer
May 11, 2003
1
IN
I am accessing my database in DB2 using java program
I am using this statement:-

Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
con = DriverManager.getConnection("jdbc:db2://serverName/MOM", userName, password);

but i am getting "Error receiving from socket, server is not responding" again and again.
I tried every thing.
i used port also like:-
"jdbc:db2://serverName:50000/MOM"

but agian same error.
Whats the solution for this.
Please anybody help me
Thankx in advance.
Loveena
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top