From: <php...@li...> - 2006-08-08 22:37:07
|
Hi, I installed PHP JAVABridge3.1.6 in a Redhat Enterprise Linux 4 with Apache Http Server 2.2, PHP 5.1.4 and J2SDK1.4.2. When I start test.php from the command line, it shows: Please permanently activate the extension. Loading java extension java.so now ... java.lang.RuntimeException: java.lang.Exception: could not create socket: Local:@java-bridge-2c9. ... Error: The PHP/Java Bridge back-end is not running. But I have started the backend JavaBridge.jar and the output is: JavaBridge version: 3.1.6.1 JavaBridge logFile: JavaBridge default logLevel: 3 JavaBridge socket: INET:9267 JavaBridge thread pool size: 20. It seems the client can't connect to the JavaBridge socket or connect to a wrong socket. Anyone can give me some idea. I am new to this. So any help would be greatly appreciated. BTW, does J2SDK works with PHP JavaBridge? I see the manual mention J2EE. Thanks a lot. Michael Zhou |