Hi,

We did the following changes in order to rectify the above changes:


   - product-es:
   
https://github.com/wso2-dev/product-es/commit/0be72ac3a88356225161056791e2f90a5a1276da
      - Changed the version of the carbon module to 1.2.0-SNAPSHOT in order
      to pick the changes done in the commit below
      - jaggery-extensions:
   
https://github.com/wso2/jaggery-extensions/commit/304c9982aa0a6a46a5cd3745fd1b646781b126a3
      - Modified all lifecycle operations in the artifact.js to invoke the
      GovernanceArtifact methods with the name of the lifecycle
      - This is done to adopt to the changes to the Governance API which
      allow multiple lifecycles
      - In order to provide support for multiple lifecycles in the carbon
      module we will need to refactor all methods to accept an
optional lifecycle
      attribute.Currently the default lifecycle is picked up

*Important*

   - This fix also requires renaming the configuration.xml file found under
   repository/resources/lifecycles to ServiceLifeCycle.xml
   - The above file is picked up from from the carbon-core feature (The
   file needs to be renamed in the component)

Thank You,
Sameera

On Sat, Jan 17, 2015 at 12:25 AM, Shazni Nazeer <sha...@wso2.com> wrote:

> Hi all,
>
> We (SameeraM and me) did some changes to governance api and some related
> changes to jaggery extension to work with the changed governance api. Now
> all the issues encountered above are sorted.
>
> Shazni Nazeer
>
> Senior Software Engineer
>
> Mob : +94 777737331
> LinkedIn : http://lk.linkedin.com/in/shazninazeer
> Blog : http://shazninazeer.blogspot.com
>
> On Fri, Jan 16, 2015 at 12:17 PM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Hi Ayesha,
>>
>> If there is no error in the start up, then the lifecycle aspects,
>> configured in the configuration file, should be loaded to the registry.
>> Could you please check through the management console whether the required
>> lifecycles are loaded?
>>
>> Thanks.
>>
>>
>>
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>> On Fri, Jan 16, 2015 at 10:08 PM, Ayesha Dissanayaka <aye...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> According to the comment at
>>> https://github.com/wso2-dev/carbon-governance/pull/23, I noticed that
>>> relevant file at *[ES_HOME]/repository/resources/lifecycles location *is
>>> still configuration.xml. So I've changed it to ServiceLifeCycle.xml.
>>>
>>> Then the earlier mentioned server startup error is not present.(shown
>>> below)
>>> ERROR {org.wso2.carbon.governance.lcm.util.CommonUtil} -  Configuration
>>> file name configurations not matched with aspect name ServiceLifeCycle
>>>
>>> But the issue in attaching lifecycles with assets still
>>> persist.(Lifecycles are not get attached to the artifacts)
>>>
>>> Can app-factory team give us some light on this considering above
>>> discussion, and the changes made to lifecycle management in above pull
>>> requests.
>>>
>>> Thanks!
>>> -Ayesha
>>>
>>>
>>> On Fri, Jan 16, 2015 at 8:58 PM, Shazni Nazeer <sha...@wso2.com> wrote:
>>>
>>>> Hi Ayesha,
>>>>
>>>> This could be due to the following [1]. Could you check on with the app
>>>> factory team on their change on life cycle management which affects the
>>>> adding lifecycle to G-Reg? What I understood was this has caused issues in
>>>> adding lifecycle to G-Reg at start up. So that's why when trying to attach
>>>> the lifecycle it complains saying there's no lifecycle.
>>>>
>>>> [1] https://github.com/wso2-dev/carbon-governance/pull/28/
>>>> [2] https://github.com/wso2-dev/carbon-governance/pull/23
>>>> [3] https://github.com/wso2-dev/product-greg/pull/55
>>>>
>>>> regards
>>>>
>>>> Shazni Nazeer
>>>>
>>>> Senior Software Engineer
>>>>
>>>> Mob : +94 777737331
>>>> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>>>> Blog : http://shazninazeer.blogspot.com
>>>>
>>>> On Fri, Jan 16, 2015 at 2:58 AM, Ayesha Dissanayaka <aye...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am getting below error at the server startup.
>>>>>
>>>>> ERROR {org.wso2.carbon.governance.lcm.util.CommonUtil} -
>>>>> Configuration file name configurations not matched with aspect name
>>>>> ServiceLifeCycle
>>>>>
>>>>> Further, life-cycles are not attached to the default assets. (with the
>>>>> changes in carbon-governance
>>>>> https://github.com/wso2/carbon-governance/commit/bf13572edc127faa7a54dd9636568d3c6f7ad014
>>>>> )
>>>>>
>>>>> ERROR {JAGGERY.config.app:js} -
>>>>> org.mozilla.javascript.WrappedException: Wrapped
>>>>> org.wso2.carbon.governance.api.exception.GovernanceException: No lifecycle
>>>>> associated with the artifact path /gadgets/admin/WSO2 Jira/1.0.0
>>>>> (<carbon>/scripts/registry/artifacts.js#285)
>>>>>     at
>>>>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
>>>>>     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
>>>>>     at
>>>>> org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>>>>     at
>>>>> org.jaggeryjs.rhino.<carbon>.scripts.registry.c0._c_anonymous_21(<carbon>/scripts/registry/artifacts.js:285)
>>>>>     at
>>>>> org.jaggeryjs.rhino.<carbon>.scripts.registry.c0.call(<carbon>/scripts/registry/artifacts.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher..config.defaults.c0._c_onAttachLifecycle_13(/publisher//config/defaults/install.js:273)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher..config.defaults.c0.call(/publisher//config/defaults/install.js)
>>>>>     at
>>>>> org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
>>>>>     at
>>>>> org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
>>>>>     at
>>>>> org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_16(/publisher/modules/asset.deployment.js:428)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_5(/publisher/modules/asset.deployment.js:166)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_9(/publisher/modules/asset.deployment.js:297)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c8._c_anonymous_13(/publisher/modules/bundler.js:168)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c8.call(/publisher/modules/bundler.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_8(/publisher/modules/asset.deployment.js:283)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_7(/publisher/modules/asset.deployment.js:221)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c8._c_anonymous_13(/publisher/modules/bundler.js:168)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c8.call(/publisher/modules/bundler.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_6(/publisher/modules/asset.deployment.js:212)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c6._c_anonymous_3(/publisher/modules/publisher.js:101)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.modules.c6.call(/publisher/modules/publisher.js)
>>>>>     at
>>>>> org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
>>>>>     at
>>>>> org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
>>>>>     at
>>>>> org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>>>>     at
>>>>> org.jaggeryjs.rhino.<event>.scripts.c0._c_anonymous_7(<event>/scripts/event.js:89)
>>>>>     at
>>>>> org.jaggeryjs.rhino.<event>.scripts.c0.call(<event>/scripts/event.js)
>>>>>     at
>>>>> org.mozilla.javascript.NativeArray.iterativeMethod(NativeArray.java:1584)
>>>>>     at
>>>>> org.mozilla.javascript.NativeArray.execIdCall(NativeArray.java:318)
>>>>>     at
>>>>> org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>>>>     at
>>>>> org.jaggeryjs.rhino.<event>.scripts.c0._c_anonymous_6(<event>/scripts/event.js:87)
>>>>>     at
>>>>> org.jaggeryjs.rhino.<event>.scripts.c0.call(<event>/scripts/event.js)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.config.c0._c_script_0(/publisher/config/app.js:82)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.config.c0.call(/publisher/config/app.js)
>>>>>     at
>>>>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
>>>>>     at
>>>>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.config.c0.call(/publisher/config/app.js)
>>>>>     at
>>>>> org.jaggeryjs.rhino.publisher.config.c0.exec(/publisher/config/app.js)
>>>>>     at
>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
>>>>>     at
>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.executeScripts(TomcatJaggeryWebappsDeployer.java:483)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.access$500(TomcatJaggeryWebappsDeployer.java:63)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer$JaggeryConfListener.lifecycleEvent(TomcatJaggeryWebappsDeployer.java:298)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
>>>>>     at
>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>>     at
>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>>>>>     at
>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>>>>>     at
>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:345)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:267)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.handleWebappDeployment(TomcatJaggeryWebappsDeployer.java:212)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleExplodedWebappDeployment(TomcatGenericWebappsDeployer.java:246)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:172)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer.deploy(TomcatJaggeryWebappsDeployer.java:115)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:204)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:111)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.deployer.JaggeryDeployer.deploy(JaggeryDeployer.java:59)
>>>>>     at
>>>>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>>>>>     at
>>>>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
>>>>>     at
>>>>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>>>>>     at
>>>>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
>>>>>     at
>>>>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>>>>>     at
>>>>> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135)
>>>>>     at
>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:559)
>>>>>     at
>>>>> org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
>>>>>     at
>>>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:232)
>>>>>     at
>>>>> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:182)
>>>>>     at
>>>>> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>     at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>     at
>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>>>>     at
>>>>> org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
>>>>>     at
>>>>> org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>     at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>     at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>     at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>     at
>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>>>>     at
>>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
>>>>>     at
>>>>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>>>>     at
>>>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88)
>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>     at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>     at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>     at
>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>     at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>     at
>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>     at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>     at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>     at
>>>>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
>>>>>     at
>>>>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
>>>>>     at
>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
>>>>>     at
>>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279)
>>>>>     at
>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192)
>>>>>     at
>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>>>>>     at
>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
>>>>>     at
>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>>     at
>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>>>>     at
>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>>>>     at
>>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>>>     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>> Caused by:
>>>>> org.wso2.carbon.governance.api.exception.GovernanceException: No lifecycle
>>>>> associated with the artifact path /gadgets/admin/WSO2 Jira/1.0.0
>>>>>     at
>>>>> org.wso2.carbon.governance.api.util.GovernanceUtils.getAllCheckListItemBeans(GovernanceUtils.java:1055)
>>>>>     at
>>>>> org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl.invokeAction(GovernanceArtifactImpl.java:674)
>>>>>     at
>>>>> org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl.invokeAction(GovernanceArtifactImpl.java:661)
>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>     at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>     at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>>>>>     ... 163 more
>>>>>
>>>>> Currently we are looking into this with SammeraM and Shazni.
>>>>> Meanwhile, if anyone has an idea on the startup error mentioned above,
>>>>> please have a look.
>>>>>
>>>>> Thanks!
>>>>> - Ayesha
>>>>> --
>>>>> *Ayesha Dissanayaka*
>>>>> Software Engineer,
>>>>> WSO2, Inc : http://wso2.com
>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>> 20, Palmgrove Avenue, Colombo 3
>>>>> E-Mail: aye...@wso2.com <ayshsa...@gmail.com>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Ayesha Dissanayaka*
>>> Software Engineer,
>>> WSO2, Inc : http://wso2.com
>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>> 20, Palmgrove Avenue, Colombo 3
>>> E-Mail: aye...@wso2.com <ayshsa...@gmail.com>
>>>
>>
>>
>


-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to