From: <php...@li...> - 2006-06-06 19:53:09
|
Hi, > getting following error randomly. How often? Is this error connected to MAX_REQUESTS in the RC2? If so, this should be fixed in the RC3. > reloading a page a couple of times. That's all on Which version of the PHP/Java Bridge do you use? One of the 3.1.0 release candidates or the official version 3.0.8? The 3.0.8 should work reliably, but both, the RC1 and RC2 have a bug in the new connection pool. > unusual. I could work around that by copying or > linking the cgi directory I don't think this is necessary. In version 3.1.0 all non "JavaBridge" web contexts delegate to JavaBridge to start the FastCGI server once. When it is running, the CGIServlet isn't used anymore, the FastCGI servlet takes over and uses the connection pool to keep the connections to the 20 PHP instances running in the FCGI pool. Unfortunately there are two bugs in the code: 1. the connection pool doesn't handle MAX_REQUESTS correctly (a php instance automatically terminates after some time to avoid memory leaks) and 2. forward itself is working incorrectly in RC1 and RC2. > javax.servlet.ServletException: An IO exception > occured. Probably php was not I think that's the IOException from the pool. The pool has correctly re-opened the connection to the new PHP instance but the exception type is wrong. Since RC3 the pool uses a dedicated exception type to report the death/restart of a FCGI instance to upper layer. > as not > installed as "/usr/bin/php-cgi" or > "c:/php5/php-cgi.exe" > or "/jsmsc/srv/tomcat/webapps/ROOT/WEB-INF/cgi/php-cgi-i386-linux[.sh]| I think this means that you use version 3.1.0 RC1 or RC2. In the official 3.0.8 the message includes "/usr/bin/php". This php location has been dropped because /usr/bin/php may not be CGI or FastCGI binary. > I'd be more than happy. > While I could somehow life with the ssl issue > described in my last email, > this is a killer. After the error occuring it > doesn't work again (so, once Can you please open a ticket and attach the version# of the Bridge and the full stack trace? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |