This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
2-phase-commit using MQseries as XA coordinator
Problem in running Fibonacci Web Service Example
WAS 4.0 installation guide not on the web
UnsatisfiedLinkError Driver.SQLAllocEnv() - WSAD and DB2 7.x
UnsatisfiedLinkError: SQLAllocEnv in DB2 Connection