axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe <...@macnica.com>
Subject Re: .so files for AXIS
Date Mon, 17 Feb 2003 04:02:11 GMT
Try exporting the ENV variable before you call your program:

export LD_LIBRARY_PATH=path_to_so

set this in your shell, or in the script that starts the java program.

hope it helps,

joe



Robert Morse wrote:

>Within my AXIS service, I need to call some legacy code that is in a .so
>file.  I have the Java wrappers written, and a small Java test program
>successfully calls the C routines in the library.  My problem is where
>to put the .so files so that my Axis service can find them.  I've tried
>defining java.library.path, setting LD_LIBRARY_PATH with no luck.  My
>environment is Sun Solaris (SPARC), Tomcat 4.1.18-LE, jdk 1.4.1.  The
>exception is a:
>
>java.lang.reflect.InvocationTargetException
>caused by:
>java.lang.UnsatisfiedLinkError.
>
>Any suggestions?
>
>
>
>
>
>.
>
>  
>



Mime
View raw message