Protocol Error Invalid Document End At Col
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse PHP/Java Bridge Mailing Lists PHP/Java Bridge Brought to you by: andremachado, gromwe, jon_koerber, jost_boekemeier, kai_londenberg Summary Files Reviews Support Wiki Mailing Lists Patches Code php-java-bridge-debugger php-java-bridge-users Re: [Php-java-bridge-users] Protocol error: Invalid document end at col 10. Re: [Php-java-bridge-users] Protocol error: Invalid document end at col 10. From:
Things LocationTech Long-Term Support PolarSys Science OpenMDM More Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums Mailing Lists Wiki IRC How to Contribute Working Groups Automotive Internet of Things LocationTech Long-Term Support PolarSys Science OpenMDM Toggle navigation https://sourceforge.net/p/php-java-bridge/mailman/message/20799142/ Home Projects Forums Eclipse Community Forums Forum Search: Search Help Register Login Home Home» Eclipse Projects» BIRT» Php Java Bridge(Fatal error: protocol error: ,Invalid document end at col 124) Show: Today's Messages https://www.eclipse.org/forums/index.php/t/264301/ :: Show Polls :: Message Navigator Php Java Bridge [message #762639] Thu, 08 December 2011 12:35 karvesh ghunsamMessages: 95Registered: July 2011 Member Dear Jason I am having an issue with the Php Java Bridge.. I have gone live and when the users are using the bridge intensively, with export to pdf everything, after some hours they get the following error message: Fatal error: protocol error: ,Invalid document end at col 124. Check the back end log for OutOfMemoryErrors. in C:\wamp\www\Medisave\BIRT\JavaBridge3\java\Java.inc on line 869Call Stack#TimeMemoryFunctionLocation10.0015417544{main}( )..\visitBill.php:021.76532705880java_InternalJava->run( )..\visitBill.php:8331.76532706080Java->__call( )..\Java.inc:041.76532706680java_AbstractJava->__call( )..\Java.inc:199951.76532706680java_JavaProxy->__call( )..\Java.inc:185161.76532706680java_Client->invokeMethod( )..\Java.inc:175271.76542706896java_Protocol->invokeEnd( )..\Java.inc:55981.76542706952java_Protocol->finish( )..\Java.inc:133891.76542706200java_Protocol->handle( )..\Java.inc:1286101.76542706200java_Client->handleRequests( )..\Java.inc:1279111.76552706368java_Parser->parse( )..\Java.inc:347121.76552706368java_NativeParser->parse( )..\Java.inc:722133.51432706680java_SocketHandler->shutdownBrokenConnection( )..\Java.inc:701143.51442706608java_SocketHandler->dieWithBrokenConnection( )..\Java.inc:873153.51442706816trigger_error ( )..\Java.inc:869 Restarting Tomcat server resets everything to norma
JavaBridge on PHP 5.2 and Apache on http://jcodelog.blogspot.com/2007/10/java-bridge-with-php-52.html Linux jdk-6u5-ea-bin-b04-linux-i586-27_sep_2007.bin php-java-bridge_4.3.0_j2ee.zipApache/2.0.54 PHP 5.2 Steps to install Java on Linux Untar jdk-6u5-ea-bin-b04-linux-i586-27_sep_2007.bin Copy it to /var So you should now have a /var/jdk1.6.0_05/ Edit /etc/profile and ~/.bash_profile and addPATH=$PATH:/var/jdk1.6.0_05/binCLASSPATH=/var/jdk1.6.0_05/lib:.:/opt/java_classesexport PATH CLASSPATH Restart the system for the environment to take effect or just protocol error relogin to get the setting on your envDo an env and you should now see the path and CLASSPATH variable pointing to /var/jdk1.6.0_05/ Test java the installation by $ java -versionjava version "1.6.0_05-ea"Java(TM) SE Runtime Environment (build 1.6.0_05-ea-b04)Java HotSpot(TM) Client VM (build 1.6.0_05-ea-b04, mixed protocol error invalid mode, sharing) Installing PHP-Java-Bridge unzip php-java-bridge_4.3.0_j2ee.ziprun test.shthis will create all the filesif you do a ps -ef you will see a process like /var/jdk1.6.0_05/jre/bin/java -jar /root/java-bridge/tmp/ext/JavaBridge.jar SERVLET_LOCAL:8080This means the server is started finecopy the jars to java classpathcopy ext/* /var/jdk1.6.0_05/lib/Testing your installationCreating a java class cd /opt/java_classesCreate a new Java File PHP_BRIDGE.java//begin public class PHP_BRIDGE{ public String show(String str){ return "Test"+str; } public static void main(String[] args){} } #javac PHP_BRIDGE.javaCreate a php file to access java class/methodscd /var/www/htmlcreate a new php file#file : test.php require_once('/tvus/vista/jb/java/Java.inc'); @java_reset(); java_require('/opt/java_classes/'); $obj1=new Java(‘PHP_BRIDGE'); echo $obj1->show('this is me'); @java_reset(); ?> From command line try to run the same#php-cgi test.php#jrunscript -l php test.phpTry from your web browser to access the script http://localhost/test.php "If both these work fine then you are sure that your configuration works