This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes JDBC and the fly likes UnsatisfiedLinkError: SQLAllocEnv in DB2 Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "UnsatisfiedLinkError: SQLAllocEnv in DB2 Connection" Watch "UnsatisfiedLinkError: SQLAllocEnv in DB2 Connection" New topic
Author

UnsatisfiedLinkError: SQLAllocEnv in DB2 Connection

VijayRawat Rawat
Greenhorn

Joined: Aug 19, 2004
Posts: 9
I having problem connecting to DB2 in WSAD.

I WSAD I have configured DataSource
Driver : COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource
The DB2 Client has been installed and configured.
db2java.zip is in classpath.

When I run Web Application. I get this error
Exception data: java.lang.UnsatisfiedLinkError: SQLAllocEnv
at COM.ibm.db2.jdbc.app.DB2Driver.<init>(DB2Driver.java:299)
at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(DB2Driver.java:135).null(Unknown Source)
at COM.ibm.db2.jdbc.DB2BaseDataSource.isLoaded(DB2BaseDataSource.java:327)
at COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource.getPooledConnection(DB2ConnectionPoolDataSource.java:102)
at COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource.getPooledConnection(DB2ConnectionPoolDataSource.java:74)
at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:688)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:111)
at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:683)
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:487)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:577)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1280)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1064)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424)


Can some body help me

Thanks
Vijay Rawat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UnsatisfiedLinkError: SQLAllocEnv in DB2 Connection