Re: Java extension causes apache application error
| From: | Alex Akilov | Date: | Wed, 27 Dec 2000 17:49:01 +0000 |
| Subject: | Re: Java extension causes apache application error | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31984@lists.php.net to get a copy of this message | ||
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