|
From: <php...@li...> - 2008-09-23 19:27:14
|
Hi,
You have mentioned that you have "compiled" the code yourself. This may mean that you have compiled Java to native code and declared the compiled extension in the php.ini file.
When using the pure Java PHP/Java Bridge doesn't work if there's a php_java.dll or java.so or a java declaration in you php.ini file(s).
Version 5.2.2.3 contains a workaround for this problem,
please see the ChangeLog for details:
* server/php/java/script/SimplePhpScriptEngine.java (setNewContextFactory): The java.so
and php_java.dll must not trash the pure Java PHP/Java Bridge implementation. Override
any settings from the java.so or php_java.dll and use our own settings.
* VERSION, php-java-bridge.spec: Version 5.2.2.3 released
> FAIL - Application at context path /JavaBridge could not be
> started
This doesn't have anything to do with the PHP/Java Bridge. Please follow the standard procedure to create a clean environment and start again:
Please remove all Java libraries from the jre lib/ext directory and use a standard tomcat installation.
Then remove the work/Catalina and temp/* directories and restart tomcat. After that your (PHP/Java Bridge) Java web application will start properly.
If that doesn't work please check the tomcat log for any exceptions/error reports. The localhost*.log contains a detailed description why the web application could not be started. If you see ClassCastExceptions or class loader exceptions or errors there, make sure that your libraries are loaded from one place.
If that still doesn't work, please contact the tomcat developers.
Regards,
Jost Boekemeier
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
|