You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Vishanth Balasubramaniam <vi...@wso2.com> on 2015/05/11 14:28:48 UTC

Issue in undeploying a cartridge

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>*

Re: Issue in undeploying a cartridge

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
Hi,

Fixed the sample and sent a PR[1]. Please review and merge.

[1] - https://github.com/apache/stratos/pull/302

Regards,
Vishanth

On Tue, May 12, 2015 at 9:58 AM, Vishanth Balasubramaniam <
vishanthb@wso2.com> wrote:

> Sorry not when undeploying, its when deleting the application.
>
> On Tue, May 12, 2015 at 9:56 AM, Vishanth Balasubramaniam <
> vishanthb@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 <re...@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 <re...@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 <
>>>> vishanthb@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 <di...@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 <reka@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 <
>>>>>>> reka@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 <
>>>>>>>> vishanthb@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:dinithis@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>*
>
>


-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Re: Issue in undeploying a cartridge

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
Hi,

JIRA has been created to track this issue [1].

[1] - https://issues.apache.org/jira/browse/STRATOS-1400

Regards,
Vishanth

On Tue, May 12, 2015 at 8:03 PM, Vishanth Balasubramaniam <
vishanthb@wso2.com> wrote:

> Hi,
>
> There is an issue in removing a cartridge[2] in five-levels-nested-groups-app
> [1] sample applications.
> It could be reproduced by deploying the sample from deploy.sh and run
> undeploy.sh.
> It can be reproduced from the UI as well, by undeploying and removing the
> application and cartridge-groups and then when you remove the tomcat or esb
> cartridge in the application.
>
> [1] - samples/applications/nested/five-levels-nested-groups-app/
>
> [2] -
>
>> [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
>
> On Tue, May 12, 2015 at 10:07 AM, Shavindri Dissanayake <
> shavindri@wso2.com> wrote:
>
>> Hi Vishanth, Reka, Dinithi,
>>
>> When I was documenting the samples for wiki. I noticed the following
>> issues. The one that you faced was reproted as a JIRA too [1]. The rest are
>> as follows: (some of the samples might be removed now with he new structure)
>>
>>   [1] STRATOS-1276 <https://issues.apache.org/jira/browse/STRATOS-1276> Single
>> Cartridge Sample - depoly.sh  [2] STRATOS-1331
>> <https://issues.apache.org/jira/browse/STRATOS-1331> Wrong cartridge
>> type in undeploy.sh for Tomcat SSO sample  [3] STRATOS-1330
>> <https://issues.apache.org/jira/browse/STRATOS-1330> Wrong Application
>> ID in - undeploy.sh for Tomcat SSO sample  [4] STRATOS-1295
>> <https://issues.apache.org/jira/browse/STRATOS-1295> Wrong Kubernetes
>> Cluster JSON file name - single-group-v1 sample  [5] STRATOS-1307
>> <https://issues.apache.org/jira/browse/STRATOS-1307> Wrong cartridge
>> group JSON file name - More Complex app sample  [6] STRATOS-1304
>> <https://issues.apache.org/jira/browse/STRATOS-1304> Wrong application
>> ID in undeploy.sh - Dependant-scaling sample-cartridge  [7] STRATOS-1336
>> <https://issues.apache.org/jira/browse/STRATOS-1336> Rename sample
>> folder - esb-php-nested-with-esb-php-nested-with-mysql-php-app  [8]
>> STRATOS-1296 <https://issues.apache.org/jira/browse/STRATOS-1296> Single
>> group v1 sample - commands to remove network partition & deployment policy
>> excluded.  [9] STRATOS-1284
>> <https://issues.apache.org/jira/browse/STRATOS-1284> Single cartridge
>> sample - Adding domain mapping  [10] STRATOS-1309
>> <https://issues.apache.org/jira/browse/STRATOS-1309> Cartridge alias
>> repeated in the Application.JSON - More complex app sample  [11]
>> STRATOS-1171 <https://issues.apache.org/jira/browse/STRATOS-1171> Dependency
>> scaling with cartridges on OpenStack adds and deletes different cartridges
>> [12] STRATOS-1344 <https://issues.apache.org/jira/browse/STRATOS-1344> API
>> Path appearing as part of the output messafe - CLI command  [13]
>> STRATOS-1334 <https://issues.apache.org/jira/browse/STRATOS-1334> wrong
>> cartridge group removed - undeploy.sh - group-cartridges  [14]
>> STRATOS-1335 <https://issues.apache.org/jira/browse/STRATOS-1335> wrong
>> cartridge removed - undeploy.sh - group-cartridges
>>
>> Thanks & Regards
>> Shavindri Dissanayake
>> Technical Writer
>> LinkedIn Profile
>> <https://www.linkedin.com/profile/view?id=112227277&trk=nav_responsive_tab_profile>
>> Mob: 0779966739
>>
>> WSO2 Inc.
>> lean.enterprise.middleware
>>
>> On Tue, May 12, 2015 at 9:58 AM, Vishanth Balasubramaniam <
>> vishanthb@wso2.com> wrote:
>>
>>> Sorry not when undeploying, its when deleting the application.
>>>
>>> On Tue, May 12, 2015 at 9:56 AM, Vishanth Balasubramaniam <
>>> vishanthb@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 <re...@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 <re...@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 <
>>>>>> vishanthb@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 <dinithis@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 <
>>>>>>>> reka@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 <
>>>>>>>>> reka@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 <
>>>>>>>>>> vishanthb@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:dinithis@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>*
>>>
>>>
>>
>
>
> --
> *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>*

Re: Issue in undeploying a cartridge

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
Hi,

There is an issue in removing a cartridge[2] in five-levels-nested-groups-app
[1] sample applications.
It could be reproduced by deploying the sample from deploy.sh and run
undeploy.sh.
It can be reproduced from the UI as well, by undeploying and removing the
application and cartridge-groups and then when you remove the tomcat or esb
cartridge in the application.

[1] - samples/applications/nested/five-levels-nested-groups-app/

[2] -

> [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

On Tue, May 12, 2015 at 10:07 AM, Shavindri Dissanayake <sh...@wso2.com>
wrote:

> Hi Vishanth, Reka, Dinithi,
>
> When I was documenting the samples for wiki. I noticed the following
> issues. The one that you faced was reproted as a JIRA too [1]. The rest are
> as follows: (some of the samples might be removed now with he new structure)
>
>   [1] STRATOS-1276 <https://issues.apache.org/jira/browse/STRATOS-1276> Single
> Cartridge Sample - depoly.sh  [2] STRATOS-1331
> <https://issues.apache.org/jira/browse/STRATOS-1331> Wrong cartridge type
> in undeploy.sh for Tomcat SSO sample  [3] STRATOS-1330
> <https://issues.apache.org/jira/browse/STRATOS-1330> Wrong Application ID
> in - undeploy.sh for Tomcat SSO sample  [4] STRATOS-1295
> <https://issues.apache.org/jira/browse/STRATOS-1295> Wrong Kubernetes
> Cluster JSON file name - single-group-v1 sample  [5] STRATOS-1307
> <https://issues.apache.org/jira/browse/STRATOS-1307> Wrong cartridge
> group JSON file name - More Complex app sample  [6] STRATOS-1304
> <https://issues.apache.org/jira/browse/STRATOS-1304> Wrong application ID
> in undeploy.sh - Dependant-scaling sample-cartridge  [7] STRATOS-1336
> <https://issues.apache.org/jira/browse/STRATOS-1336> Rename sample folder
> - esb-php-nested-with-esb-php-nested-with-mysql-php-app  [8] STRATOS-1296
> <https://issues.apache.org/jira/browse/STRATOS-1296> Single group v1
> sample - commands to remove network partition & deployment policy excluded.
> [9] STRATOS-1284 <https://issues.apache.org/jira/browse/STRATOS-1284> Single
> cartridge sample - Adding domain mapping  [10] STRATOS-1309
> <https://issues.apache.org/jira/browse/STRATOS-1309> Cartridge alias
> repeated in the Application.JSON - More complex app sample  [11]
> STRATOS-1171 <https://issues.apache.org/jira/browse/STRATOS-1171> Dependency
> scaling with cartridges on OpenStack adds and deletes different cartridges
> [12] STRATOS-1344 <https://issues.apache.org/jira/browse/STRATOS-1344> API
> Path appearing as part of the output messafe - CLI command  [13]
> STRATOS-1334 <https://issues.apache.org/jira/browse/STRATOS-1334> wrong
> cartridge group removed - undeploy.sh - group-cartridges  [14]
> STRATOS-1335 <https://issues.apache.org/jira/browse/STRATOS-1335> wrong
> cartridge removed - undeploy.sh - group-cartridges
>
> Thanks & Regards
> Shavindri Dissanayake
> Technical Writer
> LinkedIn Profile
> <https://www.linkedin.com/profile/view?id=112227277&trk=nav_responsive_tab_profile>
> Mob: 0779966739
>
> WSO2 Inc.
> lean.enterprise.middleware
>
> On Tue, May 12, 2015 at 9:58 AM, Vishanth Balasubramaniam <
> vishanthb@wso2.com> wrote:
>
>> Sorry not when undeploying, its when deleting the application.
>>
>> On Tue, May 12, 2015 at 9:56 AM, Vishanth Balasubramaniam <
>> vishanthb@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 <re...@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 <re...@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 <
>>>>> vishanthb@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 <di...@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 <
>>>>>>> reka@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 <
>>>>>>>> reka@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 <
>>>>>>>>> vishanthb@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:dinithis@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>*
>>
>>
>


-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Re: Issue in undeploying a cartridge

Posted by Shavindri Dissanayake <sh...@wso2.com>.
Hi Vishanth, Reka, Dinithi,

When I was documenting the samples for wiki. I noticed the following
issues. The one that you faced was reproted as a JIRA too [1]. The rest are
as follows: (some of the samples might be removed now with he new structure)

  [1] STRATOS-1276 <https://issues.apache.org/jira/browse/STRATOS-1276> Single
Cartridge Sample - depoly.sh  [2] STRATOS-1331
<https://issues.apache.org/jira/browse/STRATOS-1331> Wrong cartridge type
in undeploy.sh for Tomcat SSO sample  [3] STRATOS-1330
<https://issues.apache.org/jira/browse/STRATOS-1330> Wrong Application ID
in - undeploy.sh for Tomcat SSO sample  [4] STRATOS-1295
<https://issues.apache.org/jira/browse/STRATOS-1295> Wrong Kubernetes
Cluster JSON file name - single-group-v1 sample  [5] STRATOS-1307
<https://issues.apache.org/jira/browse/STRATOS-1307> Wrong cartridge group
JSON file name - More Complex app sample  [6] STRATOS-1304
<https://issues.apache.org/jira/browse/STRATOS-1304> Wrong application ID
in undeploy.sh - Dependant-scaling sample-cartridge  [7] STRATOS-1336
<https://issues.apache.org/jira/browse/STRATOS-1336> Rename sample folder -
esb-php-nested-with-esb-php-nested-with-mysql-php-app  [8] STRATOS-1296
<https://issues.apache.org/jira/browse/STRATOS-1296> Single group v1 sample
- commands to remove network partition & deployment policy excluded.  [9]
STRATOS-1284 <https://issues.apache.org/jira/browse/STRATOS-1284> Single
cartridge sample - Adding domain mapping  [10] STRATOS-1309
<https://issues.apache.org/jira/browse/STRATOS-1309> Cartridge alias
repeated in the Application.JSON - More complex app sample  [11]
STRATOS-1171 <https://issues.apache.org/jira/browse/STRATOS-1171> Dependency
scaling with cartridges on OpenStack adds and deletes different cartridges
[12] STRATOS-1344 <https://issues.apache.org/jira/browse/STRATOS-1344> API
Path appearing as part of the output messafe - CLI command  [13]
STRATOS-1334 <https://issues.apache.org/jira/browse/STRATOS-1334> wrong
cartridge group removed - undeploy.sh - group-cartridges  [14] STRATOS-1335
<https://issues.apache.org/jira/browse/STRATOS-1335> wrong cartridge
removed - undeploy.sh - group-cartridges

Thanks & Regards
Shavindri Dissanayake
Technical Writer
LinkedIn Profile
<https://www.linkedin.com/profile/view?id=112227277&trk=nav_responsive_tab_profile>
Mob: 0779966739

WSO2 Inc.
lean.enterprise.middleware

On Tue, May 12, 2015 at 9:58 AM, Vishanth Balasubramaniam <
vishanthb@wso2.com> wrote:

> Sorry not when undeploying, its when deleting the application.
>
> On Tue, May 12, 2015 at 9:56 AM, Vishanth Balasubramaniam <
> vishanthb@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 <re...@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 <re...@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 <
>>>> vishanthb@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 <di...@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 <reka@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 <
>>>>>>> reka@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 <
>>>>>>>> vishanthb@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:dinithis@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>*
>
>

Re: Issue in undeploying a cartridge

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
Sorry not when undeploying, its when deleting the application.

On Tue, May 12, 2015 at 9:56 AM, Vishanth Balasubramaniam <
vishanthb@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 <re...@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 <re...@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 <
>>> vishanthb@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 <di...@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 <re...@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 <reka@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 <
>>>>>>> vishanthb@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:dinithis@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>*

Re: Issue in undeploying a cartridge

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
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 <re...@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 <re...@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 <
>> vishanthb@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 <di...@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 <re...@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 <re...@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 <
>>>>>> vishanthb@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:dinithis@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>*

Re: Issue in undeploying a cartridge

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
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 <re...@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 <
> vishanthb@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 <di...@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 <re...@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 <re...@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 <
>>>>> vishanthb@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:dinithis@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

Re: Issue in undeploying a cartridge

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
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 <
vishanthb@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 <di...@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 <re...@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 <re...@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 <
>>>> vishanthb@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:dinithis@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

Re: Issue in undeploying a cartridge

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
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 <di...@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 <re...@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 <re...@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 <
>>> vishanthb@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:dinithis@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>*

Re: Issue in undeploying a cartridge

Posted by Dinithi De Silva <di...@wso2.com>.
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 <re...@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 <re...@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 <
>> vishanthb@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:dinithis@wso2.com | w: www.wso2.com
| a: #20, Palm Grove, Colombo 03

Re: Issue in undeploying a cartridge

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
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 <re...@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 <
> vishanthb@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

Re: Issue in undeploying a cartridge

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
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 <
vishanthb@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