Re: get hotupdate not to work (Windows)]
Charitha , I did the following and it worked fine Step 1 : Created a service class as below and deploy it to tomcat (5) public class EchoService { public String sayHello() { return "Hello World!!!"; } } Type the following in the browser http://localhost:8080/axis2/services/EchoService/sayHello got the result Hello World!!! Step 2 : Do the changes as shown below and redeploy public class EchoService { public String sayHello() { return "Hello Axis2!!!"; } } And got the following > > Hello Axis2!!! > FYI I have hosted in [http://people.apache.org/~deepal/axis2/hotupdatebug/] both the service aar files , you may try and see whether it works Thanks Deepal > Hi Eicher, > Yes. I observed the same issue with the scenario you mentioned. > However, I'm not sure about the scope of "Hotupdate". Anyway it will > be great if you can report an issue in Axis2 bugs tracking system [1], > so that the developers will resolve if there is a bug in hotupdate > feature. > > [1]http://issues.apache.org/jira/browse/AXIS2 > > regards > Charitha > > 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 >> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: get hotupdate not to work (Windows)
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 > >>> 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: [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]
Re: get hotupdate not to work (Windows)
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.clas > s > This is probably beyond the "Hotupdate" feature? > no it is not , if you do any changes to services archive file that can be consider as hotupdate. Thanks Deepal > - > 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]
Re: get hotupdate not to work (Windows)
Hi Eicher, Yes. I observed the same issue with the scenario you mentioned. However, I'm not sure about the scope of "Hotupdate". Anyway it will be great if you can report an issue in Axis2 bugs tracking system [1], so that the developers will resolve if there is a bug in hotupdate feature. [1]http://issues.apache.org/jira/browse/AXIS2 regards Charitha 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 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: [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] - 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: get hotupdate not to work (Windows)
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 >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: [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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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.clas 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 >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: [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]
RE: get hotupdate not to work (Windows)
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.clas 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 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: [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]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]