?
Solved

JDBC Connection Error

Posted on 2003-02-19
4
Medium Priority
?
799 Views
Last Modified: 2010-08-05
I've installed this scenario:

Server -> Linux Suse 6.4 with DB2 7.1
Client -> 1.- W2k with DB2 AdminClient
          2.- Linux workstations with SunOne Studio 4.1 & DB Visualizer 3.2 (workstations with Sun JDK 1.4.x)

On w2k Db2cc works perfectly and it connect fine with the server.I have created a database named DB2Test with two Tables.

Using ODBC,I can connect with DBTest and y can see the tables.

The problem appears when I try a JDBC Connection from SunOne Studio or DB Visualizer using db2java.zip (COM.ibm.db2.jdbc.net.DB2Driver) using this connection string :

jdbc:db2://my_server_name:6688:db2test

I've get the following error :

COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0615E  Error receiving from socket, server is not responding. SQLSTATE=08S01
[IBM][JDBC Driver] CLI0615E  Error receiving from socket, server is not responding. SQLSTATE=08S01

The server work correctly (i can connect with db2cc) and I've running db2jd on port 6688

What's the problem?

Thanks.

0
Comment
Question by:ivitalg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
elpp earned 100 total points
ID: 7981123
The connection string should be:
jdbc:db2://my_server_name:6688/db2test
0
 
LVL 9

Assisted Solution

by:mglxxx
mglxxx earned 100 total points
ID: 7985762
If the connection URL you gave is wrong due
to a typo: do you have the same version of
DB2 installed on W2k and Linux? For the
'net' driver to work the db2java.zip need to be
the same version both on client and server.

One thing to try would to copy the db2java.zip from
the Linux box to the W2k box and try using that
on the the W2k box.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question