|
From: EXT-Smith, E. M <eri...@bo...> - 2003-10-06 13:14:01
|
Hello all, First of all, thank you for developing and open-sourcing a wonderful = tool. It worked out of the box for us on Win2K and XP. However... We are desperately trying to get the Java Service Wrapper to work on the = HP-UX platform and have yet to get anything going properly. We are working with a "bare-bones" HP-UX system (default ISO-C89 = compiler, gcc, java 1.3 and java 1.4), and each time we try to launch = the wrapper (either using the testwrapper or our own service code), we = receive an UnsatisfiedLinkError from the System.loadLibrary call = (WrapperManager.java). eg: jvm 3 | WARNING - Unable to load native library 'libwrapper.so'. The = file jvm 3 | is located on the path at the folloing location but = could jvm 3 | not be loaded: jvm 3 | = /opt/Infostructure/EDGE/wrapper_3.0.5_src/bin/../lib/libwrapper.so jvm 3 | Please verify that the file is readable by the = current user jvm 3 | ant that the file has bot been corrupted in any = way. jvm 3 | System signals will not be handled correctly. We have done everything listed in the error message, but to no avail. Here is what we have done: 1. We are logged in as root. 2. We downloaded the wrapper 3.0.5 source and doc tarball (download to = Linux and NFS copy to the HP-UX) 3. Extracted tarball into build location 4. Modified Makefile.hpux to define -D_LP64 as a compile option (without = it, Wrapperjni doesn't compile). 5. Run build script (./build.sh) targets total-clean-unix, main 6. Verified libwrapper.so has 777 privileges. 7. Verified root is owner of libwrapper.so 8. Verified sys is group of libwrapper.so 9. Verified root is logged in user 10. Verified root is a member of sys group. 11. Attempted to launch testwrapper test executable. =3D=3D> Received the error here. As far as I can determine, everything is set properly. Questions: 1) What software/version needs to be installed on the machine to = generate a correct shared library. 2) What other tasks do I need to execute to get the libwrapper.so to = load properly. Thank you Eric M. Smith Infostructure Systems Boeing Chairmans Innovation Initiative. |