|
From: <php...@li...> - 2009-08-19 17:58:11
|
Hi, I think this means that JavaBridge.war is not deployed. Can you telnet to localhost 8080 and PUT /JavaBridge/test.phpjavabridge What's in the tomcat log? Regards, Jost Boekemeier 19. Aug 2009 7:49 nachm. schrieb am < php...@li...>: Hi, first of all sorry for asking so many questions at once. If I should not be asking these questions here or overlooked documenation please tell me/point me to it. I am just beginning to involve myself with this, so thanks for your patience. So, the question: On my local box i set up tomcat/java, deployed the JavaBridge.war and run the example (which worked fine). I also installed php-cgi which i believe was necessary for the examples to work. Now i am trying to use the JavaBridge on a hosted account which does not have php-cgi in its path and the examples fail (which i believe is due to that. Except for the 'hello' example the error i get is: ... Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/content/x/p/d/xpdtek/html/JavaBridge/java/Java.inc on line 1080 data: protocol error: , Invalid document end at col 1. Check the back end log for OutOfMemoryErrors. fread() [function.fread]: Length parameter must be greater than 0. ... Is there a way to configure/set things such that i don't need php-cgi (if indeed this is what the problem is?) Really all i am trying to do is to communicate some arguments between a php script and a java application/servlet back and forth if possible. Again, thanks for you patience and your time, matt ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |