java.lang.UnsatisfiedLinkError: send trying to install PHP as a Servlet for Tomcat 5.0.18 on FreeBSD

From: Date: Fri, 27 Feb 2004 14:26:12 +0000
Subject: java.lang.UnsatisfiedLinkError: send trying to install PHP as a Servlet for Tomcat 5.0.18 on FreeBSD
Groups: php.install 
Request: Send a blank email to php-install+get-12870@lists.php.net to get a copy of this message
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

« previous php.install (#12870) next »