The moose likes JDBC and the fly likes As/400 Db2 Jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "As/400 Db2 Jdbc " Watch "As/400 Db2 Jdbc " New topic

As/400 Db2 Jdbc

Rajasekar Raj

Joined: Jun 07, 2003
Posts: 2
I wish to make connection to AS/400 DB2 from a NT System.
//Connection con = DriverManager.getConnection("jdbc b2://(ipaddress or hostname):6789/databasename","userid","password");
i am using db2java.zip which is taken after installation of DB2 UDB on
I am getting the following Exception.
COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0616E Error opening socket. SQLSTATE=08S01
at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.socketException(SQLExcepti

This happens if the DB2 JDBC Applet Server is not running. You need start this service.
Is this service is same as DB2JSTRT?
If so, is it available in AS/400 DB2.
If so, how to start this service.
If not what is the way to get Connection?
I agree. Here's the link: http://aspose.com/file-tools
subject: As/400 Db2 Jdbc