From: pushpakr at yahoo dot com
Operating system: Windows XP Pro
PHP version: 5.2.9
PHP Bug Type: *Configuration Issues
Bug description: java.lang.UnsatisfiedLinkError: startup ,
net.php.servlet.startup(Native Method
Description:
------------
I have installed PHP 5.2.9 and APACHE TOMCAT 5.5.27. When I try to run the
phpinfo test page I get the following error.
java.lang.UnsatisfiedLinkError: startup
net.php.servlet.startup(Native Method)
net.php.servlet.init(servlet.java:158)
I have made sure that php5srvlt.jar is in tomcat\commons\lib and the
library=php5servlet line is servlet.properties and reflect.properties file
is correct.
I have php5servlet.dll and php5ts.dll in C:\php folder and C:\php has been
set to PATH.
I have even tried putting in c:\windows\system32 folder.
I have also put this tp php.ini file
[Java]
java.class.path = "c:\php\ext\php_java.jar"
java.home = "D:\jdk1.5.0_18"
java.library = "D:\jdk1.5.0_18\jre\bin\client\jvm.dll"
java.library.path = "c:\php\ext;D:\jdk1.5.0_18\jre\lib"
BUT STILL NOT WORKING. PLEASE HELP.
CAN SOMEONE PLEASE PROVIDE ME php5srvlt.jar, php5servlet.dll and
php5ts.dll file...just to see if something is wrong with the version I
have.
Actual result:
--------------
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet php threw
exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.UnsatisfiedLinkError: startup
net.php.servlet.startup(Native Method)
net.php.servlet.init(servlet.java:158)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:595)
--
Edit bug report at http://bugs.php.net/?id=48068&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=48068&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=48068&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=48068&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=48068&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=48068&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=48068&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=48068&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=48068&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=48068&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=48068&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=48068&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=48068&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=48068&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=48068&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48068&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48068&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=48068&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=48068&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=48068&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=48068&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=48068&r=mysqlcfg