]
Dan Berindei updated ISPN-11140:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.1.1.Final
Resolution: Done
RemoteCache w/near cache throws InstanceAlreadyExistsException
following restart
--------------------------------------------------------------------------------
Key: ISPN-11140
URL:
https://issues.redhat.com/browse/ISPN-11140
Project: Infinispan
Issue Type: Bug
Components: Hot Rod
Affects Versions: 10.1.0.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Critical
Fix For: 10.1.1.Final
A RemoteCache using a near cache throws javax.management.InstanceAlreadyExistsException
on restart. RemoteCache w/out a near cache restarts without issue.
This is because InvalidatedNearRemoteCache.stop() does not call the super implementation,
which unregisters its mbeans.
This issue technically affects older versions, but the allowDuplicateDomains logic
circumvents the InstanceAlreadyExistsException problem.