#18600 [Com]: Unable to create Java Virtual Machine
From: hfuecks at pinkgobiln dot com Date: Sat, 21 Sep 2002 17:56:22 +0000 Subject: #18600 [Com]: Unable to create Java Virtual Machine References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-20003@lists.php.net to get a copy of this message
ID: 18600
Comment by: hfuecks@pinkgobiln.com
Reported By: nalves@equifax.com.br
Status: Open
Bug Type: Java related
Operating System: Windows 2000
PHP Version: 4.2.3
New Comment:
Experiencing very similar problems to the first posted here - looks
like some kind of timeout issue.
Running Windows XP, PHP 4.2.2, j2sdk1.4.0_02, Apache/1.3.26
Running the first sample PHP/Java script from the manual, PHP
successfully loads the Java Virtual machine straight after an Apache
restart. After that I can run the script as long as it was run in
roughly the last 30-60 seconds. If I wait longer that this time period,
the script can no longer load the JVM.
If you want to re-create the PHP environment, I'm using Firepages
phpdev5: http://www.firepages.com.au/dev5.htm
ini settings;
[Java]
java.class.path =
"c:\phpdev5\php\extensions\php_java.jar;c:\phpdev5\classes"
java.home = "C:\Programme\Java\j2sdk1.4.0_02\jre"
java.library =
"C:\Programme\Java\j2sdk1.4.0_02\jre\bin\server\jvm.dll"
java.library.path = "c:\phpdev5\php\extensions"
Previous Comments:
------------------------------------------------------------------------
[2002-09-09 14:50:46] nalves@equifax.com.br
Yes, it's PHP. The message shown is similar to 'PHP has encountered an
Access Violation at 77FCB2B9'.
Nelio
------------------------------------------------------------------------
[2002-09-09 14:17:35] kalowsky@php.net
Well thats a good step, we got rid of one of the errors. The access
violation though doesn't sound good. Is it still PHP doing the
violation or is it the JDK?
------------------------------------------------------------------------
[2002-09-09 13:36:36] nalves@equifax.com.br
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.
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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
Thread (60 messages)
- #18600 [Open]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Opn->Fbk]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Fbk]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Fbk->Opn]: Unable to create Java Virtual Machine
- #18600 [Opn->Fbk]: Unable to create Java Virtual Machine
- #18600 [Fbk->Opn]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Opn->Fbk]: Unable to create Java Virtual Machine
- #18600 [Fbk->Opn]: Unable to create Java Virtual Machine
- #18600 [Opn->Fbk]: Unable to create Java Virtual Machine
- #18600 [Fbk->Opn]: Unable to create Java Virtual Machine
- #18600 [Opn->Fbk]: Unable to create Java Virtual Machine
- #18600 [Fbk->Opn]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Opn]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Opn->Fbk]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Fbk->Csd]: Unable to create Java Virtual Machine
- #18600 [Csd->Opn]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Opn->Bgs]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
- #18600 [Com]: Unable to create Java Virtual Machine
| « previous | php.bugs (#20003) | next » |
|---|