Re: Re: hot update problem
Thanks for the reply Deepal.Oct 29, 2008 01:46:02 PM, axis-user@ws.apache.org wrote:> When I copy my new aar file into the services directory, my log> statements confirm that the new Web Service class is being loaded by> a new DeploymentClassLoader.>> However, the previous verion of the class still exists in its> DeploymentClassLoader and is still servicing client requests, the hot> update hasn't worked.>> What am I doing wrong? My service is "application" scopedYes this is a know issues in application scope , this worked before nowit is not. So we will fix the issues before the next release.Deepal> .>> Rgds,> David.-> To unsubscribe, e-mail: [EMAIL PROTECTED] For> additional commands, e-mail: [EMAIL PROTECTED] -- Thank you!http://blogs.deepal.org-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hot update problem
> When I copy my new aar file into the services directory, my log > statements confirm that the new Web Service class is being loaded by > a new DeploymentClassLoader. > > However, the previous verion of the class still exists in its > DeploymentClassLoader and is still servicing client requests, the hot > update hasn't worked. > > What am I doing wrong? My service is "application" scoped Yes this is a know issues in application scope , this worked before now it is not. So we will fix the issues before the next release. Deepal > . > > Rgds, > David.- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] -- Thank you! http://blogs.deepal.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
hot update problem
When I copy my new aar file into the services directory, my log statements confirm that the new Web Service class is being loaded bya new DeploymentClassLoader.However, the previous verion of the class still exists in its DeploymentClassLoader and is still servicing client requests, the hot update hasn't worked.What am I doing wrong? My service is "application" scoped.Rgds,David. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis2 Hot update problem and unload native dll problem
Yong, This is a Java limitation, nothing to do with Axis2. does the code work as expected when you *don't* load the system dll? thanks, dims On 1/15/07, Yong Yang <[EMAIL PROTECTED]> wrote: Hi, It seems AXIS2 hot update does not work. I have enable hotupdate by chnaging the value of parameter, hotupdate, to true in the axis2.xml. I am also seeing that org.apache.axis2.deployment.DeploymentEngine first undeploy and then deploy the web service when I copy the updated .aar into services dirtory. But I still access the old version web service, not latest version web service. If I restart the web server or stop axis2 and restart axis2 using application server adminstartion console, I can access the lastest web service. The environment fot the test experiments is as follows: AXIS2 : 1.1.1 web server: Tomcat If my web service will load native dll using Java API System.load or System.loadLibrary, the dll is still in memory when I undeploy the web service. If I redeploy the web service or update the web service, there is an error message that the dll has been loaded by another class loader. This results that the web service is crashed. To solve the problem, I have to restart JVM(restart web server). Is there any possible solution to unload the dll when the web service is undeployed without restarting web server. many thanks in advance. best regards yong - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis2 Hot update problem and unload native dll problem
Hi, It seems AXIS2 hot update does not work. I have enable hotupdate by chnaging the value of parameter, hotupdate, to true in the axis2.xml. I am also seeing that org.apache.axis2.deployment.DeploymentEngine first undeploy and then deploy the web service when I copy the updated .aar into services dirtory. But I still access the old version web service, not latest version web service. If I restart the web server or stop axis2 and restart axis2 using application server adminstartion console, I can access the lastest web service. The environment fot the test experiments is as follows: AXIS2 : 1.1.1 web server: Tomcat If my web service will load native dll using Java API System.load or System.loadLibrary, the dll is still in memory when I undeploy the web service. If I redeploy the web service or update the web service, there is an error message that the dll has been loaded by another class loader. This results that the web service is crashed. To solve the problem, I have to restart JVM(restart web server). Is there any possible solution to unload the dll when the web service is undeployed without restarting web server. many thanks in advance. best regards yong - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]