Hi
I ran into some trouble configuring cocoon for use with php on Win 2000. Calling a php
file I always get an error messages : "Function registration failed - duplicate name -
java_last_exception_get" -
"Function registration failed - duplicate name - java_last_exception_clear" - "java:
Unable to register functions, unable to load".
So what did I do? I got the latest php ditribution, 4.3.2 and rebuilt my cocoon app
with phpsrvlt.jar in lib/local. Then I added the php4ts.dll, phpsrvlt.dll and
php_java.dll to WINNT/system32. In my php.ini I enabled the php_java extension.
Finally I added the following lines to Tomcat�s (I use 4.1) conf/web.xml
<servlet>
<servlet-name>
php
</servlet-name>
<servlet-class>
net.php.servlet
</servlet-class>
</servlet>
<servlet>
<servlet-name>
php-formatter
</servlet-name>
<servlet-class>
net.php.formatter
</servlet-class>
</servlet>
Anyone has done a successful php configuration on windows so far and can give me a
hint on what went wrong?
Thanks a lot!
Thomas
______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]