• Post Reply Bookmark Topic Watch Topic
  • New Topic

DB2 Connection Problem  RSS feed

Sri Prof
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
at COM.ibm.db2.jdbc.app.DB2Driver.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!