Has anyone tried using Apache/JServ to run an aplet that has native methods?

I get errors like:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.


The only information in the apache error log is;


java.lang.UnsatisfiedLinkError: search
        at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
        at org.apache.jserv.JServConnection.run(JServConnection.java)
        at java.lang.Thread.run(Thread.java:479)

Which implies to me that it canot find the DLL refered to by the native
methods. I've tried putting it all over the place. Can anyone tell me where
it should be?

The places I have tried are as follows:

c:\program files\apache group\apache
c:\program files\apache group\apache\lib
c:\program files\apache group\apache\htdocs
c:\program files\apache group\apache\htdocs\lib
c:\program files\apache group\apache jserve
c:\program files\apache group\apache jserve\lib
c:\program files\apache group\apache jserve\servlets
c:\program files\apache group\apache jserve\servlets\lib
c:\
c:\winnt
c:\winnt\system
c:\winnt\system32
c:\jdk1.2.2\bin
c:\jdk1.2.2\lib
c:\jdk1.2.2\lib\ext
c:\jdk1.2.2\jre\lib
c:\jdk1.2.2\jre\lib\ext
c:\jdk1.2.2\jre\bin
c:\jdk1.2.2\jre\bin\classic
c:\jsdk2.0
c:\jsdk2.0\lib
c:\jsdk2.1
c:\jsdk2.1\lib

The servlet works OK using the httpd that comes with JSDK2.1

Any ideas would be much appreciated.

Also, I've just restarted the server for the umpteenth time, and now its
suddenly saying that it can't find the servlet, which hasn't moved or
changed at all.

Does jserv actually work?

Phil Lewis
Technical Architect
Neural Response Limited

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to