File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes DB2 8.0 Driver Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "DB2 8.0 Driver Error" Watch "DB2 8.0 Driver Error" New topic
Author

DB2 8.0 Driver Error

Rajesh Navduri
Ranch Hand

Joined: Jun 28, 2001
Posts: 31
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
 
wood burning stoves
 
subject: DB2 8.0 Driver Error