0 Replies Latest reply on Jan 7, 2003 7:33 PM by luis meira

    Urgent - Problem configuring DB2 data source

    luis meira Newbie

      hello everyone,

      i'm trying to create a db2 data source.

      i put the supplyed db2 configuration file into the deploy directory.

      i've the db2java.zip ( db2 jdbc driver ) in the lib directory of the web application.

      but when i connect to the datasource from servlet i always get this error message :

      Failed to register driver for: COM.ibm.db2.jdbc.app.DB2Driver; - nested throwable: (java.sql.SQLException: java.lang.UnsatisfiedLinkError: D:\programs\SQLLIB\DLL\db2jdbc.dll: Unable to load D:\programs\SQLLIB\DLL\db2jdbc.dll.DLL (OS/2 RC = 2 reason = 'JAVAI')); - nested throwable: (org.jboss.resource.ResourceException: Failed to register driver for: COM.ibm.db2.jdbc.app.DB2Driver; - nested throwable: (java.sql.SQLException: java.lang.UnsatisfiedLinkError: D:\programs\SQLLIB\DLL\db2jdbc.dll: Unable to load D:\programs\SQLLIB\DLL\db2jdbc.dll.DLL (OS/2 RC = 2 reason = 'JAVAI')))

      by any change any one of you knows what i am doing wrong ?

      best regards

      Luís Filipe Meira