yeah. +1 It was wrong to pack email.verification jar in depsync feauture. Also there is no usage of that within depsync.
On Tue, Aug 4, 2015 at 4:48 PM, KasunG Gajasinghe <[email protected]> wrote: > Hi Supun, > > We should not pack an external component such as email.verification into > depsync feature. So, can we remove this? Otherwise, this will lead to > multiple issues because we have several repos that might pack different > versions of the same component. > > On Tue, Aug 4, 2015 at 4:25 PM, Supun Malinga <[email protected]> wrote: > >> org.wso2.carbon.tenant.mgt.server.feature packs >> org.wso2.carbon.email.verification >> 4.4.3. So we need to update carbon-multitenancy after commons release. That >> will fix the issue.. >> >> On Tue, Aug 4, 2015 at 4:16 PM, Supun Malinga <[email protected]> wrote: >> >>> Seems its only packed in deployment.synchronizer composite feature >>> and deployment.synchronizer server feature. So the older version of the jar >>> should be packed in a feature from a different repo.. >>> >>> On Tue, Aug 4, 2015 at 4:10 PM, Chanaka Fernando <[email protected]> >>> wrote: >>> >>>> I have tried to find the root cause for this issue. But I could only >>>> find the feature which is exporting 4.4.4.SNAPSHOT version of >>>> "org.wso2.carbon.email.verification" which is on carbon-commons. >>>> >>>> org.wso2.carbon.deployment.synchronizer.server.feature >>>> >>>> I couldn't find the feature which is importing the 4.4.3 version of the >>>> same component. Is there any way which I can find where a particular jar >>>> file is coming from? >>>> >>>> >>>> >>>> On Tue, Aug 4, 2015 at 3:01 PM, Supun Malinga <[email protected]> wrote: >>>> >>>>> Yeah this can happen when two features packs two different versions of >>>>> same jar.. >>>>> >>>>> On Tue, Aug 4, 2015 at 2:59 PM, KasunG Gajasinghe <[email protected]> >>>>> wrote: >>>>> >>>>>> >>>>>> Can you verify whether there are any other version of >>>>>> org.wso2.carbon.email.verification component? >>>>>> >>>>>> On Tue, Aug 4, 2015 at 2:50 PM, Chanaka Fernando <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi Carbon team, >>>>>>> >>>>>>> We are getting the below exception[1] at the server startup after >>>>>>> upgrading to carbon-commons 4.4.4-SNAPSHOT version. What could be the >>>>>>> reason for this? >>>>>>> >>>>>>> [1] >>>>>>> >>>>>>> [2015-08-04 14:31:49,191] ERROR - Axis2ServiceRegistry Error >>>>>>> building service from bundle : Symbolic Name: >>>>>>> org.wso2.carbon.email.verification,Bundle Version: 4.4.4.SNAPSHOT, ID: >>>>>>> 179 >>>>>>> org.apache.axis2.AxisFault: Two services cannot have same name. A >>>>>>> service with the EmailVerificationService [null] name already exists in >>>>>>> the >>>>>>> system. >>>>>>> at >>>>>>> org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:510) >>>>>>> at >>>>>>> org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110) >>>>>>> at >>>>>>> org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:745) >>>>>>> at >>>>>>> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:601) >>>>>>> at >>>>>>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:222) >>>>>>> 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:91) >>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>>> at >>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>>>>>> at >>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>> at java.lang.reflect.Method.invoke(Method.java:497) >>>>>>> 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:345) >>>>>>> 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) >>>>>>> at >>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) >>>>>>> at >>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) >>>>>>> at >>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) >>>>>>> at >>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) >>>>>>> at >>>>>>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81) >>>>>>> at >>>>>>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60) >>>>>>> at >>>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40) >>>>>>> at >>>>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) >>>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>>>>>> at java.lang.Thread.run(Thread.java:745) >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> Chanaka >>>>>>> >>>>>>> -- >>>>>>> -- >>>>>>> Chanaka Fernando >>>>>>> Senior Technical Lead >>>>>>> WSO2, Inc.; http://wso2.com >>>>>>> lean.enterprise.middleware >>>>>>> >>>>>>> mobile: +94 773337238 >>>>>>> Blog : http://soatutorials.blogspot.com >>>>>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 >>>>>>> Twitter:https://twitter.com/chanakaudaya >>>>>>> Wordpress:http://chanakaudaya.wordpress.com >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. >>>>>> email: kasung AT spamfree wso2.com >>>>>> linked-in: http://lk.linkedin.com/in/gajasinghe >>>>>> blog: http://kasunbg.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Supun Malinga, >>>>> >>>>> Senior Software Engineer, >>>>> WSO2 Inc. >>>>> http://wso2.com >>>>> email: [email protected] <[email protected]> >>>>> mobile: +94 (0)71 56 91 321 >>>>> >>>> >>>> >>>> >>>> -- >>>> -- >>>> Chanaka Fernando >>>> Senior Technical Lead >>>> WSO2, Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> mobile: +94 773337238 >>>> Blog : http://soatutorials.blogspot.com >>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 >>>> Twitter:https://twitter.com/chanakaudaya >>>> Wordpress:http://chanakaudaya.wordpress.com >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Supun Malinga, >>> >>> Senior Software Engineer, >>> WSO2 Inc. >>> http://wso2.com >>> email: [email protected] <[email protected]> >>> mobile: +94 (0)71 56 91 321 >>> >> >> >> >> -- >> Supun Malinga, >> >> Senior Software Engineer, >> WSO2 Inc. >> http://wso2.com >> email: [email protected] <[email protected]> >> mobile: +94 (0)71 56 91 321 >> > > > > -- > > *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. > email: kasung AT spamfree wso2.com > linked-in: http://lk.linkedin.com/in/gajasinghe > blog: http://kasunbg.org > > > -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: [email protected] <[email protected]> mobile: +94 (0)71 56 91 321
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
