Hi,
Our application is running on
Tomcat 4.1 and DB2 7.2 and it is working fine. Recently we moved to DB2 8.0 and I am getting the following error.
java.lang.UnsatisfiedLinkError: SQLAllocEnv
at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native Method)
at COM.ibm.db2.jdbc.app.DB2Driver.<init>(DB2Driver.java:244)
at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(DB2Driver.java:129)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at com.ocg.apa.util.ConnectorHelper.getDBConnection(Unknown Source)
at com.ocg.apa.util.ConnectorHelper.getConnection(Unknown Source)
at com.ocg.apa.db.provider.DBDataProvider.transmit(Unknown Source)
at com.ocg.apa.db.DataTransceiver.transmit(Unknown Source)
at com.ocg.apa.db.DataService.transmit(Unknown Source)
This is what is there in my classpath
C:\>echo %classpath%
.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar
Can anyone help in this?
Regds
Rajesh