ID: 14754
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Dynamic loading
Operating System: Windows 2000 SP2 / Apache 1.3.22
PHP Version: 4.1.0
New Comment:

Another note. Users with Linux systems experiencing the same bug reported receiving 
errors and successes interchangeably - something like 3 errors, 1 success, 3 errors, 1 
success etc. This is not true for me - I only keep getting errors until I restart 
Apache.

Previous Comments:
------------------------------------------------------------------------

[2001-12-29 12:25:14] [EMAIL PROTECTED]

This is similar to bug#6990, but since I could no longer append to it, I am opening a 
new report.

The symptoms are the same as descibed in #6990 - on initial execution, all the values 
from php.ini are imported correctly, including the java.* values so that I can execute 
custom Java classes from PHP (very cool feature btw). However, after running the page 
a few times, it gives me the error "Fatal error: Unable to create Java Virtual 
Machine", which most likely means that it has blown up the paths to JDK and classes 
which I have specified in php.ini, and cannot create a JVM.

The trigger which invokes the error seems to be the moment when I change and recompile 
my Java class. Sometimes it also triggers the error after I update just my PHP code, 
but not my Java class.

Restarting Apache fixes the error each and every time (for a short period - then it 
occurs exactly the same way), but obviously this is not the viable solution that I am 
looking for.

Bug#6990 also mentions something about placing the [Java] section of php.ini (i.e. 
configuration for a dynamic module) before or after loading the extension code (in my 
case, Extension=php_java.dll). This has zero effect - no matter whether the [Java] 
section is before or after the Extension statement, it behaves exactly the same way.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14754&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to