Re: [PHP] Java extension causes apache application error From: Alex Akilov (aakilov <email protected>)
Date: 12/27/00

gary wrote:

> I am running JDK 1.2.2.
>
> The Java section from phpinfo() contains:
>
> DIRECTIVE Local Value Master Value
> ============ ============================ =============
> java.class.path d:\php\extensions\php_java.jar no value
> java.home d:\JavaApps\jdk1.2.2 no value
> java.library d:\JavaApps\jdk1.2.2\jre\bin\classic\jvm.dll jvm.dll
> java.library.path d:\php\extensions no value
>
> Anything unusual/missing?
>
Looks ok. The only thing I can think of is that your DLLs can be out of
sync
somehow. Perhaps you're picking up an older version of something from
\winnt\system32. I usually use a utility called chkdllw to verify if
things are
in sync. If you wish, I can send you a copy of this utility.

If you want to experiment further, you can try and modify the phpjava
source to pass additional JDK debug options (e.g. -verbose:jni) that
might
help with diagnosing the problem. Let me know if you're interested and
I
can help you do this.

BTW, I believe there is a bug open with regards to (mis)handling of
arrays in
phpjava. Don't know if your problem could be related to this.

Alex

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>