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

From: Date: Wed, 14 Aug 2002 14:17:56 +0000
Subject: #18600 [Opn]: Unable to create Java Virtual Machine
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16770@lists.php.net to get a copy of this message
 ID:               18600
 Updated by:       chregu@php.net
 Reported By:      nalves@equifax.com.br
 Status:           Open
 Bug Type:         Java related
 Operating System: Windows 2000
 PHP Version:      4.2.2
 New Comment:

Update:

jdk 1.3.1 does also not work with sablotron. It's 1.2, which has no
problems...
see http://bugs.php.net/bug.php?id=13344
for more about that

chregu


Previous Comments:
------------------------------------------------------------------------

[2002-08-14 09:47:42] dk@webcluster.at

We don't use sablotron here too.

The script is about 20 lines long and only interfaces to a SDK
implemented in Java. The Java part does some complicated image
texturizing tasks. The php part only calls the apropriate methods.

We use apache 2 here and now I had the idea to simply change the max
request per child value. Now the questions are:
Would it make a difference to use apache 1.x ?
As I know now the change of the java module is a little tricky, but
does someone know what causes the error.
As I use this box only for exactly this one task I am flexible with the
environment.
And if you say that the problem can be minimized by change the child
lifetime I am very flexible with that.
As a restart of apache solves the problem this may be an issue.

------------------------------------------------------------------------

[2002-08-14 08:57:09] nalves@equifax.com.br

What is Sablotron? I´m not using it... I'm running PHP on Win2K + IIS,
ISAPI version.

------------------------------------------------------------------------

[2002-08-14 08:44:38] chregu@php.net

Hi 

Do you use Sablotron? Does it work without it?

I know from my experience under Linux, that ext/java with jdk1.4 and
Sablotron doesn't work. But jdk 1.3 does fine.

chregu

------------------------------------------------------------------------

[2002-07-29 11:07:14] nalves@equifax.com.br

Also, I noticed that before reporting the message 'Unable to Create
Java Virtual Machine', I get an error saying something like 'PHP found
a violation access at <ADDRESS>'. After that I only get errors. I don't
know if before every virtual machine error there is an error like this.

------------------------------------------------------------------------

[2002-07-29 09:10:57] nalves@equifax.com.br

False alarm! I just got 'Unable to create Java Virtual Machine'
executing the first example that is in the docs... 
afterwards I got periods of errors and periods of success!

Definitively there's something wrong. Ideas?

------------------------------------------------------------------------

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)

« previous php.bugs (#16770) next »