Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    1

    Unanswered: 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.

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •