If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 9.5 eclipse unable to connect

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-27-09, 00:25
sornadav sornadav is offline
Registered User
 
Join Date: Jun 2009
Posts: 1
DB2 9.5 eclipse unable to connect

Hi guys,
Recently I downloaded DB2 Express C v9.5. I installed it in my Ubuntu PC. I am using Eclipse to build my Java applications.
I logged in to my db2 instance. I started my db2 server.

To connect eclipse and DB2, I tried creating a Data Source in the Data Source explorer in eclipse. I filled in the details and when I click "Test Connection", I get an error saying "ping failed".

When I see the details, it shows the following.

com.ibm.db2.jcc.a.en: [jcc][t4][2043][11550][3.52.95] Exception [Ljava.lang.Object;@11eaf4e: Error opening socket to server {1} on port {2} with message: {3}. ERRORCODE=-4499, SQLSTATE=08001


These are the jar files I included in the Data Source:
db2jcc.jar
db2jcc_license_cu.jar

Can anyone help?
Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 06-27-09, 05:59
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Can we see your connection string?
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On