Sorry not when undeploying, its when deleting the application. On Tue, May 12, 2015 at 9:56 AM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote:
> Hi Reka/Dinithi, > > The application id we passed when undeploying the application is wrong in > the undeploy.sh in "tomcat-single-signon" sample. Thats the reason for this > issue. I'll fix the sample. > > Thank you, > Vishanth > > > On Mon, May 11, 2015 at 7:02 PM, Reka Thirunavukkarasu <r...@wso2.com> > wrote: > >> Hi Vishanth/DInithi, >> >> I also got the same issue when checking on tomcat-single-signon. Seems >> some reference to applicaiton didn't get removed properly. >> >> Thanks, >> Reka >> >> On Mon, May 11, 2015 at 6:49 PM, Reka Thirunavukkarasu <r...@wso2.com> >> wrote: >> >>> Hi Vishanth, >>> >>> Will check that sample. I have tested five-levels-nested-groups-app and >>> it worked fine.. >>> >>> Thanks, >>> Reka >>> >>> On Mon, May 11, 2015 at 6:45 PM, Vishanth Balasubramaniam < >>> vishan...@wso2.com> wrote: >>> >>>> Hi Reka, >>>> >>>> I deployed "tomcat-single-signon" using the deploy script in the >>>> mock-iaas and undeployed using the undeploy script. >>>> >>>> Attached the log when running the undeploy script. >>>> >>>> Regards, >>>> Vishanth >>>> >>>> On Mon, May 11, 2015 at 6:37 PM, Dinithi De Silva <dinit...@wso2.com> >>>> wrote: >>>> >>>>> Hi Vishanth, >>>>> >>>>> I got the same problem when trying to undeploy "tomcat-single-signon" >>>>> application using undeploy.sh script. Did you also try with the same way? >>>>> >>>>> Thanks. >>>>> >>>>> On Mon, May 11, 2015 at 6:15 PM, Reka Thirunavukkarasu <r...@wso2.com> >>>>> wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> I have just tried with that sample and Deployment and undeployment >>>>>> are working as expected. Can you please try again and see or can you >>>>>> share >>>>>> the steps that you are trying? >>>>>> >>>>>> Thanks, >>>>>> Reka >>>>>> >>>>>> On Mon, May 11, 2015 at 6:09 PM, Reka Thirunavukkarasu <r...@wso2.com >>>>>> > wrote: >>>>>> >>>>>>> Hi Vishanth, >>>>>>> >>>>>>> Can you please attach the Complete log for the deployment and >>>>>>> undeployment? >>>>>>> >>>>>>> Thanks, >>>>>>> Reka >>>>>>> >>>>>>> On Mon, May 11, 2015 at 5:58 PM, Vishanth Balasubramaniam < >>>>>>> vishan...@wso2.com> wrote: >>>>>>> >>>>>>>> Hi Devs, >>>>>>>> >>>>>>>> While testing the sample application I identified that there is an >>>>>>>> issue in undeploying a cartridge when a cartridge-group has more than 1 >>>>>>>> cartridge. As you can see in the provided error log [3]. >>>>>>>> >>>>>>>> Will be able to reproduce by deploying the tomcat-single-signon [1] >>>>>>>> or five-levels-nested-groups-app [2] sample applications. >>>>>>>> >>>>>>>> [1] - samples/applications/complex/tomcat-single-signon/ >>>>>>>> [2] - samples/applications/nested/five-levels-nested-groups-app/ >>>>>>>> >>>>>>>> [3] - >>>>>>>> >>>>>>>>> [2015-05-11 17:55:43,648] ERROR >>>>>>>>> {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Cannot >>>>>>>>> remove >>>>>>>>> cartridge : [cartridge-type] esb since it is used in another cartridge >>>>>>>>> group or an application >>>>>>>>> [2015-05-11 17:55:43,650] ERROR >>>>>>>>> {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Could not >>>>>>>>> remove cartridge Cannot remove cartridge : [cartridge-type] esb since >>>>>>>>> it is >>>>>>>>> used in another cartridge group or an application >>>>>>>>> org.apache.stratos.rest.endpoint.exception.RestAPIException: >>>>>>>>> Cannot remove cartridge : [cartridge-type] esb since it is used in >>>>>>>>> another >>>>>>>>> cartridge group or an application >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Regards, >>>>>>>> Vishanth >>>>>>>> >>>>>>>> -- >>>>>>>> *Vishanth Balasubramaniam* >>>>>>>> Software Engineer >>>>>>>> WSO2 Inc.; http://wso2.com >>>>>>>> lean.enterprise.middleware >>>>>>>> >>>>>>>> mobile: *+94771737718* >>>>>>>> about me: *http://about.me/vishanth <http://about.me/vishanth>* >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Reka Thirunavukkarasu >>>>>>> Senior Software Engineer, >>>>>>> WSO2, Inc.:http://wso2.com, >>>>>>> Mobile: +94776442007 >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Reka Thirunavukkarasu >>>>>> Senior Software Engineer, >>>>>> WSO2, Inc.:http://wso2.com, >>>>>> Mobile: +94776442007 >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Dinithi De Silva* >>>>> Associate Software Engineer, WSO2 Inc. >>>>> m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com >>>>> | a: #20, Palm Grove, Colombo 03 >>>>> >>>> >>>> >>>> >>>> -- >>>> *Vishanth Balasubramaniam* >>>> Software Engineer >>>> WSO2 Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> mobile: *+94771737718* >>>> about me: *http://about.me/vishanth <http://about.me/vishanth>* >>>> >>>> >>> >>> >>> -- >>> Reka Thirunavukkarasu >>> Senior Software Engineer, >>> WSO2, Inc.:http://wso2.com, >>> Mobile: +94776442007 >>> >>> >>> >> >> >> -- >> Reka Thirunavukkarasu >> Senior Software Engineer, >> WSO2, Inc.:http://wso2.com, >> Mobile: +94776442007 >> >> >> > > > -- > *Vishanth Balasubramaniam* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: *+94771737718* > about me: *http://about.me/vishanth <http://about.me/vishanth>* > > -- *Vishanth Balasubramaniam* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94771737718* about me: *http://about.me/vishanth <http://about.me/vishanth>*