Bug #13301: no new process when using JVM
| From: | lgv at altern dot org | Date: | Fri, 14 Sep 2001 12:00:46 +0000 |
| Subject: | Bug #13301: no new process when using JVM | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65928@lists.php.net to get a copy of this message | ||
From: lgv@altern.org
Operating system: Linux
PHP version: 4.0.5
PHP Bug Type: Java related
Bug description: no new process when using JVM
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.
--
Edit bug report at: http://bugs.php.net/?id=13301&edit=1