This is wrong design IMO. To overcome this we may have to refactor this code bit in Stratos.
Thanks, Sameera. On Fri, Mar 14, 2014 at 2:29 PM, Pradeep Fernando <[email protected]>wrote: > Now i have a pack that has > > as/sm/cc > > and im getting below error. This is because client stubs and services are > both reside in the same runtime and share the package structure. > > http://stackoverflow.com/questions/3438404/java-lang-verifyerror > > > > [2014-03-14 14:01:31,256] ERROR > {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} - Error while > adding services from bundle : > org.apache.stratos.cloud.controller-4.0.0.SNAPSHOT > java.lang.VerifyError: (class: > org/apache/stratos/cloud/controller/impl/CloudControllerServiceImpl, > method: validatePartition signature: > (Lorg/apache/stratos/cloud/controller/deployment/partition/Partition;)Z) > catch_type not a subclass of Throwable > 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) > 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) > > > On Thu, Mar 13, 2014 at 8:23 PM, Pradeep Fernando <[email protected]>wrote: > >> I was able to put together as/cc and sm. >> >> I'm encoutering following issue, >> >> even though there carbon kernel supports profiles, it does not support >> config files per profiles. >> >> for an example SM host a webapp and thus has carbonWebappClassLoader in >> catalina server.xml. Hence i have to install webapp mgt feature to other >> profiles as well.. >> >> thanks, >> --Pradee >> >> >> >> On Thu, Mar 13, 2014 at 2:03 PM, Pradeep Fernando <[email protected]>wrote: >> >>> for the moment i'm ignoring caramel and jaggery features and moved >>> forward. Provisioned initial profiles. (default and sm) >>> >>> next task, >>> >>> cc profile >>> as profile >>> >>> full profile >>> >>> >>> we have to fix caramel and jaggery features later >>> >>> >>> >>> On Thu, Mar 13, 2014 at 12:54 PM, Sameera Jayasoma < >>> [email protected]> wrote: >>> >>>> How about using the "copy" action instead of the "mkdir" action? This >>>> requires a change in the jaggery features though. >>>> >>>> >>>> >>>> >>>> On Thu, Mar 13, 2014 at 12:50 PM, Pradeep Fernando <[email protected] >>>> > wrote: >>>> >>>>> its the modules directory created by jaggery/caramel features. its a >>>>> top level directory. Ideally, the touchpoint should have a semantic to >>>>> express, create if not exist. >>>>> But for the moment i can call ant task and delete the directory after >>>>> first round of provisioning... >>>>> >>>>> thanks, >>>>> --Pradeep >>>>> >>>>> >>>>> On Thu, Mar 13, 2014 at 12:47 PM, Sameera Jayasoma < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi Pradeep, >>>>>> >>>>>> Can you provide a little more context to this problem? I.e. which >>>>>> feature, which directory.. Trying to understand whether we can avoid >>>>>> creating the directory? >>>>>> >>>>>> Thanks, >>>>>> Sameera. >>>>>> >>>>>> >>>>>> On Wed, Mar 12, 2014 at 11:04 PM, Pradeep Fernando < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Encounter the first issue, :) >>>>>>> >>>>>>> Provisioning semantics fails to create a dir, when it already >>>>>>> exists. Im taking about mkdir touchpoint found in eclipse. >>>>>>> and there is not param to skip if exists it seems. >>>>>>> http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_actions_touchpoints.html >>>>>>> Hopfully i can workaround it. >>>>>>> >>>>>>> >>>>>>> On Wed, Mar 12, 2014 at 11:01 PM, Pradeep Fernando < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Hi Guys, >>>>>>>> >>>>>>>> I started on the $subject. This thread is to track the progress.. >>>>>>>> >>>>>>>> thanks, >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Pradeep Fernando. >>>>>>>> http://pradeepfernando.blogspot.com/ >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Pradeep Fernando. >>>>>>> http://pradeepfernando.blogspot.com/ >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sameera Jayasoma >>>>>> >>>>>> blog: http://sameera.adahas.org >>>>>> twitter: https://twitter.com/sameerajayasoma >>>>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Pradeep Fernando. >>>>> http://pradeepfernando.blogspot.com/ >>>>> >>>> >>>> >>>> >>>> -- >>>> Sameera Jayasoma >>>> >>>> blog: http://sameera.adahas.org >>>> twitter: https://twitter.com/sameerajayasoma >>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/ >>>> >>> >>> >>> >>> -- >>> Pradeep Fernando. >>> http://pradeepfernando.blogspot.com/ >>> >> >> >> >> -- >> Pradeep Fernando. >> http://pradeepfernando.blogspot.com/ >> > > > > -- > Pradeep Fernando. > http://pradeepfernando.blogspot.com/ > -- Sameera Jayasoma blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/
