[CONTROLLER-1943] InstanceAlreadyExistsException is reported during sal-remoterpc-connector startup Created: 03/Jun/20  Updated: 12/Jun/20  Resolved: 03/Jun/20

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: Magnesium SR1, 2.0.2, Sodium SR4

Type: Bug Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to CONTROLLER-1894 Add YANG 1.1 action support Resolved

 Description   

We have the following exception being reported:

2020-06-03T13:18:43,520 | ERROR | opendaylight-cluster-data-akka.actor.default-dispatcher-34 | AbstractMXBean                   | 136 - org.opendaylight.controller.sal-common-util - 2.0.2.SNAPSHOT | registration failed
javax.management.InstanceAlreadyExistsException: org.opendaylight.controller:type=RemoteRpcBroker,name=RemoteRpcRegistry
	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:436) ~[?:?]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1855) ~[?:?]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:955) ~[?:?]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:890) ~[?:?]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:320) ~[?:?]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) ~[?:?]
	at org.opendaylight.controller.md.sal.common.util.jmx.AbstractMXBean.registerMBean(AbstractMXBean.java:107) [bundleFile:?]
	at org.opendaylight.controller.remote.rpc.registry.mbeans.AbstractRegistryMXBean.<init>(AbstractRegistryMXBean.java:43) [bundleFile:?]
	at org.opendaylight.controller.remote.rpc.registry.mbeans.RemoteRpcRegistryMXBeanImpl.<init>(RemoteRpcRegistryMXBeanImpl.java:25) [bundleFile:?]
	at org.opendaylight.controller.remote.rpc.registry.RpcRegistry.preStart(RpcRegistry.java:70) [bundleFile:?]
	at akka.actor.Actor.aroundPreStart(Actor.scala:550) [bundleFile:2.5.31]
	at akka.actor.Actor.aroundPreStart$(Actor.scala:550) [bundleFile:2.5.31]
	at akka.persistence.AbstractPersistentActor.akka$persistence$Eventsourced$$super$aroundPreStart(PersistentActor.scala:455) [bundleFile:2.5.31]
	at akka.persistence.Eventsourced.aroundPreStart(Eventsourced.scala:261) [bundleFile:2.5.31]
	at akka.persistence.Eventsourced.aroundPreStart$(Eventsourced.scala:253) [bundleFile:2.5.31]
	at akka.persistence.AbstractPersistentActor.aroundPreStart(PersistentActor.scala:455) [bundleFile:2.5.31]
	at akka.actor.ActorCell.create(ActorCell.scala:678) [bundleFile:2.5.31]
	at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:549) [bundleFile:2.5.31]
	at akka.actor.ActorCell.systemInvoke(ActorCell.scala:571) [bundleFile:2.5.31]
	at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:293) [bundleFile:2.5.31]
	at akka.dispatch.Mailbox.run(Mailbox.scala:228) [bundleFile:2.5.31]
	at akka.dispatch.Mailbox.exec(Mailbox.scala:241) [bundleFile:2.5.31]
	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [bundleFile:2.5.31]
	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [bundleFile:2.5.31]
	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [bundleFile:2.5.31]
	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [bundleFile:2.5.31]

on each startup with clustering.


Generated at Wed Feb 07 19:56:49 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.