|
From: <php...@li...> - 2008-11-07 16:53:08
|
Hello! We are running an Ubuntu 8.04 server with a backend daemon program written in PHP that uses the PHP-Java-Bridge v5.3.2.1.2 for communicating with an external Java API. When we attempt to call up the PHP-Java-Bridge, we are at seemingly random, frequent intervals greeted by a friendly die() coming from line 784 in the Java.inc-file. The error message is: "Protocol error; , Invalid document end at col 10. Check the back end log for details." Sadly, I do not know where to find the back end log. The problem seems to be related to the error described in this previous thread: http://sourceforge.net/mailarchive/forum.php?thread_name=48B6FC13.4030406%40federatedmedia.net&forum_name=php-java-bridge-users Like in the above thread, the error seems to spring up merely by doing require_once("http://localhost:8080/JavaBridge/java/Java.inc"); .. which we do in a single place only when we need to communicate with the external Java API. Since in our case, the program calling JavaBridge functions is a single-threaded backend program, I do not believe that the problem of running out of threads should be an issue. We have tried running the JavaBridge both as a Tomcat web app (using Tomcat 6.x and Java/Sun 1.5.0_15) and as standalone: java -jar JavaBridge.jar SERVLET_LOCAL:8080 3 /var/log/javabridge.log The problem is there in both cases. In addition, even though the log file is specified explicitly in the standalone case, there are no error messages to be had there.. Any clues about how to resolve this problem? At the moment, our whole backend is crashing quite resolutely due to this issue. Best regards, Johannes Staffans itCampus GmbH |