IBM Support

Can CDT perform a database cache refresh in a clustered/JNDI-managed App Server environment?

Troubleshooting


Problem

Can CDT perform a database cache refresh in a clustered/JNDI-managed App Server environment?

Symptom

CDT currently has the ability to perform a data cache refresh after the deployment phase is completed. This is accomplished via the 'httpurl' attribute under the Target database's configuration in ydkprefs.xml.

However, when utilizing a JNDI Server to manage a cluster of application servers, is it possible to specify in the 'httpurl' attribute, a URL which effectively broadcasts the data refresh from CDT out to each of the JVMs running on each of its clusters?

As documented in the Installation Guide, httpurl is: "Only applicable for the target database. Specify a URL for the application server whose data cache is to be refreshed after data is deployed into the target database. Use the syntax: http://<hostname/ip-address>:<port-number>/yantra/interop/InteropHttpServlet, where hostname, IP-address and port-number are the parameters used to connect to the application server."

The documentation discusses only a single application server URL. But can this data refresh be accomplished also in a clustered environment? If so, what is the syntax for such a setting?

Resolving The Problem

Engineering and the customer (who raised the issue) verified, that for refreshing the database cache, we do not need to give the JNDI Server URL in the CDT attribute 'httpurl'. Rather, any of the Application Servers URLs can be put as the value of the attribute 'httpurl' as long as they are registered in the same JNDI. Once a Server receives the message to refresh the cache, it broadcasts the message to all the Servers registered in the JNDI lookup (even if on a separate Server box).

This was tested with an Application Server and an Agent Server running on separate JVMs. By giving the 'httpurl' as an Application Server URL, we observed that the cache was refreshed in the Agent Server also.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Mapping and Translation","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX4803

Product Synonym

[<p><b>]Function Area[</b><p>];Configuration Deployment Tool (CDT);[<p><b>]Escalation ID[</b><p>];00009686;[<p><b>]Fix ID[</b><p>];N/A;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Build[</b><p>];N/A

Document Information

Modified date:
11 February 2020

UID

swg21554778