Pretty obvious isn't it? The JVM can't find the library. Since you didn't tell anyone what OS you are using, research how native libraries are loaded for your OS, put your native code there, and try again.
-----Original Message----- From: St. Louis, Thomas (Research) [mailto:stlouis@;crd.ge.com] Sent: 13 November, 2002 3:09 PM To: '[EMAIL PROTECTED]' Subject: Tomcat 4 JNI Help I don't understand why I'm getting the following UnsatisfiedLinkError. The static initializer is finding and loading my library but when I then try to my method which calls native Method throws exception. Any thoughts please! Apache Tomcat/4.0.4 Starting service Tomcat-Apache Apache Tomcat/4.0.4 JMatBean constructor JMatLink library loaded! JMatLink constructor JMatBean: jmat instance: Thread[Thread-2,5,main] Number of Java-Threads: 24 Name of active Java-Threads: Thread-3 active Java-Thread is Daemon: true JMatLink run method switch status: 0 null Number of Java-Threads: 24 Name of active Java-Threads: Thread-3 active Java-Thread is Daemon: true JMatLink run method switch status: 13 /automation java.lang.UnsatisfiedLinkError: engOpenSingleUseNATIVE at com.gefa.JMatLink.engOpenSingleUseNATIVE(Compiled Code) at com.gefa.JMatLink.run(Compiled Code) at java.lang.Thread.run(Compiled Code) g GE Global Research Center ____________________________________________________________________________ _________________________ __________________________________________________________ Tom St.Louis Computer Scientist Advanced Computing Technologies One Research Circle, K1-5B32 Niskayuna, NY 12309 8*833-4900 [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>