Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError

2010-07-05 Thread dennis ch
good idea to avoid trouble by fixing it. > > Shay > > On Fri, Jul 2, 2010 at 3:46 AM, dennis ch wrote: > > > Hi, > > > > I have a java class (eval.java) that invokes a native method in an so > file > > (libmodel.so, using SWIG 1.3.29 to generate JN

Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError

2010-07-05 Thread dennis ch
m but it's a good idea to avoid trouble by fixing it. > > Shay > > On Fri, Jul 2, 2010 at 3:46 AM, dennis ch wrote: > > > Hi, > > > > I have a java class (eval.java) that invokes a native method in an so > file > > (libmodel.so, using SWIG 1.3

Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError

2010-07-05 Thread dennis ch
ot instantiate HEC objects."; } } 2010/7/3 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dennis, > > On 7/2/2010 3:46 AM, dennis ch wrote: > > However, when I deploy it as a web service (tomcat 6.0.26 + axis2 1.5.1 + > > eclipse jee

JNI error under tomcat: java.lang.UnsatisfiedLinkError

2010-07-02 Thread dennis ch
Hi, I have a java class (eval.java) that invokes a native method in an so file (libmodel.so, using SWIG 1.3.29 to generate JNI code/wrapper and compiled the library). I can use System.loadLibrary() to load the libmodel.so without any error (-Djava.library.path=/usr/lib), and the native method init