This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB2 8.0 Driver Error