php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13301 no new process when using JVM
Submitted: 2001-09-14 08:00 UTC Modified: 2002-04-09 00:00 UTC
From: lgv at altern dot org Assigned:
Status: No Feedback Package: Java related
PHP Version: 4.0.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lgv at altern dot org
New email:
PHP Version: OS:

 

 [2001-09-14 08:00 UTC] lgv at altern dot org
I have jdk-1.2.2-FCS, with php-4.0.5, on a Linux system
i have configure with --with-java --enable-sockets --with-mysql

java work perfectly (i have just to load manually the module)

when i have loaded libphp_java.so, i can use popen(),
exec(), passthru(), etc.
But when i have used a java object (when the JVM is
launched) i cannot use them.

ex :
  $str = new Java("java.lang.String");
works

  $fp = popen("ls","r");
  while ($s=fgets($fp,1024)) {
    echo $s;
  }
works

but both, they do not work

there is 4 process, one is waiting for io (D), another
became a zombie(Z), another is killed and the last one is
sleeping (S).

I have tried to use this by java :
java.lang.Runtime.getRuntime().exec()
but it makes the same bug

but i will use a server with socket connection. Im sure it
will works.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-24 06:13 UTC] yohgaki@php.net
Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.
 [2002-04-09 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 30 06:01:22 2020 UTC