ID: 18600 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Java related Operating System: Windows 2000 PHP Version: 4.2.3 New Comment:
I am also seeing this bug, unfortunatly I'm running apache 1.x on Solaris 8. Works fine for a little while, then stops working after a number of requests. I can stop the symtoms by turning off keep-alive in apache or by reducing the requests per child to a very low number. Of course, none of these solutions are acceptable. I am trying to test 4.3.0pre2 just now but having compilation errors. More later. Previous Comments: ------------------------------------------------------------------------ [2002-10-31 08:51:16] [EMAIL PROTECTED] Yeah the only real issue I can see here is that this is a Windows specific issue. I've looked through the the DSP file, and read up on specific linking issues in Windows... everything looks right from the end of PHP. I'm guessing this can be one of (or possibly all of) these things: A) specific to a JVM version - in which case we'd need to find out which one works, and then update the specific hooks into PHP to use the newer versions. B) Windows not liking Java at all - not much we can do about that. C) specific to PHP alone - in which case someone with more Windows dev experience will have to take a look at this. As I don't see any real issue with the way we're linking and calling things (beyond the really resource intensive comments). ------------------------------------------------------------------------ [2002-10-31 07:44:50] [EMAIL PROTECTED] I found this problem using Apache 1.x on Win2k. PHP 4.2.3 causes the JVM create failure (although I couldn't get any access violations). Under IIS4 , the access violation causes some serious problems, albeit intermittently. I found that starting small with Java-inclusive scripts allowed some java work to be done (such as retrieving JVM versions, etc). However, when I started some more serious Java work with some custom classes I got both the JVM create failure and an access violation which crashed IIS. A reboot was necessary to bring IIS back up (Win2k wouldn't even let me force kill the process!!). I took a look at the latest snapshot posted below, but this caused an immediate crash in Apache upon starting the service. Any other suggestions? ------------------------------------------------------------------------ [2002-09-27 12:00:04] [EMAIL PROTECTED] just to add to the list of symptoms. First time I run a script, I get Warning: Unknown list entry type in request shutdown (0) in Unknown on line 0 when the script is ending. The next time I try to load the same script, I get Fatal error: Unable to create Java Virtual Machine in c:\web\qvc\reports\test.php on line 2 win2k, j2sdk1.4, php 4.2.3. Does that help? ------------------------------------------------------------------------ [2002-09-25 05:02:59] [EMAIL PROTECTED] FYI have tried it now on another system under Apache 2 / Windows NT 4. Exactly the same problem: runs for a limited time period then reports "Unable to load virtual machine". Made sure Sablotron is not running also. ------------------------------------------------------------------------ [2002-09-21 13:05:14] [EMAIL PROTECTED] One further comment - just tried is with JRE 1.3.0 - exactly the same problem. ------------------------------------------------------------------------ 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/18600 -- Edit this bug report at http://bugs.php.net/?id=18600&edit=1