]
Jean-Frederic Clere resolved JBWEB-138.
---------------------------------------
Resolution: Out of Date
java.lang.UnsatisfiedLinkError: Can't find SAPI class using PHP
module
----------------------------------------------------------------------
Key: JBWEB-138
URL:
https://issues.jboss.org/browse/JBWEB-138
Project: JBoss Web
Issue Type: Bug
Components: Tomcat
Affects Versions: JBossWeb-2.1.2.GA
Environment: Windows XP, JDK 1.6.0
Reporter: Derek Cornelius
Assignee: Mladen Turk
The php5sevlet.dll is loaded and uses JNI to load the org.jboss.web.php.SAPI class which
fails returning NULL.
The SAPI class should be in class path since the DLL is loaded by the Library.java
.
Apr 21, 2009 5:11:45 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /php-examples.war threw load() exception
java.lang.UnsatisfiedLinkError: Can't find SAPI class, no libphp5servlet in
java.library.path(C:\jdk1.6.0_07\bin;.;C:\WINXP\Sun\Java\bin;C:\WINXP\system32;C:\WINXP;C:\RetAdv\Trunk/DevRoot/rai-jboss/src/jboss-web-2.1.2.GA\PHP\bin;C:\RetAdv\Trunk/DevRoot/rai-jboss/src/jboss-web-2.1.2.GA/bin;C:\RetAdv\Trunk/DevRoot/rai-jboss/src/jboss-web-2.1.2.GA/bin;...)
at org.jboss.web.php.Library.<init>(Library.java:65)
at org.jboss.web.php.Library.initialize(Library.java:104)
at org.jboss.web.php.Handler.init(Handler.java:104)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:800)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:557)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1211)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:315)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1064)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1056)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:523)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:736)
at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)