Re: persistent java virtual machine under PHP
| From: | Tony J. White | Date: | Fri, 06 Dec 2002 16:06:17 +0000 |
| Subject: | Re: persistent java virtual machine under PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92166@lists.php.net to get a copy of this message | ||
> This is contrary to my experiences. But we have discussed this earlier
> today.
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?
-Tony