|
From: <php...@li...> - 2008-09-26 19:22:18
|
Hi,
> the 'thiz' object is null and this is why the proxy
> part fails.
this happens if the script could not call into the Java continuation.
"Invocable" scripts are evaluated in three parts:
part 1 load Java.inc/php_java.dll
part 2 is your script code
part 3 is the call back into Java (if your code did not call into Java)
The full script looks like this:
<?php require("http://<localhost>:dynamicPort/JavaBridge/java/Java.inc")?>
<?php ... your PHP code ... ?>
<?php java_context()->call(java_closure());
When a php_java.dll exists, part#1 will not be called. In this case we assume that your PHP installation already uses the PHP/Java Bridge.
If the asumption is false, and the php_java.dll does not export java_context(), part#3 will fail and Java will not be able to get- and call the PHP continuation.
Regards,
Jost Boekemeier
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
|