Sorry for posting yet another n00b question, but I really searched in
vain through the documentation and the Web for answers.
I installed php-java-bridge_5.3.2.1.2-1_i386.deb on Ubuntu 8.10.
Installation went fine and now the following process runs every time
Apache starts:
java -Djava.library.path=/usr/lib/php5/20060613+lfs
-Djava.class.path=/usr/lib/php5/20060613+lfs/JavaBridge.jar
-Djava.security.policy==/usr/lib/php5/20060613+lfs/javabridge.policy
-Dphp.java.bridge.base=/usr/lib/php5/20060613+lfs
php.java.bridge.Standalone LOCAL:@java-bridge-47fa
3 /var/log/php-java-bridge.log
Now I'm trying to use the bridge from PHP, but I don't know how to
access Java.inc, which is stored inside JavaBridge.rar. Is the process
above exposing a Web listener that I can access? I tried playing with
the java.ini file, setting java.socketname, java.servlet and java.hosts
but the process above only runs if I use the default ini settings. As a
workaround, I extracted the Java.inc file from the JavaBridge.jar file
and included it explicitly. My code worked fine then.
I'd like to keep using standalone mode, but without having to extract
the needed .inc files. How to do that?
TIA,
Karim
|