|
From: <php...@li...> - 2008-12-30 22:10:51
|
I have the PHP-Java bridge working fine on a single server with the JAVA
Standalone config.
I am trying to get the communication working between my PHP server and my
remote Tomcat. I have copied the war file into the webapps and when
starting tomcat it created it's folder.
In the Java.inc on the tomcat box I have an echo"got to tomcat" so I know
that I am getting to the include. I can't get any of the demos or the code
provided in the readme working.
<?php
ini_set("allow_url_include", 1);
require_once("http://my_remote_tomcat:8080/JavaBridge/java/Java.inc");
$string = new Java("java.lang.String", "HelloWorld");
echo $string;
?>
The only entries in the tomcat logs are:
67.244.244.204 - - [30/Dec/2008:16:19:44 -0500] "GET
/JavaBridge/java/Java.inc HTTP/1.0" 200 66991
67.244.244.204 - - [30/Dec/2008:16:20:00 -0500] "PUT
/JavaBridge/JavaBridge.phpjavabridge HTTP/1.0" 200 43
When I startup the JavaBridge.jar I get the same results as when I'm using
Tomcat.
TIA, Jeff
|