donald yang schrieb:

1. Hot update web services that load native library.
When you develop web services as a wrapper of native library(e.g., .dll or .so library), you can NOT hot update the web service as JVM will tell you that the dll has been loaded. The simple solution is to force JVM run garbage collector. So I updated *DeploymentEngine.java *and what I have changed is to add System.gc() twice at end of the method *unDeploy()*(Line number 681 and 682).

Hmm, you cannot *force* the JVM to run the garbage collector. Even if your solution might run for you I suspect that it does not guarantee this behavior.

See for example http://www.jguru.com/faq/view.jsp?EID=13932

Cheers,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to