|
From: <php...@li...> - 2007-06-27 11:36:03
|
Hi,
[please excuse the delay]
which implementation of the PHP/Java Bridge do you
use?
I have tested the pure PHP implementation and could
not reproduce this problem when running two cluster
nodes on the same machine.
Can you please open a problem report and attach the
following information to the ticket:
* which implementation do you use (C or PHP)
* if C: are persistent connections enabled
* if C: which PHP version
* the log from the back end (please start the nodes
with -Dphp.java.bridge.log_level=5)
We'll look at this issue asap.
> Could some one gide me on how to enable the session
> proxy for a php web app, or where to find info about
> this, please?
Your scripts must contain a statement:
$session = java_session()
at the beginning of your scripts (as usual).
If you use the pure PHP implementation, the PHP client
will first contact the servlet, obtain a session from
there and then switch to a (persistent-) Pipe- or
SocketContextServer .
The C implementation currently does not support a
cluster environment. As a workaround please use the
pure PHP implementation. Or, if you must use PHP4,
switch off java.persistent_connections in the php.ini
file and make sure that either the Pipe- or
SocketContextServer can be reached: The C
implementation uses HTTP PUT requests if it doesn't
receive a Servlet -> ContextRunner redirect. This code
is broken since version 2.0.8 and might be removed
from the C implementation.
Regards,
Jost Boekemeier
__________________________________ BE A BETTER INTERNET-GURU: Jetzt Frage stellen und einen von 44 iPods gewinnen! www.yahoo.de/clever
|