You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Bhathiya Supun <su...@wso2.com> on 2015/02/25 05:44:38 UTC

ISSUE: Carbon Initializing Failure when Starting Cloud Controller

While following this [1]
<https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>
documentation to install Stratos in a distributed setup I'm getting
$subject.



















*TID: [0] [STRATOS] [2015-02-25 09:34:06,954] FATAL
{org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
initialization Failedjava.lang.NoClassDefFoundError:
org/apache/stratos/common/util/AxiomXpathParserUtil   at
org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:70)
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.loadServices(CarbonAxisConfigurator.java:464)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
at
org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
at
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)*
   -----------------

However Stratos Manger and Autoscaler starts without any issue.

[1] -
https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup

-- 
Bhathiya Supun

*Software Engineering Intern,*

*WSO2 Inc.*+94 71 0648636

Re: ISSUE: Carbon Initializing Failure when Starting Cloud Controller

Posted by Imesh Gunaratne <im...@apache.org>.
Hi Bathiya,

Looks like there is an issue in cloud controller P2 profile. I will have a
look at this.

Thanks

On Wed, Feb 25, 2015 at 10:14 AM, Bhathiya Supun <su...@wso2.com> wrote:

> While following this [1]
> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>
> documentation to install Stratos in a distributed setup I'm getting
> $subject.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *TID: [0] [STRATOS] [2015-02-25 09:34:06,954] FATAL
> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
> initialization Failedjava.lang.NoClassDefFoundError:
> org/apache/stratos/common/util/AxiomXpathParserUtil   at
> org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:70)
> 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.loadServices(CarbonAxisConfigurator.java:464)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
> at
> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
> at
> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
> at
> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)*
>    -----------------
>
> However Stratos Manger and Autoscaler starts without any issue.
>
> [1] -
> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup
>
> --
> Bhathiya Supun
>
> *Software Engineering Intern,*
>
> *WSO2 Inc.*+94 71 0648636
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: ISSUE: Carbon Initializing Failure when Starting Cloud Controller

Posted by Isuru Haththotuwa <is...@apache.org>.
On Thu, Feb 26, 2015 at 3:43 AM, Bhathiya Supun <su...@wso2.com> wrote:

> It is working with the suggested change.  Here
> <https://github.com/apache/stratos/pull/243>[1] is the PR
>
> [1] - https://github.com/apache/stratos/pull/243
>
Great! Thanks for the contribution Bhathiya.

>
>
> On Wed, Feb 25, 2015 at 10:58 AM, Bhathiya Supun <su...@wso2.com> wrote:
>
>> Thanks for quick response
>>
>> @Isuru : I'll test it and update.
>>
>> On Wed, Feb 25, 2015 at 10:43 AM, Isuru Haththotuwa <is...@apache.org>
>> wrote:
>>
>>> In the CC profile, the feature group
>>> org.apache.stratos.common.feature.group seems to be missing. This might be
>>> the probable cause. We will need to fix it.
>>>
>>> @Bathiya: would you be able to add this to the CC profile in the
>>> stratos/products/stratos/modules/p2-profile-gen/pom.xml file, rebuild and
>>> see if it works?
>>>
>>> On Wed, Feb 25, 2015 at 10:14 AM, Bhathiya Supun <su...@wso2.com>
>>> wrote:
>>>
>>>> While following this [1]
>>>> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>
>>>> documentation to install Stratos in a distributed setup I'm getting
>>>> $subject.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *TID: [0] [STRATOS] [2015-02-25 09:34:06,954] FATAL
>>>> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
>>>> initialization Failedjava.lang.NoClassDefFoundError:
>>>> org/apache/stratos/common/util/AxiomXpathParserUtil   at
>>>> org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:70)
>>>> 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.loadServices(CarbonAxisConfigurator.java:464)
>>>> at
>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
>>>> at
>>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
>>>> at
>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
>>>> at
>>>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>>> at
>>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>> at java.lang.reflect.Method.invoke(Method.java:606)*
>>>>    -----------------
>>>>
>>>> However Stratos Manger and Autoscaler starts without any issue.
>>>>
>>>> [1] -
>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup
>>>>
>>>>
>>>> --
>>>> Bhathiya Supun
>>>>
>>>> *Software Engineering Intern,*
>>>>
>>>> *WSO2 Inc.*
>>>> +94 71 0648636
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> +94 716 358 048* <http://wso2.com/>*
>>>>
>>>>
>>>> * <http://wso2.com/>*
>>>>
>>>>
>>>>
>>
>>
>> --
>> Bhathiya Supun
>>
>> *Software Engineering Intern,*
>>
>> *WSO2 Inc.*+94 71 0648636
>>
>
>
>
> --
> Bhathiya Supun
>
> *Software Engineering Intern,*
>
> *WSO2 Inc.*+94 71 0648636
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Re: ISSUE: Carbon Initializing Failure when Starting Cloud Controller

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks for the fix Bathiya! We have now merged it to master branch.

On Thu, Feb 26, 2015 at 3:43 AM, Bhathiya Supun <su...@wso2.com> wrote:

> It is working with the suggested change.  Here
> <https://github.com/apache/stratos/pull/243>[1] is the PR
>
> [1] - https://github.com/apache/stratos/pull/243
>
>
> On Wed, Feb 25, 2015 at 10:58 AM, Bhathiya Supun <su...@wso2.com> wrote:
>
>> Thanks for quick response
>>
>> @Isuru : I'll test it and update.
>>
>> On Wed, Feb 25, 2015 at 10:43 AM, Isuru Haththotuwa <is...@apache.org>
>> wrote:
>>
>>> In the CC profile, the feature group
>>> org.apache.stratos.common.feature.group seems to be missing. This might be
>>> the probable cause. We will need to fix it.
>>>
>>> @Bathiya: would you be able to add this to the CC profile in the
>>> stratos/products/stratos/modules/p2-profile-gen/pom.xml file, rebuild and
>>> see if it works?
>>>
>>> On Wed, Feb 25, 2015 at 10:14 AM, Bhathiya Supun <su...@wso2.com>
>>> wrote:
>>>
>>>> While following this [1]
>>>> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>
>>>> documentation to install Stratos in a distributed setup I'm getting
>>>> $subject.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *TID: [0] [STRATOS] [2015-02-25 09:34:06,954] FATAL
>>>> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
>>>> initialization Failedjava.lang.NoClassDefFoundError:
>>>> org/apache/stratos/common/util/AxiomXpathParserUtil   at
>>>> org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:70)
>>>> 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.loadServices(CarbonAxisConfigurator.java:464)
>>>> at
>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
>>>> at
>>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
>>>> at
>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
>>>> at
>>>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>>> at
>>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>> at java.lang.reflect.Method.invoke(Method.java:606)*
>>>>    -----------------
>>>>
>>>> However Stratos Manger and Autoscaler starts without any issue.
>>>>
>>>> [1] -
>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup
>>>>
>>>>
>>>> --
>>>> Bhathiya Supun
>>>>
>>>> *Software Engineering Intern,*
>>>>
>>>> *WSO2 Inc.*
>>>> +94 71 0648636
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> +94 716 358 048* <http://wso2.com/>*
>>>>
>>>>
>>>> * <http://wso2.com/>*
>>>>
>>>>
>>>>
>>
>>
>> --
>> Bhathiya Supun
>>
>> *Software Engineering Intern,*
>>
>> *WSO2 Inc.*+94 71 0648636
>>
>
>
>
> --
> Bhathiya Supun
>
> *Software Engineering Intern,*
>
> *WSO2 Inc.*+94 71 0648636
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: ISSUE: Carbon Initializing Failure when Starting Cloud Controller

Posted by Bhathiya Supun <su...@wso2.com>.
It is working with the suggested change.  Here
<https://github.com/apache/stratos/pull/243>[1] is the PR

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


On Wed, Feb 25, 2015 at 10:58 AM, Bhathiya Supun <su...@wso2.com> wrote:

> Thanks for quick response
>
> @Isuru : I'll test it and update.
>
> On Wed, Feb 25, 2015 at 10:43 AM, Isuru Haththotuwa <is...@apache.org>
> wrote:
>
>> In the CC profile, the feature group
>> org.apache.stratos.common.feature.group seems to be missing. This might be
>> the probable cause. We will need to fix it.
>>
>> @Bathiya: would you be able to add this to the CC profile in the
>> stratos/products/stratos/modules/p2-profile-gen/pom.xml file, rebuild and
>> see if it works?
>>
>> On Wed, Feb 25, 2015 at 10:14 AM, Bhathiya Supun <su...@wso2.com> wrote:
>>
>>> While following this [1]
>>> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>
>>> documentation to install Stratos in a distributed setup I'm getting
>>> $subject.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *TID: [0] [STRATOS] [2015-02-25 09:34:06,954] FATAL
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
>>> initialization Failedjava.lang.NoClassDefFoundError:
>>> org/apache/stratos/common/util/AxiomXpathParserUtil   at
>>> org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:70)
>>> 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.loadServices(CarbonAxisConfigurator.java:464)
>>> at
>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
>>> at
>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
>>> at
>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
>>> at
>>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>> at
>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)*
>>>    -----------------
>>>
>>> However Stratos Manger and Autoscaler starts without any issue.
>>>
>>> [1] -
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup
>>>
>>>
>>> --
>>> Bhathiya Supun
>>>
>>> *Software Engineering Intern,*
>>>
>>> *WSO2 Inc.*
>>> +94 71 0648636
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* <http://wso2.com/>*
>>>
>>>
>>> * <http://wso2.com/>*
>>>
>>>
>>>
>
>
> --
> Bhathiya Supun
>
> *Software Engineering Intern,*
>
> *WSO2 Inc.*+94 71 0648636
>



-- 
Bhathiya Supun

*Software Engineering Intern,*

*WSO2 Inc.*+94 71 0648636

Re: ISSUE: Carbon Initializing Failure when Starting Cloud Controller

Posted by Bhathiya Supun <su...@wso2.com>.
Thanks for quick response

@Isuru : I'll test it and update.

On Wed, Feb 25, 2015 at 10:43 AM, Isuru Haththotuwa <is...@apache.org>
wrote:

> In the CC profile, the feature group
> org.apache.stratos.common.feature.group seems to be missing. This might be
> the probable cause. We will need to fix it.
>
> @Bathiya: would you be able to add this to the CC profile in the
> stratos/products/stratos/modules/p2-profile-gen/pom.xml file, rebuild and
> see if it works?
>
> On Wed, Feb 25, 2015 at 10:14 AM, Bhathiya Supun <su...@wso2.com> wrote:
>
>> While following this [1]
>> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>
>> documentation to install Stratos in a distributed setup I'm getting
>> $subject.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *TID: [0] [STRATOS] [2015-02-25 09:34:06,954] FATAL
>> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
>> initialization Failedjava.lang.NoClassDefFoundError:
>> org/apache/stratos/common/util/AxiomXpathParserUtil   at
>> org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:70)
>> 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.loadServices(CarbonAxisConfigurator.java:464)
>> at
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
>> at
>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
>> at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
>> at
>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>> at
>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)*
>>    -----------------
>>
>> However Stratos Manger and Autoscaler starts without any issue.
>>
>> [1] -
>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup
>>
>>
>> --
>> Bhathiya Supun
>>
>> *Software Engineering Intern,*
>>
>> *WSO2 Inc.*
>> +94 71 0648636
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>> * <http://wso2.com/>*
>>
>>
>>


-- 
Bhathiya Supun

*Software Engineering Intern,*

*WSO2 Inc.*+94 71 0648636

Re: ISSUE: Carbon Initializing Failure when Starting Cloud Controller

Posted by Isuru Haththotuwa <is...@apache.org>.
In the CC profile, the feature group
org.apache.stratos.common.feature.group seems to be missing. This might be
the probable cause. We will need to fix it.

@Bathiya: would you be able to add this to the CC profile in the
stratos/products/stratos/modules/p2-profile-gen/pom.xml file, rebuild and
see if it works?

On Wed, Feb 25, 2015 at 10:14 AM, Bhathiya Supun <su...@wso2.com> wrote:

> While following this [1]
> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>
> documentation to install Stratos in a distributed setup I'm getting
> $subject.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *TID: [0] [STRATOS] [2015-02-25 09:34:06,954] FATAL
> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
> initialization Failedjava.lang.NoClassDefFoundError:
> org/apache/stratos/common/util/AxiomXpathParserUtil   at
> org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:70)
> 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.loadServices(CarbonAxisConfigurator.java:464)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
> at
> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
> at
> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
> at
> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)*
>    -----------------
>
> However Stratos Manger and Autoscaler starts without any issue.
>
> [1] -
> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup
>
> --
> Bhathiya Supun
>
> *Software Engineering Intern,*
>
> *WSO2 Inc.*+94 71 0648636
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>