From: Paul S. <po...@ma...> - 2005-01-17 12:42:55
|
Hi All, I've tried compiling the php-java-bridge (1.0.7 with a Makefile hack, and 1.0.8pre) on OSX and I run into the following error :- gcc -bundle -flat_namespace -undefined suppress -o .libs/java.so .libs/java.o .libs/java_bridge.o .libs/client.o .libs/proxyenv.o .libs/bind.o .libs/init_cfg.o ld: multiple definitions of symbol _java_globals .libs/java.o definition of _java_globals in section (__DATA,__common) .libs/java_bridge.o definition of _java_globals in section (__DATA,__common) .libs/client.o definition of _java_globals in section (__DATA,__common) make: *** [java.la] Error 1 Which (I think?) relates to the following from php_java.h :- #ifdef ZTS # define JG(v) TSRMG(java_globals_id, zend_java_globals *, v) #else # define JG(v) (java_globals.v) #endif Typically these issues are resolved on OSX by using extern, and no amount of my crappy ideas have worked so far :-). Can anyone give me any pointers ? CHEERS Paul |
From: Jost B. <jos...@ya...> - 2005-01-17 17:03:13
|
> ld: multiple definitions of symbol _java_globals [...] > Typically these issues are resolved on OSX by using > extern Hmm, there exists a ZEND_EXTERN_MODULE_GLOBALS. Maybe we should change the ZEND_DECLARE_MODULE_GLOBALS in client.c and java_bridge.c? In any case, I will look at the issue when I am back in munich, at the end of the month. Thank you for reporting this issue. Jost ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Poorly <po...@ma...> - 2005-01-18 00:41:50
|
Tag Jost, Yes that worked, I got it compiling fine, the diff for a full compile is=20 (note change to glibtoolize required for OSX) :- #########################################################################= ##### diff -urN php-java-bridge_1.0.8-pre/client.c php-java-bridge/client.c --- php-java-bridge_1.0.8-pre/client.c Sat Jan 8 03:27:33 2005 +++ php-java-bridge/client.c Tue Jan 18 10:00:13 2005 @@ -27,7 +27,7 @@ #include "java_bridge.h" #include "php_java.h" =20 -ZEND_DECLARE_MODULE_GLOBALS(java) +extern ZEND_DECLARE_MODULE_GLOBALS(java) =20 #ifdef JAVA_COMPILE_DEBUG static int check_error(proxyenv *jenv, char*msg TSRMLS_DC) { diff -urN php-java-bridge_1.0.8-pre/java_bridge.c=20 php-java-bridge/java_bridge.c --- php-java-bridge_1.0.8-pre/java_bridge.c Sat Jan 8 03:27:33 2005 +++ php-java-bridge/java_bridge.c Tue Jan 18 10:00:05 2005 @@ -13,7 +13,7 @@ #include <string.h> =20 =20 -ZEND_DECLARE_MODULE_GLOBALS(java) +extern ZEND_DECLARE_MODULE_GLOBALS(java) =20 static jobjectArray php_java_makeArray(int argc, pval** argv TSRMLS_DC); static jobject php_java_makeObject(pval* arg TSRMLS_DC); diff -urN php-java-bridge_1.0.8-pre/server/autogen.sh=20 php-java-bridge/server/autogen.sh --- php-java-bridge_1.0.8-pre/server/autogen.sh Sat Jan 8 03:27:33 20= 05 +++ php-java-bridge/server/autogen.sh Tue Jan 18 10:00:59 2005 @@ -3,6 +3,6 @@ aclocal autoheader autoconf -libtoolize -f +glibtoolize -f ln -s `which libtool` . automake -a --foreign #########################################################################= ##### BUT, its is never that easy is it :-( ... Now when trying to start apache I've had some problems :- 1) I was originally getting the following error before the dyld in 2)=20 below :- java.lang.UnsatisfiedLinkError: no natcJavaBridge in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at JavaBridge.main(JavaBridge.java:520) So I made a softlink like so called libnatcJavaBridge.jnilib ->=20 libnatcJavaBridge.dylib (dylib being the OSX lib name [why, why, why])=20 and no longer get this error, good ! 2) But I now I'm stuck on :- PHP Fatal error: Cannot override final method java::?B?() in Unknown on=20 line 0 PHP Fatal error: Cannot override final method java::?B?() in Unknown on=20 line 0 PHP Fatal error: Cannot override final method java_exception::?B?() in=20 Unknown on line 0 dyld: /usr/sbin/httpd Undefined symbols: __convert_to_string __efree __emalloc __object_init_ex __safe_emalloc __zend_get_parameters_array __zend_hash_index_update_or_next_insert __zend_hash_init __zend_list_find __zval_copy_ctor __zval_dtor __zval_ptr_dtor _convert_to_object _get_active_function_name _php_info_print_table_end _php_info_print_table_row _php_info_print_table_start _zend_ce_arrayaccess _zend_class_implements _zend_error _zend_exception_get_default _zend_get_class_entry _zend_get_parameters_ex _zend_get_std_object_handlers _zend_hash_copy _zend_hash_get_current_data_ex _zend_hash_get_current_key_ex _zend_hash_index_find _zend_hash_internal_pointer_reset_ex _zend_hash_move_forward_ex _zend_hash_num_elements _zend_list_insert _zend_objects_new _zend_register_ini_entries _zend_register_internal_class _zend_register_internal_class_ex _zend_register_list_destructors_ex _zend_throw_exception_object _zend_unregister_ini_entries _zend_wrong_param_count _zval_add_ref FYI my php.ini currently has this (I've been playing around in here a=20 fair bit):- java.class.path =3D "/usr/local/lib/php/extensions/no-debug-non-zts-20041= 030" java.home =3D "/System/Library/Frameworks/JavaVM.framework/Home" java.library.path =3D=20 "/usr/local/lib/php/extensions/no-debug-non-zts-20041030" extension=3Djava.so [java] And /usr/local/lib/php/extensions/no-debug-non-zts-20041030 looks like=20 this :- -rwxr-xr-x 1 root staff 4073 18 Jan 10:52 JavaBridge$1.class -rwxr-xr-x 1 root staff 1739 18 Jan 10:52 JavaBridge$2.class -rwxr-xr-x 1 root staff 1519 18 Jan 10:52 JavaBridge$3.class -rwxr-xr-x 1 root staff 1751 18 Jan 10:52 JavaBridge$4.class -rwxr-xr-x 1 root staff 769 18 Jan 10:52 JavaBridge$PhpMap.class -rwxr-xr-x 1 root staff 17011 18 Jan 10:52 JavaBridge.class -rwxr-xr-x 1 root staff 129892 18 Jan 10:52 java.so -rwxr-xr-x 1 root staff 73236 18 Jan 10:52 libnatcJavaBridge.a -rwxr-xr-x 1 root staff 69508 18 Jan 10:52 libnatcJavaBridge.dylib lrwxr-xr-x 1 root staff 23 18 Jan 11:27 libnatcJavaBridge.jnilib=20 -> libnatcJavaBridge.dylib -rwxr-xr-x 1 root staff 79164 21 Dec 15:56 zlib.a -rwxr-xr-x 1 root staff 77116 21 Dec 15:56 zlib.so Thanks for the help. REGARDS Paul P.S. I fondly recall the BMW museum in M=FCnchen :-) ... coool >>ld: multiple definitions of symbol _java_globals >> =20 >> >[...] > =20 > >>Typically these issues are resolved on OSX by using >>extern >> =20 >> > >Hmm, there exists a ZEND_EXTERN_MODULE_GLOBALS. Maybe >we should change the ZEND_DECLARE_MODULE_GLOBALS in >client.c and java_bridge.c? > >In any case, I will look at the issue when I am back >in munich, at the end of the month. Thank you for >reporting this issue. > > >Jost > > > >=09 > =09 >___________________________________________________________=20 >Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anm= elden: http://mail.yahoo.de > =20 > |
From: Jost B. <jos...@ya...> - 2005-01-24 21:30:57
|
[please excuse the delay] > -ZEND_DECLARE_MODULE_GLOBALS(java) > +extern ZEND_DECLARE_MODULE_GLOBALS(java) Thanks. I will commit this shortly. > -libtoolize -f > +glibtoolize -f We need the gnu autoconf/automake/libtool anyway as the apple versions (at least the installation at SF) don't work properly. So I think the change is not necessary. > java.lang.UnsatisfiedLinkError: no natcJavaBridge in java.library.path > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517) > at java.lang.Runtime.loadLibrary0(Runtime.java:788) > at java.lang.System.loadLibrary(System.java:834) > at JavaBridge.main(JavaBridge.java:520) Which java version have you used? BTW: Are there other java implementations than the one from apple? The apple JIT crashes after running the bridge for one hour. I don't think it's a problem with the bridge but rather a bug in the JIT; running a pure java version of the scheme-demo has the same effect. > dyld: /usr/sbin/httpd Undefined symbol > _php_info_print_table_end No idea what this is (I haven't tested apache, yet). But it sounds as if the dynamic loader cannot re-export symbols from a dynamic library: apache dlopen()s PHP which in turn must dlopen() the bridge in such a way that the PHP symbols are exported to the bridge. The fact that the httpd complains about missing symbols rather than PHP doesn't sound good, maybe it's an issue with PHP not invoking dlopen() correctly on this system. It might be necessary to compile the bridge directly into PHP; please see the windows install instructions for details. Jost |
From: Poorly <po...@ma...> - 2005-01-24 22:34:50
|
Jost, >[please excuse the delay] > > > No problem, I appreciate the help. > > >>-ZEND_DECLARE_MODULE_GLOBALS(java) >>+extern ZEND_DECLARE_MODULE_GLOBALS(java) >> >> > >Thanks. I will commit this shortly. > > > > >>-libtoolize -f >>+glibtoolize -f >> >> > > >We need the gnu autoconf/automake/libtool anyway as the apple versions >(at least the installation at SF) don't work properly. So I think the >change is not necessary. > > > > >>java.lang.UnsatisfiedLinkError: no natcJavaBridge in java.library.path >> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517) >> at java.lang.Runtime.loadLibrary0(Runtime.java:788) >> at java.lang.System.loadLibrary(System.java:834) >> at JavaBridge.main(JavaBridge.java:520) >> >> > >Which java version have you used? BTW: Are there other java >implementations than the one from apple? The apple JIT crashes after >running the bridge for one hour. I don't think it's a problem with the >bridge but rather a bug in the JIT; running a pure java version of the >scheme-demo has the same effect. > > > As far as I know apples implementation is the only one. Mind you /System/Library/Frameworks/JavaVM.framework/Versions/ indicates we can use 1.2, 1.3, 1.3.1, and 1.4.2 with 1.4.2 being the default, would it be worth trying a different version ? > > >>dyld: /usr/sbin/httpd Undefined symbol >>_php_info_print_table_end >> >> > >No idea what this is (I haven't tested apache, yet). But it sounds as >if the dynamic loader cannot re-export symbols from a dynamic library: >apache dlopen()s PHP which in turn must dlopen() the bridge in such a >way that the PHP symbols are exported to the bridge. > > apples dynamic loader weirdness :-). I'll google a bit on the "re-export" clue ... >The fact that the httpd complains about missing symbols rather than PHP >doesn't sound good, maybe it's an issue with PHP not invoking dlopen() >correctly on this system. It might be necessary to compile the bridge >directly into PHP; please see the windows install instructions for >details. > > > > I'll have a go at that too. Also I'm running an up to date Panther (10.3.7) build, but I am running a home brew php-5.0.3 so I'll also try reverting to the default php-4.3.? and see if it works there. >Jost > > > > CHEERS Paul |
From: Poorly <po...@ma...> - 2005-01-25 05:43:51
|
Hi Jost, OK, I compiled the bridge (with the extern patch) in with PHP (5.0.3) successfully as per the windows method but when starting apache I get the following in the error_log, which is part of the same error I had with the extension version :- PHP Fatal error: Cannot override final method java::?B?() in Unknown on line 0 PHP Fatal error: Cannot override final method java::?B?() in Unknown on line 0 PHP Fatal error: Cannot override final method java_exception::?B?() in Unknown on line 0 PHP Info Java section says :- java support Enabled java bridge 1.0.8 java command JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home LD_LIBRARY_PATH=/usr/local/lib/php/extensions/no-debug-non-zts-20041030 /System/Library/Frameworks/JavaVM.framework/Home/bin/java -Djava.library.path=/usr/local/lib/php/extensions/no-debug-non-zts-20041030 -Djava.class.path=/usr/local/lib/php/extensions/no-debug-non-zts-20041030 -Djava.awt.headless=true JavaBridge /var/tmp//.php_java_bridgehkq3uI 0 '' java.libpath /usr/local/lib/php/extensions/no-debug-non-zts-20041030 java.classpath /usr/local/lib/php/extensions/no-debug-non-zts-20041030 java.java_home /System/Library/Frameworks/JavaVM.framework/Home java.java /System/Library/Frameworks/JavaVM.framework/Home/bin/java java.log_file <stdout> java.log_level 0 java status not running And when I go to a test page I get :- Fatal error: php_mod_java(52): Could not connect to server: Socket operation on non-socket -- Have you started the java bridge? in /Library/WebServer/Documents/phpjava.php on line 2 I've also tried hacking the Makefiles to add in -flat_namespaces and -export-dynamic but still no luck. CHEERS Paul > Jost, > >>[please excuse the delay] >> >> >> > No problem, I appreciate the help. > >> >> >>>-ZEND_DECLARE_MODULE_GLOBALS(java) >>>+extern ZEND_DECLARE_MODULE_GLOBALS(java) >>> >>> >> >>Thanks. I will commit this shortly. >> >> >> >> >>>-libtoolize -f >>>+glibtoolize -f >>> >>> >> >> >>We need the gnu autoconf/automake/libtool anyway as the apple versions >>(at least the installation at SF) don't work properly. So I think the >>change is not necessary. >> >> >> >> >>>java.lang.UnsatisfiedLinkError: no natcJavaBridge in java.library.path >>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517) >>> at java.lang.Runtime.loadLibrary0(Runtime.java:788) >>> at java.lang.System.loadLibrary(System.java:834) >>> at JavaBridge.main(JavaBridge.java:520) >>> >>> >> >>Which java version have you used? BTW: Are there other java >>implementations than the one from apple? The apple JIT crashes after >>running the bridge for one hour. I don't think it's a problem with the >>bridge but rather a bug in the JIT; running a pure java version of the >>scheme-demo has the same effect. >> >> >> > As far as I know apples implementation is the only one. Mind you > /System/Library/Frameworks/JavaVM.framework/Versions/ indicates we can > use 1.2, 1.3, 1.3.1, and 1.4.2 with 1.4.2 being the default, would it > be worth trying a different version ? > >> >> >>>dyld: /usr/sbin/httpd Undefined symbol >>>_php_info_print_table_end >>> >>> >> >>No idea what this is (I haven't tested apache, yet). But it sounds as >>if the dynamic loader cannot re-export symbols from a dynamic library: >>apache dlopen()s PHP which in turn must dlopen() the bridge in such a >>way that the PHP symbols are exported to the bridge. >> >> > apples dynamic loader weirdness :-). I'll google a bit on the > "re-export" clue ... > >>The fact that the httpd complains about missing symbols rather than PHP >>doesn't sound good, maybe it's an issue with PHP not invoking dlopen() >>correctly on this system. It might be necessary to compile the bridge >>directly into PHP; please see the windows install instructions for >>details. >> >> >> >> > I'll have a go at that too. > > Also I'm running an up to date Panther (10.3.7) build, but I am > running a home brew php-5.0.3 so I'll also try reverting to the > default php-4.3.? and see if it works there. > >>Jost >> >> >> >> > > CHEERS > Paul |
From: Jost B. <jos...@ya...> - 2005-01-25 20:46:13
|
> PHP Fatal error: Cannot override final method > java::?B?() in Unknown on I will try to reproduce this problem when the SF ppc-osx2 is available again. > indicates we can > > use 1.2, 1.3, 1.3.1, and 1.4.2 with 1.4.2 being > the default, would it > > be worth trying a different version ? The latest 1.4 seems to run okay if I switch off the compiler, 1.3 and earlier are no longer supported, the bridge uses features from 1.4 (exception chaining). However, when the JIT is enabled the scheme-demo (which is a pure java test) crashes after one hour. I will test against java 1.5 when it is available for OSX. Until then please run the server part on a different operating system, for example RHEL3 for PPC with IBM java 1.4.1, please see -> http://www-106.ibm.com/developerworks/java/jdk/linux/tested.html Jost ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Jost B. <jos...@ya...> - 2005-01-26 17:01:08
|
> > PHP Fatal error: Cannot override final method > > java::?B?() in Unknown on I could reproduce this problem. I am trying to fix this for version 1.0.8, thanks for reporting it. [Apple JDK 1.4 crashes after running the scheme-demo for one hour] I have just tested 1.3 on OSX 10.2. It seems that Apple's java 1.3 is worse than 1.4, it took down the OSX 10.2 machine immediately! I don't know why this happens; I cannot think of any reason why starting 4 java threads could crash the entire operating system... I think we should document that the Apple Java VM is not supported and that we wait until Mac OSX 10.4 is available. Jost --- To run the test you need the "kawa.jar", which is available at www.fsf.org/software/kawa or at php-java-bridge.sf.net/kawa.jar. The test follows: import java.lang.*; import kawa.standard.*; public class test implements Runnable { public void run() { try { while (true) { Scheme s = new Scheme(); s.eval(" (letrec ((f (lambda(v) (if (= v 0) 1 (* (f (- v 1)) v))))) (f 155)) "); } } catch(Throwable t) {t.printStackTrace();} } public static void main(String s[]) throws Throwable { (new Thread(new test())).start(); (new Thread(new test())).start(); (new Thread(new test())).start(); (new Thread(new test())).start(); // terminate test after 10sec Thread.sleep(10000); } } ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Paul S. <po...@ma...> - 2005-01-26 21:10:12
|
Jost, Great, thankyou for this. I will test this out myself, and if reproducible I'll report it as a bug to apple. REGARDS Paul On 27/01/2005, at 4:00, Jost Boekemeier wrote: >> PHP Fatal error: Cannot override final method >> java::?B?() in Unknown on I could reproduce this problem. I am trying to fix this for version 1.0.8, thanks for reporting it. [Apple JDK 1.4 crashes after running the scheme-demo for one hour] I have just tested 1.3 on OSX 10.2. It seems that Apple's java 1.3 is worse than 1.4, it took down the OSX 10.2 machine immediately! I don't know why this happens; I cannot think of any reason why starting 4 java threads could crash the entire operating system... I think we should document that the Apple Java VM is not supported and that we wait until Mac OSX 10.4 is available. Jost --- To run the test you need the "kawa.jar", which is available at www.fsf.org/software/kawa or at php-java-bridge.sf.net/kawa.jar. The test follows: import java.lang.*; import kawa.standard.*; public class test implements Runnable { public void run() { try { while (true) { Scheme s = new Scheme(); s.eval(" (letrec ((f (lambda(v) (if (= v 0) 1 (* (f (- v 1)) v))))) (f 155)) "); } } catch(Throwable t) {t.printStackTrace();} } public static void main(String s[]) throws Throwable { (new Thread(new test())).start(); (new Thread(new test())).start(); (new Thread(new test())).start(); (new Thread(new test())).start(); // terminate test after 10sec Thread.sleep(10000); } } ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Jost B. <jos...@ya...> - 2005-01-27 19:34:35
|
> On 27/01/2005, at 4:00, Jost Boekemeier wrote: > > >> PHP Fatal error: Cannot override final method > >> java::?B?() in Unknown on > > I could reproduce this problem. I am trying to fix > this for version 1.0.8, thanks for reporting it. The above problem goes away when you distclean the php directory and remove all references to the old ext/java bridge and then re-build. I have compiled the bridge with TCP sockets directly into PHP 4.3.9 and compiled it into a CGI binary. As far as I can tell, the bridge works as it should. Jost ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Paul S. <po...@ma...> - 2005-07-07 11:37:48
|
Hi Jost, You just made my day :-) I got back to look at php-java-bridge today and immediately was able to compile version 2.0.7pre2 against Apples Java 1.5.0_02-36 on Tiger 10.4.1. I did not succeed at getting it running using the (named?) sockets, but it happily works using the hosts method which is perfect anyway. Then I 'wasted' ;-) the whole day plugging in our production system jars with amazing ease and it all just worked. A big thankyou ! CHEERS Paul >> On 27/01/2005, at 4:00, Jost Boekemeier wrote: >> >> >>>> PHP Fatal error: Cannot override final method >>>> java::?B?() in Unknown on >>>> >> >> I could reproduce this problem. I am trying to fix >> this for version 1.0.8, thanks for reporting it. >> > > The above problem goes away when you distclean the php > directory and remove all references to the old > ext/java bridge and then re-build. > > I have compiled the bridge with TCP sockets directly > into PHP 4.3.9 and compiled it into a CGI binary. As > far as I can tell, the bridge works as it should. > > > Jost > > > > > > > > ___________________________________________________________ > Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - > Hier anmelden: http://mail.yahoo.de > > |
From: Jost B. <jos...@ya...> - 2005-07-07 16:40:06
|
Hi, > was able > to compile version 2.0.7pre2 against Apples Java 1.5.0_02-36 on Tiger that's great! The C code will not be changed any further, so I expect that the future versions of the bridge will continue to run, even though we don't have the chance to test on MacOS X. > I did not succeed at getting it running using the (named?) sockets OSX should have "unix domain sockets" too, but I guess the problem is JNI related. Apple has changed JNI in an incompatible way; there was a discussion on the gnu java mailing list about this issue. If you compile with make "CFLAG=-DCFG_JAVA_SOCKET_INET" the bridge will use TCP sockets instead even if the configure script reports that "unix domain sockets" are available. This flag is necessary on BSD, too, as BSD usually runs the linux JDK which cannot load the natcJavaBridge.so files that BSD creates. One problem with TCP sockets is that most java implementations create a socket which binds itself to *all* available network interfaces. This might become a security issue if the backend runs on the web-server. We should change this, a LOCAL: backend should bind itself to the local interface only. Regards, Jost Boekemeier --------------------------------- Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher |
From: Paul S. <po...@ma...> - 2005-07-07 23:26:00
|
Jost, > Hi, > > > was able > > to compile version 2.0.7pre2 against Apples Java 1.5.0_02-36 on > Tiger > > that's great! The C code will not be changed any further, so I > expect that the future versions of the bridge will continue to run, > even though we don't have the chance to test on MacOS X. > > > > I did not succeed at getting it running using the (named?) sockets > > OSX should have "unix domain sockets" too, but I guess the problem > is JNI related. Apple has changed JNI in an incompatible way; there > was a discussion on the gnu java mailing list about this issue. No surprise there, they have their own ways of doing things ;-) > > If you compile with > > make "CFLAG=-DCFG_JAVA_SOCKET_INET" did a make clean, then that and a make install > > the bridge will use TCP sockets instead even if the configure > script reports that "unix domain sockets" are available. This flag > is necessary on BSD, too, as BSD usually runs the linux JDK which > cannot load the natcJavaBridge.so files that BSD creates. > > One problem with TCP sockets is that most java implementations > create a socket which binds itself to *all* available network > interfaces. This might become a security issue if the backend > runs on the web-server. > Agreed, its on internal network so if I'm feeling paranoid I can firewall it I suppose. > > We should change this, a LOCAL: backend should bind itself to the > local interface only. > PHP reported the following (I'm using /tmp to get over permissions) :- /usr/local/lib/php/extensions/no-debug-non-zts-20041030/ RunJavaBridge /System/Library/Frameworks/JavaVM.framework/Home//bin/ java -Djava.library.path=/usr/local/lib/php/extensions/no-debug-non- zts-20041030 -Djava.class.path=/usr/local/lib/php/extensions/no-debug- non-zts-20041030/JavaBridge.jar -Djava.awt.headless=true php.java.bridge.JavaBridge LOCAL:/tmp/.php-java-bridge_socket 3 /tmp/ php-java-bridge.log But the log file says :- Jul 08 09:16:04 JavaBridge INFO : Local sockets not available:java.lang.UnsatisfiedLinkError: startNative. Try TCP sockets instead java.lang.Exception: Could not create socket: LOCAL:/tmp/.php-java- bridge_socket at php.java.bridge.JavaBridge.init(JavaBridge.java:266) at php.java.bridge.JavaBridge.main(JavaBridge.java:313) > > > Regards, > Jost Boekemeier > > > Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher CHEERS Paul |