I'm having issues getting the bridge to start with php 5.0.4 without running the bridge from the command line like this:
javaw -Djava.library.path=c:\php5\ext -Djava.class.path=c:\php5\ext\JavaBridge.jar -Djava.awt.headless=true php.java.bridge.JavaBridge INET_LOCAL:9267 3 ""
I don't want to use an app server as this is just a utility application.
Here are my settings and versions
Apache 2.0
PHP-Java Bridge version: 3.0.5
OS: Windows 2K workstation
PHP INI settings
extension=php_java.dll
[java]
java.log_level=3
java.socketname=9267
java.class.path = c:\php5\ext\php_java.jar
java.java_home = C:\jdk1.4.2;
java.java_library = C:\jdk1.4.2\jre\bin\server\jvm.dll
java.java_library.path = C:\php5\ext
PHP Info
java support Enabled
java bridge 3.0.5
java.java_home C:/jdk1.4.2
java.java javaw
java.wrapper no value (use default wrapper)
java.log_file <stdout>
java.log_level 3
java.ext_java_compatibility Off
java command javaw -Djava.library.path=c:/php5/ext -Djava.class.path=c:/php5/ext/JavaBridge.jar -Djava.awt.headless=true php.java.bridge.JavaBridge INET_LOCAL:9267 3 ""
java status not running
java server localhost
Any suggestions? I don't know what to do about the java status as "not running". The following instructions from the install.windows file make no sense on a windows machine with winzip loaded: Double-click on c:\php5\JavaBridge.jar. Or deploy JavaBridge.war (from the J2EE download) into your servlet engine or java application server and re-start it.
All that happens is winzip opens up with the jar file. I don't know what point the author is trying to get across, but it ain't gonna happen on winders!
It says that if the above succeeded...
But what if it doesn't?
Thanks, I'm a little frustrated trying to get this running because I want to integrate the saxon xslt engine so i can get xslt 2.0 functionality (anybody making an extension?) and get on with my REAL development. I'll go ahead and start developing as it stands now, but I'd like to see the bridge run when apache starts.
Your time is much appreciated.
Curtis Fisher
|