Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-523

Run stratos in a single JVM instance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 4.0.0
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            nirmal Nirmal Fernando
            pradeepfdo Pradeep Fernando
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: