|
From: <php...@li...> - 2009-12-14 09:55:15
|
Hi, I cannot reproduce this problem. Which operating system are you using? Can you please run JavaBridge.jar as follows: java -jar JavaBridge.jar SERVLET_LOCAL:8080 4 pjb.log and reproduce this bug and post the pjb.log file? However, please use a JEE or servlet engine back end. Since version 5.5.4 the PHP/Java Bridge supports http/1.1 chunked connections. The standalone JavaBridge.jar option SERVLET emulates a servlet engine, so we've added two new classes to it: http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/server/php/java/bridge/http/ChunkedInputStream.java?revision=1.1&view=markupand http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/server/php/java/bridge/http/ChunkedOutputStream.java?revision=1.1&view=markup It may well be that they contain a bug. > I tried running it in Tomcat and it works, but i too am not allowed > to use it This policy doesn't make sense to me. If you start JavaBridge.jar with the SERVLET option, you *are* using a servlet engine. It contains bugs which have been fixed in Tomcat long ago. Regards, Jost Boekemeier |