permaculture playing cards*
The moose likes JDBC and the fly likes Need Help with UnsatisfiedLinkError: SQLAllocEnv  Error.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Need Help with UnsatisfiedLinkError: SQLAllocEnv  Error.." Watch "Need Help with UnsatisfiedLinkError: SQLAllocEnv  Error.." New topic
Author

Need Help with UnsatisfiedLinkError: SQLAllocEnv Error..

Devesh H Rao
Ranch Hand

Joined: Feb 09, 2002
Posts: 687

Hi all..
The specifications of the Application i am working on is as follows.
Appserver : websphere v4.01
Database : DB2 v7.2
OS : AIX server running on unix.
I encounter the following error when i try to get a connection from the Appserver.
ERROR:
Class: javax.security.auth.login.LoginException: java.lang.UnsatisfiedLinkError: SQLAllocEnv at COM.ibm.db2.jdbc.DB2BaseDataSource.loadDLL(DB2BaseDataSource.java:312) at COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource.getPooledConnection(DB2ConnectionPoolDataSource.java:102) at com.ibm.ejs.cm.pool.JDBC1xConnectionFactory.createConnection(JDBC1xConnectionFactory.java:42) at com.ibm.ejs.cm.pool.ConnectionPool.createConnection(ConnectionPool.java:914) at com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(ConnectionPool.java:846) at com.ibm.ejs.cm.pool.ConnectionPool.findFreeConnection(ConnectionPool.java:764) at com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(ConnectionPool.java:676) at com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(ConnectionPool.java:610) at com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:274) at com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:269) at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:99) at com.mst.common.helper.ServerUtility.getSecurityConnection(ServerUtility.java:71) at com.mst.security.domain.MSTLoginModule.checkLogin(MSTLoginModule.java:163) at com.mst.security.domain.MSTLoginModule.login(MSTLoginModule.java:66) at java.lang.reflect.Method.invoke(Native Method) at javax.security.auth.login.LoginContext.invoke

Can anybody please help me out with this ...
i need to know if i have any patch missing or is my server configuration is at fault for me not getting connection from the pool.
Thanks in advance...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help with UnsatisfiedLinkError: SQLAllocEnv Error..