Reloading the configuration of a BOD service module
During development, you may want to modify and reload configuration, without having to restart the server. This is supported through the use of a .reloadconfig file.
Procedure
-
To enable volatile reloading:
Option Description For all components Create an empty .reloadconfig
file inxml/config/com.ibm.commerce.foundation/
. This will cause every service module to check the timestamps on its configuration files, each time it is called. Configuration files that have changed from the time that they were last loaded will get re-parsed. Also, if a configuration file was added or removed, all the files in the same directory is reloaded.For a particular component Create an empty .reloadconfig
file under the component configuration directory . For example,xml/config/com.myco.myservicemodule
. Volatile reloading will only be enabled for that component. In the case of an existing HCL Commerce service module, place the file in workspace_dir\WC\xml\config\servicemodulename-ext\. - Put the .reloadconfig file in the directory before the server is started.