Cache Service

images/download/attachments/144836422/montest_21-version-1-modificationdate-1645139392000-api-v2.png

In the JMX console page, scroll down until you find Cache Service under OneNetwork.DTB.


Cache Service offers number of methods to execute. We will focus on the most useful ones for developers. Scroll down until you locate the reloadInstanceConfig and the reloadResourceBundle methods.

images/download/attachments/144836422/montest_22-version-1-modificationdate-1645139402000-api-v2.png

Sometimes you may need to make a change to InstanceConfig.xml files in a running server. The reloadInstanceConfig method allows you to reload the InstanceConfig configuration without restarting the server.

Another common operation for developers is to update message bundles. The reloadResourceBundle allows you to do that without restarting server. Simply update message resource bundle files and execute this target under jmx-console.

One additional useful method is the getSqlDef. This allows you to access sqlDef queries without searching code base. SqlDefs are commonly used for reports and auto-complete fields. SqlDefs are identified by their groupName and name properties. Scroll down in Cache Service screen until you find the getSqlDef method. Simply type groupName(including module prefix) and sqlname and invoke the method. It will return the sql query.

images/download/attachments/144836422/montest_23-version-1-modificationdate-1645139412000-api-v2.png