What is the application sever you are using ? Thanks Deepal
Eichler, Wolfgang wrote: > Hi Charitha, > > I could also see such changes in effect as you describe. > > What I did more precisely: > > 1. Change in StockQuoteService.java: > > public class StockQuoteService { > private HashMap map = new HashMap(); > > public double getPrice(String symbol) { > Double price = (Double) map.get(symbol); > if(price != null){ > return price.doubleValue(); > } > return 42.00; > } > > to > > ... > return 43.00; > } > > 2. Compile to *.class > > 3. modify *.aar (using 7-zip) : replace the StockQuoteService.class > > So I don't change the name of some method but only the code. This does > not work in my environment, unless restart of axis2. > > Thanks and regards > Wolfgang > > -----Original Message----- > From: Charitha Kankanamge [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 05, 2007 09:34 > To: axis-user@ws.apache.org > Subject: Re: get hotupdate not to work (Windows) > > Hi Eicher, > You should be able to add an updated *.class in to *.aar and see the > update through Axis2 administration page. I updated a method name in a > service implementation class, added the updated class in to service > archive, and observed the updated method name through Axis2 admin page > without restarting tomcat. Hence," Hotupdate" feature suppots these > modifications. > > regards > Charitha > > Eichler, Wolfgang wrote: > > >> Hello Charitha, >> >> I could verify the update of service.xml as you described. >> >> I tried to get an update of some *.class file inside the *.aar, >> realizing the service: >> ...\build\classes\samples\quickstart\service\pojo\StockQuoteService.cla >> > s > >> s >> This is probably beyond the "Hotupdate" feature? >> >> Thanks and regards >> Wolfgang >> >> >> -----Original Message----- >> From: Charitha Kankanamge [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, September 05, 2007 03:40 >> To: axis-user@ws.apache.org >> Subject: Re: get hotupdate not to work (Windows) >> >> Hello Eicher, >> Hotupdate works properly with axis2-1.3. I just tried with axis2-1.3 >> installed on tomcat 6.0.10/Windows XP. Please go through the following >> steps to identify your problem and let us know if you experience the >> same issue again. >> >> - Edit /conf/axis2.xml by setting <parameter name="hotupdate" >> >>> true</parameter> >>> >> - Restart tomcat >> - Deploy a service >> - Go to http://localhost:8080/axis2/axis2-admin/listService page. You >> can see the deployed service there >> - Now update some property in services.xml in your service archive. >> (Update a service level parameter in the services.xml, if you are using >> > > >> winrar, you can update the files inside *.aar without extracting the >> archive) >> - Go to http://localhost:8080/axis2/axis2-admin/selectServiceParaEdit >> page, select your service from the drop down >> - You should be able to see the updated parameters >> >> Thanks and regards >> Charitha >> >> Eichler, Wolfgang wrote: >> >> >> >> >>> I set in config/axis2.xml: >>> <parameter name="hotupdate" >true</parameter> >>> >>> http://localhost:8080/axis2/axis2-admin/upload shows: >>> Hot update of existing service archives is enabled >>> >>> But if I copy a new *.aar file, the service is not updated >>> automatically. I have to use >>> http://localhost:8080/manager/html/reload?path=/axis2 >>> to reload. >>> >>> This is on Windows using Tomcat 6.0.14, Axis2-1.3 >>> Any hints? >>> >>> Thanks and apologize for the newbee question ... >>> >>> Wolfgang Eichler >>> >>> --------------------------------------------------------------------- >>> 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] >> >> >> >> --------------------------------------------------------------------- >> 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]