#18600 [Fbk->Opn]: Unable to create Java Virtual Machine

From: Date: Mon, 09 Sep 2002 18:36:36 +0000
Subject: #18600 [Fbk->Opn]: Unable to create Java Virtual Machine
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18835@lists.php.net to get a copy of this message
ID: 18600 User updated by: nalves@equifax.com.br Reported By: nalves@equifax.com.br -Status: Feedback +Status: Open Bug Type: Java related Operating System: Windows 2000 PHP Version: 4.2.3 New Comment: I tested with 4.3.0 (dev), and I got almost the same errors. The 'access violation' message is still there, and after some reloads, I could hang the IIS, and I had to restart it. During these tests I couldn't get the 'unable to create java virtual machime' message. Previous Comments: ------------------------------------------------------------------------ [2002-09-09 09:54:46] kalowsky@php.net 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 Updating version. As I asked before though, can you test an "unstable" build of PHP, aka the code we are considering to be PHP 4.3.0 at the URLs provided above? ------------------------------------------------------------------------ [2002-09-09 07:32:23] nalves@equifax.com.br As soon as I knew about version 4.2.3, I got it and tried to see if the bug was fixed. Unfortunatelly, after few tests, I got the message 'PHP has encountered an Access Violation at 77FCB2B9'. So far I couldn't get the message 'Unable to create java virtual machine', but I didn't run a lot of tests. Also, after a few reloads at my test page, I couldn't get no more results (the request seemed to return nothing at all!). Other php pages that don't use the java lib still work fine. Nelio Pereira ------------------------------------------------------------------------ [2002-09-06 16:40:21] kalowsky@php.net 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 The only common thing I'm seeing about this is all cases happen on a Win32 machine. It seems the *NIX machines are not having this problem. I've tried to install this on a Win2k machine here, but it's being a bit more difficult than I'd like. Regardless, there have been a few bug fixes specific to Windows that might have corrected this. That and some more minor work on the ext/java extension. Take a test if you can please, and no 4.2.3 won't fix this. ------------------------------------------------------------------------ [2002-08-20 06:50:33] dk@webcluster.at We have tried it with Apache 1.3x - the same Problem. We now will switch to JSP - that module isn't stable enough at the moment. Yes - I know it's experimental. Maybe you should tell Zeev that he shouldn't mention the possibility to use Java with php in interviews as long the module is under heavy development. regards Daniel Khan ------------------------------------------------------------------------ [2002-08-16 10:10:07] nalves@equifax.com.br It's still buggy. As I said before, I ocasionally get errors in the middle of a request, like: Java version=1.4.0_01 Java vendor=Sun Microsystems Inc. OS=Windows 2000 5.0 on x86 Friday, August 16, 2002 at 11:04:16 AM GMT-03:00 System Properties at 1.02950665676E+012 awt.toolkit = 'sun.awt.windows.WToolkit' file.encoding = 'Cp1252' file.encoding.pkg = 'sun.io' file.separator = '' PHP has encountered an Access Violation at 01B53F4F Also, after some succesful requests, I got an Fatal error: Unable to create Java Virtual Machine in c:\inetpub\wwwroot\estatisticos\admin\java.php on line 3 Once again, my php.ini settings: java.class.path = "C:\PHP_latest\extensions\php_java.jar" java.home = "C:\j2sdk1.4.0_01\jre\" java.library = "C:\j2sdk1.4.0_01\jre\bin\server\jvm.dll" java.library.path = "C:\PHP_latest\extensions\" Nelio Pereira ------------------------------------------------------------------------ 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

« previous php.bugs (#18835) next »