#14754 [Com]: java.* configuration values from php.ini lost on subsequent executions
| From: | rodgar at airtel dot net | Date: | Tue, 05 Nov 2002 15:58:27 +0000 |
| Subject: | #14754 [Com]: java.* configuration values from php.ini lost on subsequent executions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24118@lists.php.net to get a copy of this message | ||
ID: 14754
Comment by: rodgar@airtel.net
Reported By: j.kase@privador.com
Status: Open
Bug Type: Java related
Operating System: Windows XP Home / Apache 1.3.24
PHP Version: 4.2.1 & 4.3.0-dev
New Comment:
I have switched from hotspot jvm to classic jvm but the problem
continues.
Previous Comments:
------------------------------------------------------------------------
[2002-10-27 12:31:34] pugztoma@pit.ktu.lt
I have experienced the same problem.
But switched from hotspot jvm to classic
and problem disappeared.
I am using:
php 4.2.1, apache 1.3.xx
Win2k,
php.ini
[Java]
java.class.path = E:\php4.2.1\extensions\php_java.jar
java.home = E:\jdk1.3\jre
java.library = E:\jdk1.3\jre\bin\classic\jvm.dll
------------------------------------------------------------------------
[2002-10-24 06:23:03] rodgar@airtel.net
I experimented this from php 4.2.2. Now, I'm running php 4.2.4 (the
snapshot from 23-Oct-2002 17:22) on Apache 1.3.27 and WinNT 4.0 and the
error still appears.
------------------------------------------------------------------------
[2002-10-08 14:51:48] kalowsky@php.net
Marking as open and updating version
------------------------------------------------------------------------
[2002-10-08 11:12:20] bharathlg@hotmail.com
Iam still facing this bug even after trying with the snapshot
specified.Iam running on apache 1.3.26 and win2K.
I first experienced this on Php 4.2.2.
Actually I took a closer look at the source.It seems to me that the
reference to the global pointer to jvm( java.c ) seems to be reset
resulting in the call to jvm_create after the first request(when it
shouldnt, as the pointer should still be valid as we are not releasing
the jvm pointer). Since there was no call to jvm_destroy, I guess some
internal resource has been locked up resulting in JNI_CreateVM
returning -1(undefined error in JNI.h) on the subsequent calls.
Any help would be highly appeciated
------------------------------------------------------------------------
[2002-09-26 20:06:04] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14754
--
Edit this bug report at http://bugs.php.net/?id=14754&edit=1