Bug #16402 Updated: UnsatisfiedLinkError: send when loading any php file
| From: | csbook at adproject dot net | Date: | Wed, 15 May 2002 21:52:06 +0000 |
| Subject: | Bug #16402 Updated: UnsatisfiedLinkError: send when loading any php file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7796@lists.php.net to get a copy of this message | ||
ID: 16402
Updated by: csbook@adproject.net
Reported By: csbook@adproject.net
Status: Open
Bug Type: Servlet related
Operating System: RedHat Linux
PHP Version: 4.1.2
New Comment:
Yeah I got past this error a long time ago, but then the whole thing
just crashes after a couple page loads so I gave up on it
Previous Comments:
------------------------------------------------------------------------
[2002-05-15 16:25:14] jbennett@earthling.net
I finally got past this error. This is actually the secondary error.
The first page load when you start tomcat with the php servlet gives
the error "no php4 in java.library.path" even though libphp4.so is in
the java.library.path either via a tomcat startup directive or the env
variable LD_LIBRARY_PATH. Subsequent calls will give the
unsatisfiedLinkError. the properties files inside of phpsrvlt.jar
point to php4.so, instead of libphp4.so. I edited the properties files
and rebuilt the jar and it worked. Unfortunately I can only get a
couple of page loads before tomcat crashes on me, but that's another
error entirely.
------------------------------------------------------------------------
[2002-04-02 22:37:56] csbook@adproject.net
I've installed tomcat 4.0.2 and compiled php with the --with-servlet
and --with-java options.
I've placed the jar file into my tomcat_home/libs dir, and added the
libphp4.so to the LD_LIBRARY_PATH environment variable. I've also
configured web.xml, and it seems to be correct.
When I try to load any php page, tomcat throws the following internal
server error, whose root cause is "UnsatisfiedLinkError: send":
javax.servlet.ServletException: Servlet execution threw an exception
at javax.servlet.ServletException.(ServletException.java:132)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled
Code))
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled
Code))
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled
Code))
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java(Compiled
Code))
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled
Code))
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled
Code))
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled
Code))
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled
Code))
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java(Compiled
Code))
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Thread.java:498)
root cause
java.lang.UnsatisfiedLinkError: send
at net.php.servlet.service(servlet.java:162)
at net.php.servlet.service(servlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java(Compiled
Code))
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java(Compiled
Code))
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java(Compiled
Code))
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java(Compiled
Code))
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled
Code))
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java(Compiled
Code))
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java(Compiled
Code))
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled
Code))
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled
Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java(Compiled
Code))
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Thread.java:498)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16402&edit=1