From: <php...@li...> - 2007-04-04 00:46:10
|
The Release Announcements page says, at the top: "Version 3.2.1 * The pure PHP PHP/Java Bridge is now the reference implementation." I downloaded it a while ago, and have successfully run it on WebLogic Server in the servlet configuration. That version longer appears in the download page on http://sourceforge.net/project/showfiles.php?group_id=117793. I have tried to use 4.0.1 and 4.0.7, but they don't work at all (see exceptions below), and seem to be missing all the PHP executable files in the cgi directory that 3.2.1 contained. Are the 4.0.x distributions complete? Or do they require that you obtain the PHP executables from some other source? Where is 3.2.1? 4.0.7 throws the following exceptions trying to run test.php: php.java.servlet.fastcgi.ConnectException at php.java.servlet.fastcgi.NPChannelName.doConnect(NPChannelName.java:50) at php.java.servlet.fastcgi.NPChannelName.connect(NPChannelName.java:54) at php.java.servlet.fastcgi.FastCGIServlet$1.connect(FastCGIServlet.java:13 8) at php.java.servlet.fastcgi.ConnectionPool$Connection.reopen(ConnectionPool .java:101) at php.java.servlet.fastcgi.ConnectionPool.openConnection(ConnectionPool.ja va:198) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServl et.java:388) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doRun(FastCGIServlet.j ava:344) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.run(FastCGIServlet.jav a:352) at php.java.servlet.CGIServlet.doGet(CGIServlet.java:463) at php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:328) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) ...snip java.io.FileNotFoundException: \\.\pipe\D:\TEMP\JavaBridge9860.socket (All pipe instances are busy) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at php.java.servlet.fastcgi.NPChannelName.doConnect(NPChannelName.java:48) at php.java.servlet.fastcgi.NPChannelName.connect(NPChannelName.java:54) at php.java.servlet.fastcgi.FastCGIServlet$1.connect(FastCGIServlet.java:13 8) at php.java.servlet.fastcgi.ConnectionPool$Connection.reopen(ConnectionPool .java:101) at php.java.servlet.fastcgi.ConnectionPool.openConnection(ConnectionPool.ja va:198) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServl et.java:388) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doRun(FastCGIServlet.j ava:344) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.run(FastCGIServlet.jav a:352) at php.java.servlet.CGIServlet.doGet(CGIServlet.java:463) at php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:328) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) ...snip Thanks -Gary Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
From: <php...@li...> - 2007-04-04 10:46:03
|
Hi Gary, I will re-enable Version 3.2.1 this evening. > Are the 4.0.x distributions complete? Unfortunately no. We'll try to make a stable release in june. PHP 5.2.0 and above contain a bug which makes FastCGI unusable on Windows systems. Please see http://bugs.php.net/bug.php?id=40758 for details. So we've decided to replace IBM's FastCGI launcher.exe with our own implementation, it uses windows named pipes instead of TCP sockets. Furthermore all 4.0.x versions currently require that you install an external php-cgi.exe (option "CGI other" in the PHP installer). > 4.0.7 throws the following exceptions trying to run > test.php: > java.io.FileNotFoundException: > \\.\pipe\D:\TEMP\JavaBridge9860.socket > (All pipe instances are busy) Thank you very much for the bug report. How many php-cgi executables are listening on \\.\pipe\D:\TEMP\JavaBridge9860.socket and how many connection pools are accessing it? There should be one connection pool with not more than 5 connections and 5 php fastcgi instances listening on \.\pipe\D:\TEMP\JavaBridge9860.socket. Can you please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and start the java VM with the option -Dphp.java.bridge.default_log_level=5 and attach the log at the end of the ticket? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-05 16:53:42
|
Hi, > I will re-enable Version 3.2.1 this evening. the version is back. However, are you sure you want version 3.2.1? If I remember correctly all versions < 4.0.1 throw a NullPointerException because WebLogic always returns null for context.getRealPath(""). The 4.x series contains a workaround for this, please see: http://sourceforge.net/mailarchive/message.php?msg_id=393709.85193.qm%40web27002.mail.ukl.yahoo.com Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |