From: <php...@li...> - 2006-01-29 07:43:41
|
Dear all, For more information, I have run it on WinXP and PHP is loaded with Module, I have got the detailed logs: 一月 29 15:01:06 JavaBridge DEBUG: @18a7efd START: JavaBridge.run() 一月 29 15:01:06 JavaBridge DEBUG: Socket connection accepted 一月 29 15:01:06 JavaBridge DEBUG: Starting bridge from Thread Pool 一月 29 15:01:06 JavaBridge DEBUG: @cdedfd START: JavaBridge.run() 一月 29 15:01:06 JavaBridge DEBUG: @cdedfd EOF - Closing Request 一月 29 15:01:06 JavaBridge DEBUG: @18a7efd Client changed its request log level to: 3 一月 29 15:01:06 JavaBridge INFO : @18a7efd No visible constructor found in: java.lang.System, returning the class instead of an instance; this may not be what you want. Please correct this error or please use new JavaClass(java.lang.System) instead. 一月 29 15:01:07 JavaBridge INFO : trying to load class: ArrayToString from: [file:c:/php5/ext/lib/] 一月 29 15:01:07 JavaBridge INFO : trying to load class: ArrayToString from: [file:c:\php5\ext\lib\test\arrayToString.jar] 一月 29 15:01:07 JavaBridge DEBUG: END: JavaBridge.run() ---------------------------- I have tried to run PHPJavaBridge on Apache 1.3.X and PHP 5.1.2. I cannot run the test.php with the following error message: Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_java.dll in your php.ini in c:\program files\apache group\Apache\htdocs\test.php on line 4 java extension not installed. Meanwhile, from the JavaBridge.log, it displays: ê 29 13:15:17 JavaBridge INFO : @c53dce No visible constructor found in: java.lang.System, returning the class instead of an instance; this may not be what you want. Please correct this error or please use new JavaClass(java.lang.System) instead. Here is the PHP profile from result.html: java support Enabled java bridge 3.0.6 java.java_home C:\Program Files\Java\j2re1.4.1_02 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 running java server 9267 I just started JavaBridge.jar in standalone mode and could anyone please advise me what I could do for the workarounds or any successful server versions (i.e. apache version and PHP version) on Win32 platform ? Thank you for your help and advice. Regards, Anthony -------------- Regards, Anthony LAI CISSP, CISM, CISA, OCP, SCWCD Chapter Leader OWASP (Hong Kong Chapter) Web: http://www.owasp.org Web(HK Chapter): http://www.owasp.org/local/hongkong.html Aim to promote security awareness to professionals in web development |