Hi Owen,
I had a similar issue when moving to the new PPM version 14.3. We also modified our Load Balancer to have a web tier in between the Load Balancer and application servers.
I created a "workaround" by populating my "" with my actual server address. Example:
Then, I use the following code to pull the value in the GEL script:<gel:set asString="true" select="$properties/properties/webServer/@schedulerUrl" var="EntryURL"/>
This totally avoids the Load Balancer.
<!-- ****************************************GET THE XOG URL FROM THE APPLICATION **********************************************-->
<gel:parse file="../config/properties.xml" var="properties"/>
<gel:set asString="true" select="$properties/properties/webServer/@schedulerUrl" var="EntryURL"/>
<core:invokeStatic className="com.niku.union.config.ConfigurationManager" method="getInstance" var="config"/>
<core:set value="0" var="v_IsLocal"/>
<core:set value="${config.getProperties().getWebServer().getWebServerInstance(0).getId()}" var="WebServerid"/>
<core:if test="${WebServerid == 'app'}">
<core:set value="${config.getProperties().getWebServer().getWebServerInstance(0).getAddress()}" var="AddressIp"/>
<!-- Replaced "EntryURL" from the Properties.xml file with "scheduler entry url" from Properties.xml file -->
<!-- <core:set value="${config.getProperties().getWebServer().getWebServerInstance(0).getEntryUrl()}" var="EntryURL"/>-->
<core:set value="${config.getProperties().getWebServer().getWebServerInstance(0).getPort()}" var="Port"/>
<core:if test="${EntryURL == 'http://localhost'}">
<gel:log level="INFO" message="NULL ADDRESS IS LOCAL... "/>
<core:set value="1" var="v_IsLocal"/>
<core:set value="${EntryURL}" var="AddressIp"/>
</core:if>
</core:if>
<core:if test="${WebServerid == 'nsa'}">
<core:set value="${config.getProperties().getWebServer().getWebServerInstance(1).getAddress()}" var="AddressIp"/>
<!-- Replaced "EntryURL" from the Properties.xml file with "scheduler entry url" from Properties.xml file -->
<!-- <core:set value="${config.getProperties().getWebServer().getWebServerInstance(1).getEntryUrl()}" var="EntryURL"/>-->
<core:set value="${config.getProperties().getWebServer().getWebServerInstance(1).getPort()}" var="Port"/>
<core:if test="${EntryURL == 'http://localhost' }">
<gel:log level="INFO" message="NULL ADDRESS IS LOCAL... "/>
<core:set value="1" var="v_IsLocal"/>
<core:set value="${EntryURL}" var="AddressIp"/>
</core:if>
</core:if>
<core:if test="${Port != null }">
<core:set value="${EntryURL}:${Port}" var="EntryURL"/>
</core:if>
<core:if test="${v_IsLocal == 0 }">
<core:if test="${AddressIp != '' }">
<core:set value="http://${AddressIp}" var="EntryURL"/>
</core:if>
</core:if>
<gel:log level="INFO">EntryURL: "${EntryURL}"</gel:log>
<!--Set value for XOGURLAUTO (auto detected using above code)-->
<core:set value="${EntryURL}/niku/xog" var="XOGURLAUTO"/>
<!-- ***************************************END GET XOG URL ***********************************-->