I am trying read locator host and port information from JNDI whose value is in the format host[port],host2[port2].
<jee:jndi-lookup id="locatorsJndi" jndi-name="locators/locator1" />
<gfe:pool id="locatorPool" locators="#{locatorsJndi}">
It seems Spring Data gemfire unable to identify locators correctly in this case. It is taking JNDI lookuped value string as one host and is appending port 10334 at the end.
Unable to connect to any locators in the list [**host[10334],host2[10334]**:10334]; nested exception is com.gemstone.gemfire.cache.client.NoAvailableLocatorsException:
But, if i pass host and port values as part of locators attribute as below, it is working as expected.
<gfe:pool id="locatorPool" locators="host1[port1],host2[port2]">
Is this an issue in Spring Data Gemfire?.