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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
29 - 21 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC