So I'm in the process of upgrading our systems from running PJB 4.0.8 on
FreeBSD 6.2 to 5.3.2.1.1 on FreeBSD 7.0 and finally actually testing our
code out now that I have it working on amd64.
I've read the full NEWS file and the FAQ, and it seems these days the
pure-PHP implementation is the way to go, and the java.so module no longer
provides any of the functionality that is in Java.inc. So I have to ask
the obvious question: what functionality does the java.so module provide,
other than the ability to auto-start a PJB server (which we're not using;
we launch one from a rc script.) Jost you have mentioned that the module
provides a workaround for BSD systems which have a bug in that they do not
set NDELAY on loopback sockets...but it seems we have to use the pure-PHP
implementation anyway, so there's no C code involved anyway (and all this
JNI stuff doesn't matter.)
I've tested 5.3.2.1.1 using the pure-PHP implementation and running a PJB
server on a unix socket, and it appears to work fine. I'm not sure yet,
but it's possible that the issue with FreeBSD not setting the NDELAY flag
on localhost connections may have been fixed in FreeBSD 7.0 from 6.2.
I'm interested in removing the dependency on the java.so module if
possible. It's been haunting us for the past year as it triggers a bug
with PHP on FreeBSD where PHP at the command line segfaults while unloading
modules.
Thanks,
Patrick van Staveren
http://www.mintel.com
providing insight + impact
Chicago Office:
Mintel International Group Ltd (Mintel)
351 Hubbard Street, Floor 8
Chicago, IL 60610
USA
Tel: 312 932 0400
Fax: 312 932 0469
London Office:
Mintel International Group Ltd (Mintel)
18-19 Long Lane
London
EC1A 9PL
UK
Tel: 020 7606 4533
Fax: 020 7606 5932
Notice
********
This email may contain information that is privileged,
confidential or otherwise protected from disclosure. It
must not be used by, or its contents copied or disclosed
to, persons other than the addressee. If you have received
this email in error please notify the sender immediately
and delete the email. Any views or opinions expressed in
this message are solely those of the author, and do not
necessarily reflect those of Mintel.
No Mintel staff are authorised to make purchases using
email or over the internet, and any contracts so performed
are invalid.
Warning
**********
It is the responsibility of the recipient to ensure that
the onward transmission, opening or use of this message
and any attachments will not adversely affect their systems
or data. Please carry out such virus and other checks, as
you consider appropriate.
|