Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 4015 invoked from network); 6 Sep 2007 07:28:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 07:28:05 -0000 Received: (qmail 83352 invoked by uid 500); 6 Sep 2007 07:27:52 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 83342 invoked by uid 500); 6 Sep 2007 07:27:52 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 83331 invoked by uid 99); 6 Sep 2007 07:27:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 00:27:52 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Sep 2007 07:27:48 +0000 Received: (qmail 71496 invoked from network); 6 Sep 2007 07:27:26 -0000 Received: from unknown (HELO ?127.0.0.1?) (unknown) by unknown with SMTP; 6 Sep 2007 07:27:26 -0000 X-pair-Authenticated: 222.165.132.170 Message-ID: <46DFABDC.3070809@opensource.lk> Date: Thu, 06 Sep 2007 12:57:24 +0530 From: Deepal Jayasinghe User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: get hotupdate not to work (Windows) References: In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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:charitha@wso2.com] > 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:charitha@wso2.com] >> 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 > >>> true >>> >> - 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: >>> true >>> >>> 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: axis-user-unsubscribe@ws.apache.org >>> For additional commands, e-mail: axis-user-help@ws.apache.org >>> >>> >>> >>> >>> >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-user-help@ws.apache.org >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-user-help@ws.apache.org >> >> >> >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org