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
> 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 ap
Tony J. White wrote:
Once loaded the JVM remains loaded by the PHP process. When php scripts
finish or variables are unset() DeleteLocalRef() is called on the JVM to
allow the JVM to garbage collect unused resources, but the JVM remains
running.
This is contrary to my experiences. But we have d
On Thu, 5 Dec 2002, [ISO-8859-2] Maróy Ákos wrote:
> > Actually, the JVM is unloaded by php. In the latest CVS the code from
>
> I see. But if you dlclose()-it, what happens to open resources, like
> open file descriptors, network sockets, etc? It seems to be a crude way
> of unloading the JVM..
Tony J. White wrote:
Actually, the JVM is unloaded by php. In the latest CVS the code from
destroy_jvm() has been removed that tried to dlclose() the JVM. This was
done because it is impossible to dlclose() a JVM because DestroyJavaVM()
is broken in all JNI implementations.
I see. But if you d
On Wed, 4 Dec 2002, [ISO-8859-2] Maróy Ákos wrote:
> What happens is that the function jvm_create() gets called regularly
> when requesting new pages using the Java extension, from the function
> java_call_function_handler():
>
>if (!JG(jenv)) jvm_create(TSRMLS_C);
Actually, the JVM is unload
Hi,
I'm trying to use the PHP / Java integration (the module in ext/java).
My problem is that the Java Virtual Machine is thrown out regularly by
the PHP engine.
What happens is that the function jvm_create() gets called regularly
when requesting new pages using the Java extension, from the fu