ID: 16402 Comment by: keptos at gmail dot com Reported By: csbook at adproject dot net Status: No Feedback Bug Type: Servlet related Operating System: RedHat Linux PHP Version: 4.1.2 New Comment:
I have this problem::::::::::::::: javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción causa raíz 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:802) nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/5.5.12. do you have any idea? thanks in advance Previous Comments: ------------------------------------------------------------------------ [2006-04-28 14:34:51] nidget at nidget dot org Using PHP 5.1.2 and Tomcat 5.5.17, I have a similar problem with php5servlet.dll I have solved the issues with the name of the lib in the properties files. java.library.path is set to c:\php;c:\php\ext Now it can find php5servlet.dll, but not one of the dependent libraries: java.lang.UnsatisfiedLinkError: C:\php\php5servlet.dll: Can't find dependent libraries java.lang.ClassLoader$NativeLibrary.load(Native Method) java.lang.ClassLoader.loadLibrary0(Unknown Source) java.lang.ClassLoader.loadLibrary(Unknown Source) java.lang.Runtime.loadLibrary0(Unknown Source) java.lang.System.loadLibrary(Unknown Source) net.php.reflect.loadLibrary(reflect.java:34) net.php.reflect.<clinit>(reflect.java:29) net.php.servlet.init(servlet.java:157) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Unknown Source) I have no idea what the missing library can be. I have tried with "Dependency Checker" and it has showed efsadu.dll was missing. I've downloaded it from the internet and copied to c:\php, but I still have the problem. ------------------------------------------------------------------------ [2004-11-24 17:34:06] jgbolger at yahoo dot ie im running tomcat-4.1.31 with php-5.0.2-Win32 and jdk-1.5.0 on a windows 2000 system. placed phpsrvlt.jar in: jakarta-tomcat-4.1.31\common\lib I was trying to run php as a servlet but was getting an UnsatisfiedLinkError when running a simple php file. I finally got over this error by opening the phpsrvlt.jar file and editing the 2 properties files. The problem is it is looking for the php5servlet.dll file but this properties file was not changed from php4 where the equivalent to php5servlet.dll is phpsrvlt. So basically, its looking for a dll that is not there, an old version of the dll. You just need to change the line library=phpsrvlt to library=php5servlet and it will find the library. Hope this is of help to somebody ------------------------------------------------------------------------ [2004-09-12 20:54:37] ijamj at cin dot ufpe dot br I´ve figured out the solution for Windows 2000. Just put the folder that contains "php_java.jar" in the enviroment variable "java.library.path". java -Djava.library.path=c:\php\extensions;c:\tomcat5\common\lib After this, copy the php_java.dll to c:\windows\system32 Works like charm! ------------------------------------------------------------------------ [2004-08-12 08:06:44] okapi at yahoo dot com I copied the DLLs to C:\windows\system32 and got it to load a phpinfo() page, but then it crashed. I'll file a separate bug on that if I can't find one already. ------------------------------------------------------------------------ [2004-08-12 08:02:22] okapi at yahoo dot com I'm experiencing this with 4.3.9RC1 on Windows. I've not been able to find a solution to this. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16402 -- Edit this bug report at http://bugs.php.net/?id=16402&edit=1