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
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