Hello, I am wondering if someone could provide me some assistance. Currently I am working with a piece of IBM software called CMOD (Content Manager OnDemand). This software is used for document storage… Well one of the api’s that comes with the software is called arsxml. When I attempt to execute this api, the tool displays the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: arsxapi (/opt/ondemand/bin/xml/libarsxapi.so: cannot open shared object file: No such file or directory)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:958)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:927)
at java.lang.System.loadLibrary(System.java:378)
at com.ibm.cm.od.ArsAdminInterface.<clinit>(ArsAdminInterface.java:15)
at java.lang.Class.initializeImpl(Native Method)
at java.lang.Class.initialize(Class.java:339)
at com.ibm.cm.od.ArsAdmin.<init>(ArsAdmin.java:44)
at com.ibm.cm.od.ArsXML.initAdmin(ArsXML.java:204)
at com.ibm.cm.od.ArsXML.<init>(ArsXML.java:170)
at com.ibm.cm.od.ArsXMLbat.main(ArsXMLbat.java:41)
Below is the location and permissions on the libarsxapi.so shared object
[app1mvf@njmorltlab0003 xml]$ pwd
/opt/ondemand/bin/xml
[app1mvf@njmorltlab0003 xml]$ ls
total 2.8M
drwxrwxrwx 2 root root 4.0K Aug 28 12:34 samples/
drwxrwxrwx 4 root root 4.0K Mar 4 2009 ../
drwxrwxrwx 3 root root 4.0K Sep 11 2008 ./
-rwxrwxrwx 1 root root 2.4M Nov 2 2006 libarsxapi.so*
-rwxrwxrwx 1 root root 230K Nov 2 2006 ODAdmin.jar*
-rwxrwxrwx 1 root root 66K Nov 2 2006 ondemand.xsd*
-rwxrwxrwx 1 root root 37K Nov 2 2006 README*
-rwxrwxrwx 1 root root 36K Nov 2 2006 README.html*
Library dependencies:
[app1mvf@njrarltsvr00c8 ~]$ ldd /opt/ondemand/bin/xml/libarsxapi.so
linux-gate.so.1 => (0xffffe000)
libnsl.so.1 => /lib/libnsl.so.1 (0xf7c56000)
libdl.so.2 => /lib/libdl.so.2 (0xf7c52000)
libm.so.6 => /lib/tls/libm.so.6 (0xf7c2f000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf7c1d000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7bef000)
libicuuc30.so => /opt/ondemand/lib/libicuuc30.so (0xf7ac2000)
libicudata30.so => /opt/ondemand/lib/libicudata30.so (0xf7abb000)
libicui18n30.so => /opt/ondemand/lib/libicui18n30.so (0xf7905000)
libimf.so => /opt/ondemand/lib/libimf.so (0xf77b4000)
libcprts.so.5 => /opt/ondemand/lib/libcprts.so.5 (0xf7736000)
libcxa.so.5 => /opt/ondemand/lib/libcxa.so.5 (0xf7710000)
libunwind.so.5 => /opt/ondemand/lib/libunwind.so.5 (0xf770a000)
libc.so.6 => /lib/tls/libc.so.6 (0xf75dd000)
/lib/ld-linux.so.2 (0x56555000)
The following is out of my bash profile file:
15 export JAVA_HOME=/opt/IBMJava2-amd64-142
16 PATH=$JAVA_HOME/bin:$PATH:$HOME:/a585/app/script
17 LD_LIBRARY_PATH=/opt/ondemand/bin/xml:/usr/lib64
18 export LD_LIBRARY_PATH
Java Versions Installed:
[app1mvf@njrarltsvr00c8 ~]$ java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20061124 (JIT enabled)
J9VM - 20061121_1035_LHdSMr
JIT - r7_level20061020_1803)
PATH Literal:
[app1mvf@njrarltsvr00c8 ~]$ echo $PATH
/opt/IBMJava2-amd64-142/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/odbinstd/sqllib/bin:/home/odbinstd/sqllib/adm:/home/odbinstd/sqllib/misc:/home/app1mvf:/a585/app/script
By the way this api is executing on a RHEL4.6 Server.
Thanks to any help you can provide me.
Edited by: app1mvf on Sep 24, 2009 11:32 AM