Hot update web services that load native library.
-------------------------------------------------
Key: AXIS2-2435
URL: https://issues.apache.org/jira/browse/AXIS2-2435
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.1.1
Reporter: donald yang
Attachments: DeploymentEngine.java
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(see attachment) and what I have changed is to add
System.gc() twice at end of the method unDeploy()(Line number 681 and 682).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]