Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Error opening socket. SQLSTATE=08S01

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I posted the same question yesterday and I modify it a little bit but it still has some problem.
Here's my info.
Error: [IBM][JDBC Driver] CLI0616E Error opening socket. SQLSTATE=08S01
I have a problem to get the connection from the mainframe db2.
My codes:
Connection db2conn = DriverManager.getConnection("jdbc b2://gateway_host_ip_address ort atabase alias name", "userid","password");
I am running my java ap on NT box and I have the in my classpath.
What else I can do to get this working
Gateway or database alias name?
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike,
This would happen if the JDBC Server is not up. Start the JDBC Server and rerun your program. It should work fine.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic