My Oracle Support Banner

Coherence Multiple <host-address> elements throw java.lang.UnsupportedOperationException (Doc ID 1498804.1)

Last updated on NOVEMBER 16, 2020

Applies to:

Oracle Coherence - Version 3.7.1.1 and later
Information in this document applies to any platform.

Goal

Coherence 3.7.1.6

Customer is seeing "java.lang.UnsupportedOperationException: Override element is not unique" when adding multiple host-address elements as mentioned in below documentation

https://docs.oracle.com/cd/E24290_01/coh.371/e22841/general_security.htm#CHDCCIGC

Error:
######

Caused by: (Wrapped: Failed to apply the element override: laracis-storage-coherence-config.xml) java.lang.UnsupportedOperationException: Override element is not unique:
[IPAddress1]
  at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
  at com.tangosol.coherence.component.application.console.Coherence.loadOverrides(Coherence.CDB:83)
  at com.tangosol.coherence.component.application.console.Coherence.loadConfiguration(Coherence.CDB:37)
  at com.tangosol.coherence.component.application.console.Coherence.getServiceConfig(Coherence.CDB:13)
  at com.tangosol.coherence.component.application.console.Coherence.ensureRunningLogger(Coherence.CDB:15)
  at com.tangosol.coherence.component.application.console.Coherence.getServiceConfig(Coherence.CDB:7)
  ... 10 more

Config:
#####

  
<cluster-config>
<authorized-hosts>
            <host-address>[IPAddress1]</host-address>
            <host-address>[IPAddress2]</host-address>
</authorized-hosts>
  </cluster-config>
  
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.