|
From: <php...@li...> - 2007-12-13 09:52:11
|
Hi, > I have found the solution. The problem was that I thought that the PHP code should reside on > Apache server, and PHP/Java bridge and Java code of the application should be deployed to the > Tomcat and accessed using require_once(http://localhost:8080/JavaBridge/java/Java.inc).... the bridge supports both modes (php running as a sub component of the J2EE server and PHP running as a sub component of Apache/IIS, connecting to the J2EE back end when necessary). > I'm interested if it is possible to make things work as I have tried it before, and how could > I do it? Please see http://php-java-bridge.cvs.sourceforge.net/*checkout*/php-java-bridge/php-java-bridge/FAQ.html for details. ---- I get a blank page or some other error!?! Check the PHP error log, see your php.ini file for details. If the command: echo '<?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); echo java("java.lang.System")->getProperties();?>' | php -n -d allow_url_include=On works in the shell but not within apache, then there's something wrong with your php.ini file. ---- Regards, Jost Boekemeier __________________________________ Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern. www.yahoo.de/clever |