----------------------------------------------------------------
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!!!
----------------------------------------------------------------


Hi,

I'm trying to develop an application with jni. It works fine, but an
internal server error is produced when a servlet tries to link the
apropiated library.
Apache and Jserv works fine with other servlets. What is the parameter
which value is the location of this executable (ApiSms2000.so)?
I think it must be a parameter like wrapper...., but I do not know  how
to include
this                                                                                   
                                    
ApiSms2000.so file to be found by apache-jserv.
Could anybody help me, please?


This is the error I get when the servlet is executed.

java.lang.UnsatisfiedLinkError: no ApiSms2000 in shared library path
        at java.lang.Runtime.loadLibrary(Runtime.java)
        at java.lang.System.loadLibrary(System.java)
        at 
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java)
        at 
        at IniciarSesion.doGet(IniciarSesion.java:82)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at IniciarSesion.service(IniciarSesion.java:24)



ld.so.1: /usr/local/jdk/jdk1.1.5/bin/sparc/green_threads/java: fatal:
libApiSms2000.so: can't open file: errno=2 (libApiSms2000.so)

I am waiting for your answers.
Thanks in advance.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to