ID: 14754 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Java related Operating System: Windows XP Home / Apache 1.3.24 PHP Version: 4.2.1 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2002-09-07 00:13:06] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-08-25 11:01:57] [EMAIL PROTECTED] Tested with the following: * Windows XP Home * Apache 1.3.24 * PHP 4.2.1 * Java SDK 1.4.0 The bug is still valid. Actually, even recompiling the Java class is not necessary - even if the class is run correctly, hitting Refresh in the browser multiple times (simulating heavy load) eventually causes the error to persist until Apache restart. Another observation - I change my class code and recompile, but PHP still uses the old class method code and returns outdated results, suggesting some kind of caching is taking place somewhere. I'm not sure if the two things are related or not. ------------------------------------------------------------------------ [2002-08-08 10:08:09] [EMAIL PROTECTED] Is this bug still valid for you in the recent releases? ------------------------------------------------------------------------ [2002-02-28 23:34:33] [EMAIL PROTECTED] I am not sure if this will help you, but I received similar, but reproducible behavior when performing the following: 1. Load a PHP page in the browser that calls Java -- works fine. 2. Wait a few minutes and refresh the page -- receive "Fatal error: Unable to create Java Virtual Machine". 3. Restart Apache and move back to step 1. I noticed that once I changed Apache back to loading the PHP CGI Binary, the problem went away. There appears to be a bug running PHP-Java when PHP is loaded as an Apache module. This was tested on Apache/1.3.20 Server and PHP 4.1.1. ------------------------------------------------------------------------ [2002-02-24 11:44:53] [EMAIL PROTECTED] Installed PHP 4.1.1 and Java(TM) Development Kit 1.2.2_011 from Sun (filename jdk-1_2_2_011-win.exe). Problem remains the same - after recompiling Java class I get "Unable to create Java Virtual Machine". After restarting Apache, it works again until I recompile Java class. I am not sure that I have myself configured everything correctly, so here is the [Java] section from my php.ini just in case. [Java] java.class.path = "e:/program files/php/java/php_java.jar;e:/webs/javaclasses/" java.home = e:/jdk java.library = e:/jdk\jre\bin\classic\jvm.dll java.library.path = "e:/program files/php/extensions;" ------------------------------------------------------------------------ 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
