From: <php...@li...> - 2006-09-14 10:07:37
|
Hi, I'm trying to Install the native, C-based extension but it doesn't work and i have no error messages. My Config : Windows xp JAVA BRIDGE 3.1.8 Apache 2.0.59 Tomcat 1.4.31 PHP 5.1.6 JAVA jdk1.5.0_03 *php.ini* extension=3Dphp_java.dll [java] java.hosts =3D 127.0.0.1:8080 java.servlet =3D User java.java_home=3DC:\JAVA\jdk1.5.0_03 java.java=3DC:\JAVA\jdk1.5.0_03\bin\javaw.exe java.class.path=3DC:\PHP\ext\JavaBridge.jar java.log_level=3D2 java.log_file=3DC:\PHP\ext\JavaBridge.log The php_java.dll (renamed java-x86-windows.dll) has been taken from JavaBridge.war * httpd.conf *LoadModule php5_module "C:/PHP/php5apache2.dll" LoadModule jk_module modules/mod_jk.dll When i run the http:// <http:///><Host>/test.jsp I'm getting all the infos whith no error but when i try for example <?php $object =3D new Java("java.lang.String", "hello world"); echo (string)$object; ?> nothing happened , no error messages, nothing. This the result of the java section of the test page: java java support Enabled java bridge 3.1.8 java.log_level 2 java.hosts 127.0.0.1:8080 java.servlet /forums/javabridge.phpjavabridge java.persistent_connections On java command C:\JAVA\jdk1.5.0_03\bin\javaw.= exe -Djava.library.path=3DC:\PHP\ext -Djava.class.path=3DC:\PHP\ext/JavaBridge.= jar - Djava.awt.headless=3Dtrue -Dphp.java.bridge.base=3DC:\PHP\ext php.java.bridge.Standalone INET_LOCAL:0 2 C:\PHP\ext\JavaBridge.log java status running java server 127.0.0.1:8080 Please Help me, i very need this bridge for one of my webapp ! Thanx in advance. Fran=E7ois BONICEL BUZZER PRESS / B&B MEDIA |