Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DB2 SQLSTATE ???

 
Manoj Singh
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys !
This is the exception I am getting while attempting to connect to a DB2 database...

SQL Exception caught: COM.ibm.db2.jdbc.net.DB2Exception: [IBM][JDBC Driver] CLI0614E Error sending to the socket, server is not responding. SQLSTATE=08S01

Can anyone tell where exactly the problem lies...I mean my code or something to do with the server ???
ThanX
Manoj
 
A Hillman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely your JDBC Applet Server isn't running. You can start this in your services under NT/2000. Under UNIX OSes, you will need to start the process with somthing like this:
db2jstrt portno
Where portno is the portnumber to be used, I don't remember the default value, but if you specify the port number, you can also specify it when you connect to the server.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!