Hi,

Ive searched the web and archives - found many with the same problem, but noone with a solution.

I followed the following steps (as per /sapi/servlet/README):

1)./configure --with-servlet --with-java
2) make
3) make install
4) copy the  phpsrvlt.jar to the context's WEB-INF/lib
5) added the servlet config and mapping to the context's web.xml
6) restarted tomcat

First I get this exception (javax.servlet.ServletException: Servlet.init() for servlet php threw exception):

java.lang.UnsatisfiedLinkError: no php4 in java.library.path
    java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
    java.lang.Runtime.loadLibrary0(Runtime.java:788)
    java.lang.System.loadLibrary(System.java:832)
    net.php.reflect.loadLibrary(reflect.java:34)
    net.php.reflect.<clinit>(reflect.java:29)
    net.php.servlet.init(servlet.java:157)

Then everytime I refresh after that I get this (javax.servlet.ServletException: Servlet execution threw an exception):

java.lang.UnsatisfiedLinkError: send
    net.php.servlet.send(Native Method)
    net.php.servlet.service(servlet.java:190)
    net.php.servlet.service(servlet.java:214)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Does anyone have any idea how to get around this?

Thanks for your time,

--
Dan Hardiker

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to