stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Eppel (meppel)" <>
Subject Testing stratos 4.1: cartridge group deployment broken ? ... was ... RE: Validating the service group definition
Date Mon, 11 May 2015 22:00:47 GMT
Hi Reka,

Not sure if this is related but after I pulled the latest code from the master I fail to deploy
cartridge groups which used to work before, see exception [1.].

Please see attached log file and cartridge group definition (cartridge-group.json).

Latest commit:
commit 9fd334e748dc9da51554355c8ac046048829d8d0
Author: Imesh Gunaratne <>
Date:   Mon May 11 19:50:05 2015 +0530

See group deployment after line in log:
TID: [0] [STRATOS] [2015-05-11 21:40:18,991] DEBUG {org.apache.stratos.autoscaler.applications.ApplicationHolder}



[1.] Exception:

TID: [0] [STRATOS] [2015-05-11 21:40:51,221] DEBUG {}
-  subGroups:size3
TID: [0] [STRATOS] [2015-05-11 21:40:51,221] DEBUG {}
-  Dependenciesorg.apache.stratos.autoscaler.pojo.Dependencies@f2718ed
TID: [0] [STRATOS] [2015-05-11 21:40:51,232] ERROR {}
-  Could not add cartridge group
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at java.lang.Class.newInstance(
        at org.apache.stratos.autoscaler.stub.AutoscalerServiceStub.addServiceGroup(
        at org.apache.stratos.common.client.AutoscalerServiceClient.addServiceGroup(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
        at org.apache.cxf.transport.servlet.ServletController.invoke(

From: Reka Thirunavukkarasu []
Sent: Wednesday, May 06, 2015 5:48 AM
To: Vishanth Balasubramaniam
Cc: dev
Subject: Re: Validating the service group definition

Thanks Vishanth for fixing those issues. Will verify it and push it master..

On Wed, May 6, 2015 at 6:11 PM, Vishanth Balasubramaniam <<>>
Hi Devs,

I have added the validation when adding a service group to check the following

  *   duplicate cartridge name in the same group level
  *   duplicate group name in the same group level
  *   cyclic behaviour of groups, i.e. when a parent group name is given again in any of its
Please review and merge the pull request [1].

[1] -


Vishanth Balasubramaniam
Software Engineer
WSO2 Inc.;<>

mobile: +94771737718
about me:

Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:,
Mobile: +94776442007

View raw message