|
From: <php...@li...> - 2009-06-05 18:52:52
|
Hi,
Tomcat listens on port 8080.
> I want php-java-bridge to listen on tcp port 9267
You can either change your tomcat configuration to use port 9267, or start a
standalone listener. Please see java -jar JavaBridge.jar --help or the
README for details how to start it.
BTW why is the port# important? You can use any port from within your php
scripts. Example:
<?php
require("http://HOST:8080/JavaBridge/java/Java.inc");
// communicate with HOST:8080 ...
echo java("java.lang.System")->getProperties();
?>
will invoke getProperties on HOST:8080.
Please see our documentation for details.
Regards,
Jost Boekemeier
5. Jun 2009 4:48 nachm. schrieb am <
php...@li...>:
Hi,
I use php-java-bridge 4.08a, works perfectly.
I have to clone the system, but on i386 machine.
I made the deb package, but after apache restart I see this running:
java -Djava.library.path=/usr/lib/php5/20060613+lfs
-Djava.class.path=/usr/lib/php5/20060613+lfs/JavaBridge.jar
-Djava.awt.headless=true -Dphp.java.bridge.base=/usr/lib/php5/20060613+lfs
php.java.bridge.Standalone LOCAL:@java-bridge-7dba 1
also, listens on a local unix socket.
I want php-java-bridge to listen on tcp port 9267, as on the original hw
(amd64).
I read the documentation, but nowadays the php-java-bridge used from tomcat,
and I don't find any suggestion to say to the bridge to listen on a tcp
port.
Have you any suggestion?
Thanks:
--
Üdv,
Ricsi
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|