This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

connecting to a db2 database

 
Oscar Lakra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to execute a java program running on (let's say termA) trying to connect to a DB2 database on (let's say termB).The environment on both the machines are AIX with JDK 1.3.0 installed.
the following configurations are being used:
driver = COM.ibm.db2.jdbc.net.DB2Driver
dbUrl = jdbc:db2://10.10.10.1:4001/mydatabase
user = dbadmin
password = dbadmin
using the same above configurations except the appropriate changes in the driver and the dbUrl the code works fine on termB. additionally on termB the following service was started as per the documentation from IBM
"db2jstrt 4001"
having met all the described settings when i finally tried to execute the code the following error was generated:
java.sql.SQLException: java.lang.UnsatisfiedLinkError:
no dbjdbc (libdb2jdbc.a or .so) in java.library.path
please help as this application is very critical. thanks in advance
-oscar
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!