Udara Liyanage created STRATOS-1024: ---------------------------------------
Summary: Service already registered Key: STRATOS-1024 URL: https://issues.apache.org/jira/browse/STRATOS-1024 Project: Stratos Issue Type: Bug Reporter: Udara Liyanage This occurs after installing oAtuh feature D: [0] [STRATOS] [2014-12-04 20:55:53,343] ERROR {org.wso2.carbon.utils.MBeanRegistrar} - Could not register class org.wso2.carbon.service.mgt.ServiceAdmin MBean java.lang.Exception: MBean org.wso2.carbon:type=ServiceAdmin already exists at org.wso2.carbon.utils.MBeanRegistrar.registerMBean(MBeanRegistrar.java:50) at org.wso2.carbon.utils.MBeanRegistrar.registerMBean(MBeanRegistrar.java:64) at org.wso2.carbon.service.mgt.internal.ServiceManagementServiceComponent.registerMBeans(ServiceManagementServiceComponent.java:102) at org.wso2.carbon.service.mgt.internal.ServiceManagementServiceComponent.setServerConfiguration(ServiceManagementServiceComponent.java:89) 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.ComponentReference.bind(ComponentReference.java:376) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(ServiceComponentProp.java:218) 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.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) TID: [0] [STRATOS] [2014-12-04 20:55:53,344] ERROR {org.wso2.carbon.service.mgt.internal.ServiceManagementServiceComponent} - Error initializing ServiceAdmin. TID: [0] [STRATOS] [2014-12-04 20:55:53,347] ERROR {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent} - Failed to activate the TenantDispatcherServiceComponent org.apache.axis2.AxisFault: Two services cannot have same name. A service with the __MultitenantDispatcherService [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.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent.deployMultitenantService(TenantDispatcherServiceComponent.java:77) at org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent.activate(TenantDispatcherServiceComponent.java:60) 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) -- This message was sent by Atlassian JIRA (v6.3.4#6332)