----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hello everyone,

has someone succesfully called some native method
from servlet ?

I have libFoo.so (in C) containing the void ping() method 
and when loadLibrary("Foo") and then call ping() it works
just fine. No problems so far.

However, when I do the same from servlet, the loadLibrary()
throws nothing, but the ping() method throws

  java.lang.UnsatisfiedLinkError: ping

I am running RH6.0 Linux with JServ-1.0 and Blackdown's
jdk_1.1.7-v3-glibc-x86 JDK.

I tried setting LD_LIBRARY_PATH manually to point it to the
directory where the library is located and many other 
combinations with no success.

Probably there is some special configuration trick needed here ?
Or is it known not to work ?

Any ideas/hints appreciated
Michal 
-- 
[EMAIL PROTECTED] +420/603/176-642


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to