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.