我已將JavaBridge添加到apache-tomcat/webapps /。
當我嘗試在瀏覽器(localhost:8080/JavaBridge
)打開JavaBridge的我得到HTTP狀態500 - PHP FastCGI實例失敗
HTTP Status 500 - PHP FastCGI instance failed.
,沒有它我推測C/P JavaBridge.jar,PHP-script.jar和php-的servlet.jar,並創建一個測試.php沒用。
我該如何解決這個問題?
我使用tomcat的V7上JasperReports的服務器6.0.1
錯誤的其餘部分:
type Exception report
message PHP FastCGI instance failed.
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: PHP FastCGI instance failed.
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:448)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:481)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
root cause
php.java.bridge.http.FCGIConnectionException
php.java.bridge.http.FCGIInputStream.read(FCGIInputStream.java:58)
php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:362)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:433)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:481)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
root cause
java.io.IOException: Protocol error
php.java.bridge.http.FCGIInputStream.doRead(FCGIInputStream.java:67)
php.java.bridge.http.FCGIInputStream.read(FCGIInputStream.java:54)
php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:362)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:433)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:481)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
我試過了,它不起作用 – Kerempuhh 2015-03-02 10:58:43
但是你的錯誤是指向這個問題。 – Lafontein 2015-03-02 11:01:03
我添加了2個問題,請檢查它們可能會有所幫助。 – Lafontein 2015-03-02 11:05:33