You can restore previous MBean settings by using a saved
configuration.
About this task
The following variables are used in path names:
ClearQuest-home
Directory where IBM Rational ClearQuest is installed
CQWebWASprofileHome
Directory where your ClearQuest Web server profile is installed
Procedure
In a command prompt window, set the default directory to
the location of the ClearQuest Web server support scripts for the wsadmin command
shell. For example:
cd "ClearQuest-home\cqweb\scripts"
cd $ClearQuest-home/cqweb/scripts
Set the WAS_BIN variable to the location
of the wsadmin tool by using the syntax appropriate for your
shell. For example:
set WAS_BIN="CQWebWASprofileHome\bin"
WAS_BIN=CQWebWASprofileHome/bin
Start the wsadmin tool by specifying the ClearQuest
Web server profile name. The default profile name is cqwebprofile. For example:
%WAS_BIN%\wsadmin -profileName cqwebprofile
$WAS_BIN/wsadmin.sh -profileName cqwebprofile
Load the ClearQuest 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. For example:
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.