[jboss-user] DB2 - Failure in loading native library db2jcct2, jboss native access?
Aljosa Mohorovic
aljosa.mohorovic at gmail.com
Tue Jul 22 08:47:57 EDT 2008
i have ibm db2 library path exported so jboss should found native
library but it fails.
is there some setting that prevents jboss to access native library?
-----------------------
~/downloads/tmp/jboss-4.2.3.GA$ echo $LD_LIBRARY_PATH
/opt/ibm/db2exc/V9.5/lib32:/opt/ibm/db2exc/V9.5/java:
-----------------------
jboss is running as root, permissions should be ok, this is output with error:
-----------------------
14:45:56,908 INFO [STDOUT] com.ibm.db2.jcc.a.SqlException:
[jcc][10389][12245][4.0.100] Failure in loading native library
db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in
java.library.path: ERRORCODE=-4472, SQLSTATE=null
14:45:56,908 INFO [STDOUT] at com.ibm.db2.jcc.a.yc.a(yc.java:55)
14:45:56,908 INFO [STDOUT] at com.ibm.db2.jcc.a.yc.a(yc.java:93)
14:45:56,908 INFO [STDOUT] at com.ibm.db2.jcc.t2.a.a(a.java:37)
-----------------------
any idea/tip appreciated.
Aljosa Mohorovic
More information about the jboss-user
mailing list