Pradeep Fernando created STRATOS-523:
----------------------------------------

             Summary: Run stratos in a single JVM instance
                 Key: STRATOS-523
                 URL: https://issues.apache.org/jira/browse/STRATOS-523
             Project: Stratos
          Issue Type: Improvement
            Reporter: Pradeep Fernando
            Assignee: Pradeep Fernando
            Priority: Blocker


Hi i created the following patch. It contains

as + cc + sm + cep in a single profile.

I have created individual profiles of as, cc  and sm as well. but they are 
commented out for the moment, to ease out the default profile build process..

I refactored the code to avoid,

-Java linkage errors due to same packages/Classes in two different components.
- Cloud controller component fails to provision

at the moment I'm getting following error. Please have a look



[2014-03-17 18:29:20,715] ERROR 
{org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error while adding 
services from bundle : org.apache.stratos.cloud.controller-4.0.0.SNAPSHOT
java.lang.NoClassDefFoundError: org/jclouds/rest/ResourceNotFoundException

    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at 
org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.<init>(DefaultSchemaGenerator.java:140)
    at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
    at 
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
    at 
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
    at 
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
    at 
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
    at 
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
    at 
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:473)
    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: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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to