ID: 18600 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type: Java related Operating System: Windows 2000 PHP Version: 4.2.3 New Comment:
I tried the php4-win32-STABLE-200212040930 snapshot, but I still got problems with a simple java program (the one in the docs). After some reloads I got a PHP has encountered an Access Violation at 77FCBEE8 After that: Fatal error: Unable to create Java Virtual Machine in c:\inetpub\wwwroot\estatisticos\admin\java.php on line 3 At least the problem occurs only to java applications, not all php pages. Nelio Previous Comments: ------------------------------------------------------------------------ [2002-12-04 02:18:05] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-12-02 05:11:03] [EMAIL PROTECTED] Hi, I'm reporting the same error using: Win2k Server apache_2.0.36-win32-x86-no_ssl.msi php4-win32-latest.zip (PHP Version 4.2.3) j2sdk-1_4_1_01-windows-i586.exe or (jdk-1_2_2_014-windows-i586.exe) ... I've got periods of errors and periods of success when instantiating $system = new Java("java.lang.System"); from within PHP. Error message is: "Fatal error: Unable to create Java Virtual Machine in ..." I see a lot of such bug reports around but still no solution ;-(. Any ideas? Thanx Alberto ------------------------------------------------------------------------ [2002-11-28 07:19:46] [EMAIL PROTECTED] Hi I'm asking it again: Is anyone using sablotron (ext/xslt) together with the java extension, then you're in bad luck, because: sablotron < 0.97 and jdk >= 1.3 does not work together. Sablotron 0.97 is not out yet, but there is an RC1 in their CVS (didn't find a link to download it), which should solve the problem.. try not loading the sablotron extension and see if it solves the problem unix people which have problem with even starting up, should try the symlink trick: make a symlink from java.so to libphp_java.so and see if that works. chregu ------------------------------------------------------------------------ [2002-11-05 05:43:54] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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). ------------------------------------------------------------------------ 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
