From: <php...@li...> - 2006-07-07 18:42:30
|
Hi, > java.lang.NullPointerException > at > php.java.bridge.JavaBridge.init(JavaBridge.java:385) > at > php.java.bridge.Util.redirectOutput(Util.java:773) this is a bug that was introduced in 3.1.2, it should be fixed in 3.1.4, please see http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/server/php/java/bridge/Util.java?r1=1.41&r2=1.42 The 3.1.2 standalone back-end selects the appropriate channel and passes it back to the Apache or IIS container (the fix was necessary for IIS). Unfortunately the java.so did not pass the appropriate logFile, which caused a null pointer exception. As a workaround please start the standalone back-end with a log file, as follows: java -jar JavaBridge.jar INET:9267 3 JavaBridge.log The appropriate /etc/php.d/java.ini file would look like (remove the /etc/php.d/standalone.ini if it is still there): file /etc/php.d/java.ini: --------------------- extension=java.so [java] java.hosts=127.0.0.1:9267 java.servlet=Off --------------------- Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |