• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 Connection Problem

 
Sri Prof
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam new to DB2 and trying to connect using Java Class and I am getting the following error. Can anybody tell me what may be the reason.
Thanks in advance.
java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in java.librar
y.path
at COM.ibm.db2.jdbc.app.DB2Driver.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.jnl.db.DBUtil.getConnection(DBUtil.java:48)
at com.jnl.db.DBUtil.getConnection_Jnl(DBUtil.java:29)
at com.jnl.db.DBQuery.insert_Jnl(DBQuery.java:58)
at com.jnl.util.Util.insertErrorMsg(Util.java:294)
at com.jnl.tm.TMProspect.processProspects(TMProspect.java:91)
at com.jnl.tm.TMProspect.main(TMProspect.java:105)

Thanks & Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic