[
https://issues.apache.org/jira/browse/STRATOS-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957874#comment-13957874
]
Nirmal Fernando commented on STRATOS-523:
-----------------------------------------
Fixed in a series of commits starting from
eb523fd4b1621789684ccd3358759b743faff56b to
ed3bf7e00552b5289bd9421e25f52f720e4f177d
> 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: Nirmal Fernando
> Priority: Blocker
> Fix For: 4.0.0 RC1
>
> Attachments: 0001-creating-stratos-pack-that-runs-on-single-jvm.patch
>
>
> 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)