We are using Coherence concept in our ADF fusion application and using Unicast lister for creating a cluster. As of now while running coherence in local we are using the local system address and port values in tangosol-coherence-override.xml file.
How can we update the address and port values as per the environment in tangosol-coherence-override.xml file.
Please suggest us on this.
Regards, Joseph
You could use
tangosol-coherence-override-dev.xml
file in development andtangosol-coherence-override-prod.xml
in production. According to Coherence documentation:If you need more flexibility (e.g. you have separate environments for development, integration testing, staging, etc.), you can use
tangosol.coherence.override
system property to specify configuration file that should be used. Chapters 3.7 and 3.8 in Coherence documentation explain those configuration possibilities in detail.