Re: persistent java virtual machine under PHP

From: Date: Fri, 06 Dec 2002 17:05:04 +0000
Subject: Re: persistent java virtual machine under PHP
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-92172@lists.php.net to get a copy of this message
Tony J. White wrote:
After reviewing the thread, I think the problem you are experiencing is related to the fact that each instance of PHP is running a seperate JVM. It's not that the JVM is being destroyed. Therefore when you have apache running with say 5 httpd children, you will be running 5 seperate JVM's each with it's own environment. So if you tried to keep a Java variable active from request to request, it would disappear once your apache KeepAliveTimeout was up. Does that sound about right?
well, I traced it and _never_ saw a call to jvm_destroy() in the java extension code.

« previous php.dev (#92172) next »