You can restore previous MBean settings by using a saved
configuration.
About this task
The following variables are used in path names:
- Compass-home
- Directory where HCL Compass is
installed
- CQWebWASprofileHome
- Directory where your HCL Compass Web
server profile is installed
Procedure
- In a command prompt window, set the default directory to
the location of the HCL Compass Web
server support scripts for the wsadmin command shell.
- Set the WAS_BIN variable to the location
of the wsadmin tool by using the syntax appropriate for your
shell.
- Start the wsadmin tool by specifying the HCL Compass Web
server profile name. The default profile name is cqwebprofile.
- Load the HCL Compass Web
server Jacl support scripts, which include the exportToFile and importFile commands,
into your wsadmin command shell:
wsadmin> source
teamAdminUtils.jacl
- Import the MBean configuration settings from a previously
exported configuration.
Important: When you
run a Jacl script from the wsadmin command shell on Windows™, you can use forward
slashes /
in a path specification that you pass to the script.
Alternatively, if you choose to use backslashes \
, you must
escape each backslash character with an extra backslash.