-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Hi Shuping,

Following suggestions might work:

1. Create a class separate from the Servlet to call
Native functions.
2. Keep the Native Handling class in System ClassPath
3. Keep your Servlet Class in the repository (defined
in zone.properties file)
4. Then Run the servlet. 

Regards,
Dipankar

<<SY>>
Can anybody tell  me what might cause the error below?
It occured when
I
tried to call from my servlet a native method (syslog)
implemeted with
JNI.

[02/09/1999 14:19:24:452 EDT] Sending response
headers.
[02/09/1999 14:19:24:453 EDT] Status: 500 Internal
Server Error
[02/09/1999 14:19:24:453 EDT] Servlet-Error:
java.lang.UnsatisfiedLinkError:
syslog: syslog
[02/09/1999 14:19:24:459 EDT]
java.lang.UnsatisfiedLinkError: syslog
        at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:488)
        at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:39
7)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:287)
        at
org.apache.jserv.JServConnection.run(JServConnection.java:197)
        at java.lang.Thread.run(Thread.java)

I have my LD_LIBRARY_PATH set in my Apache server
start script, and I
also
configured the Jserv to copy the env parameter to JVM.
Looks like it's
not a
"PATH not found" kind of error.

My platform: Jserv 1.0, Apache 1.3.6, ApacheSSL 1.3.6,
Solaris 2.51

Any help is appreciated.

Shuping Ye



===

DIPANKAR CHAKRABARTI
Have a Nice Time............
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


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