From: <php...@li...> - 2006-07-07 18:06:11
|
Hi Wendy, > /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0 java.java = > /usr/lib/jvm/java- > 1.4.2-gcj-1.4.2.0/jre/bin/java are you sure that the above binaries are 64 bit binaries? On my installation these are 32 bit binaries. On Unix the usual build process creates a JNI library libnatcJavaBridge.so. It is injected into the Java VM to make unix domain socket communication possible. If you build a 64 bit jni library for a 32 bit VM, the VM will reject the library and the unix domain socket channel fails. As a workaround please use TCP sockets instead, or, better, use the servlet back-end: rpm -e php-java-bridge php-java-bridge-standalone rpm -i php-java-bridge-3.1.4-1.i386.rpm rpm -i php-java-bridge-tomcat-3.1.4.1.noarch.rpm However, this 64 bit jni and 32 VM problem is something that autoconf should catch. Can you please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the php-java-bridge-standalone and php-java-bridge rpm files at the end of the ticket? I will add an autoconf test to the next version of the bridge which should solve this problem. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |