You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "donald yang (JIRA)" <ji...@apache.org> on 2007/03/29 16:59:25 UTC
[jira] Resolved: (AXIS2-2435) Hot update web services that load
native library.
[ https://issues.apache.org/jira/browse/AXIS2-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
donald yang resolved AXIS2-2435.
--------------------------------
Resolution: Fixed
see attached java file
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org