File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Create Database Connection with DB2 driver in dbvisualizer DataBase with localhost IP and Port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Create Database Connection with DB2 driver in dbvisualizer DataBase with localhost IP and Port" Watch "Create Database Connection with DB2 driver in dbvisualizer DataBase with localhost IP and Port" New topic
Author

Create Database Connection with DB2 driver in dbvisualizer DataBase with localhost IP and Port

Java Pradeep Kumar Kumar
Greenhorn

Joined: Feb 22, 2013
Posts: 7
want to Create Database Connection with DB2 driver in dbvisualizer DataBase. I have given Database Userid : user, Database Password : pwd, Database Server : localhost, Database Port : 50000, Database : sample, Auto Commit : checked(selected), Save Database Password : Save Between Sessions, Permission Mode: Development Show Detailed Error Messages : checked(selected).

Clicked on Connect button. Following is the error message I am getting.

Product: DbVisualizer Free 9.0.4 Build: #1920 (2013/02/19 10:16) Java VM: Java HotSpot(TM) Client VM Java Version: 1.6.0_24 Java Vendor: Sun Microsystems Inc. OS Name: Windows 7 OS Arch: x86 OS Version: 6.1

An error occurred while establishing the connection:

Long Message: [jcc][t4][2043][11550][3.57.82] Exception java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,000 with message: Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001

Details: Type: com.ibm.db2.jcc.am.yn Error Code: -4499 SQL State: 08001

Please can anybody help me in Creating Database Connection with DB2 driver in dbvisualizer DataBase using localhost IP Address and Port.

Thanks in advance.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Create Database Connection with DB2 driver in dbvisualizer DataBase with localhost IP and Port