|
From: <php...@li...> - 2009-08-19 17:48:19
|
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 |