Because the oid2type_Field.conf file is processed when a Domain Manager is first started, TEST_SERVER_RM, TEST_SERVER_P, and TEST_SERVER_A must be stopped and restarted for any changes to take effect. The new class must be loaded into all three Domain Managers.
The Domain Managers are started with the --dynamic command line option to pull the compiled dynamic model file from BASEDIR/smarts/local/model.
To reload the dynamic model:
-
Stop TEST_SERVER_RM.
-
Reload the compiled dynamic model file into TEST_SERVER_RM.
t # BASEDIR /smarts/bin/sm_server -n TEST_SERVER_RM -c icf-r --broker=localhost:426 --bootstrap=bootstrap.conf --output --dynamics
-
Stop TEST_SERVER_P.
-
Reload the compiled dynamic model file into the test Domain Manager.
t # BASEDIR /smarts/bin/sm_server -n TEST_SERVER_P -c icf-p --broker=localhost:426 --bootstrap=bootstrap.conf --output --dynamics
-
Stop TEST_SERVER_A.
-
Reload the compiled dynamic model file into TEST_SERVER_A.
t # BASEDIR /smarts/bin/sm_server -n TEST_SERVER_A -c icf-a --broker=localhost:426 --bootstrap=bootstrap.conf --output --dynamics