|
From: Jost B. <jos...@ya...> - 2005-07-09 13:35:10
|
Hi,
I think Kai Londenberg's new DynamicClassLoader detects if a .jar file must be re-loaded.
In any case, the version 2.0.7 (which is currently available as 2.0.7pre3) has a java_reset() primitive which resets the backend. Please see the tests.php4/reset.php for details.
If you really want to stop the backend:
$sys = new Java("java.lang.System");
$sys->exit(0);
The above code doesn't work if you have deployed the JavaBridge.war into your application server. In this it should be possible to re-start the servlet via some AS specific admin interface.
Regards,
Jost Boekemeier
---------------------------------
Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher |