|
From: <php...@li...> - 2009-03-28 08:48:18
|
Hi, the 32/64 bit cpu/jvm issue you observed was one of the reasons for the switch. The bridge runs with any servlet engine out there, it even works with the simple http server build into JavaBride.jar: java -jar JavaBridge.jar. But for features like hot deployment, persistent connections, module managemant, etc. you'll need tomcat or some other j2ee ontainer anyway. On RedHat/Fedora or compatibles just do a yum -y install tomcat php rpmbuild -tb php-java-bridge*.tar.gz rpm -i php-java-bridge*.rpm Regards, Jost Boekemeier Mrz 28, 2009 9:22 vorm. schrieb am < php...@li...>: Ok. So is it possible to use the 4.x version of the bridge to make this thing work? But when I compiled v4.3.2, I still get the same error. ---- PHP Warning: php_mod_java(105) system error: Could not execute backend: JAVA_HOME=/usr/java/j2sdk1.... /usr/lib64/php/modules/RunJavaBridge /usr/java/j2sdk1.4.2_19/bin/java -Djava.library.path=/usr/lib64... And again, running the command -- /usr/lib64/php/modules/RunJavaBridge /usr/java/j2sdk1.4.2_19/bin/java -Djava.library.path=/usr/lib64... -- does not give any error. So now, nobody has any suggestion to solve this, I'll have to try running Tomcat or some other servlet runner. Have anyone used winstone http://winstone.sourceforge.net/ to run the bridge? I'm just trying to stay lightweight. Any other recommendations are welcome of course. btw, I did try, at one time, running the war file with winstone, but ended up getting an internal server error whenever the server is accessed at port 8080. So if there is no other option, I'll go with tomcat. Thank you for the support, Jost. I appreciate it. ------ We used to use a binary protocol in 1.x. It has since been replaced by a faster XML protocol mechani... On Fri, Mar 27, 2009 at 2:54 PM, Thangaraj (www.bootcd.us) < tha...@gm...> wrote: > Hi Jost... www.ishafoundation.org www.projectgreenhands.org www.bootcd.us www.ecobuddy.in ---------------------... php-java-bridge-users mailing list php...@li... https://lists.sourcef... |