Connection Problem to TIBCO DataGrid

If the IP address of the machine where TIBCO API Exchange Gateway software is installed changes, the Core Engine might report the connection error to TIBCO Datagrid as it does not automatically update the IP address in the cdd file of the Core Engine.

Error:

When the Core Engine is started using asg-engine executable, following warning message is shown:

asg-caching-core Info [main] - [com.tibco.cep.runtime.service.dao.impl.tibas.ASDaoProvider] Connecting to [Metaspace:ASG] on ports [tcp://10.105.178.29:6000-*/] and [tcp://10.105.178.29:6000/] 

asg-caching-core Warning [main] - [com.tibco.cep.runtime.service.dao.impl.tibas.ASDaoProvider] Failed connecting to [Metaspace:ASG] with error TIBAS_SYS_ERROR (no_port_available - ip=10.105.178.29:6000-65535). Retrying in [10] seconds 

Resolution:

Modify the ASG_HOME/bin/asg_core.cdd file to either use the new public IP address or just the loopback value. Restart the Core Engine after making the changes in the CDD file.

You can edit the file using an XML editor:

<property-group comment="" name="cluster"> 

<property name="be.engine.cluster.as.discover.url" value="tcp://127.0.0.1:6000/"/> 

<property name="be.engine.cluster.as.listen.url" value="tcp://127.0.0.1:6000-*/"/> 

<property name="be.mm.cluster.as.listen.url" value="tcp://127.0.0.1:6000-*/"/> 

</property-group>