The retrieveConfiguration.jacl script

This script retrieves a configuration from WSRR and saves it in a specified file.

Usage

wsadmin -f retrieveConfiguration.jacl
     [ -wsrrhelp ]
     [ -wsrrhome <WSRR install directory> ]
     [ -cluster <cluster name>] |
     [
       -cell <cell name>
       -node <node name>
       -server <server name>
     ]
       -filepath <file path>
       -filename <file name>
       -configname <configuration name>
       -configtype <configuration type>

(entered as a single line)

Parameters

The following table describes the script parameters:
Parameter Description
-wsrrhelp Displays the script usage information.
-wsrrhome The <WSRR_INSTALL_ROOT> directory. This parameter is optional and, if omitted, defaults to the current directory. You must provide a value for this parameter if you are not running the script from the <WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell directory.
-cluster In a cluster configuration, the name of the cluster on which WSRR is deployed.
-cell In a stand-alone or federated node configuration, the name of the cell in which WSRR is deployed.
-node In a stand-alone or federated node configuration, the name of the node on which WSRR is deployed.
-server In a stand-alone or federated node configuration, the name of the server on which WSRR is deployed.
-filepath The path to the file in which the configuration is to be saved. This parameter is required.
-filename The name of the file in which the configuration is to be saved. This parameter is required.
-configname The logical name to be given to the configuration, which is used as the identifier in a particular configuration type. The combination of configuration name and configuration type is used to locate an existing configuration. This parameter is required.
-configtype The configuration type, which must be one of the following values (see the Related link for more details):
  • ACCESS_CONTROL
  • ACTIVITY_LOGGING_PROPERTIES
  • ANALYTICS
  • APPROVAL_PROCESS
  • ATOM_FEED_APPLICATION
  • BIRT_REPORT_DESIGNS
  • BSPACE_CONFIG
  • CCMDB_INTEGRATION
  • CONFIGURABLE_MODIFIER_CONFIGURATION
  • CONTENT_POLICY
  • DEFAULT_UI_PREFERENCES
  • EMAIL_TEMPLATE
  • ITCAM_LISTENER_INTEGRATION
  • NAMED_QUERY
  • PLUGIN_JAR
  • PLUGIN_PROPERTIES
  • POLICY
  • PROMOTION_PROPERTIES
  • RAM_INTEGRATION
  • SACL
  • SCHEDULER_PROPERTIES
  • SERVICE_DISCOVERY
  • SUBSCRIPTION_NOTIFIER
  • UDDI
  • UI_COLLECTION_VIEW
  • UI_DETAIL_VIEW
  • UI_HOME_PAGE
  • UI_LOGON_THEME
  • UI_MENU_BAR
  • UI_MESSAGE_JAR
  • UI_NAVIGATION_TREE
  • UI_PERSPECTIVE
  • UI_QUERY
  • UI_THEME
  • UI_THEME_CONFIG
  • UI_VIEW_QUERY_USER_DEF
  • USER_CONFIGURATION
  • WS_POLICY
  • XACML
The combination of configuration name and configuration type is used to locate an existing configuration. This parameter is required.
Note: If you do not specify -wsrrhelp, then the parameters you supply must include either -cluster or -cell, -node and -server.

Examples

These commands are run from the <WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell directory.
<WAS_INSTALL_ROOT>\bin\wsadmin
-f retrieveConfiguration.jacl -cluster cluster1 -filepath c:/tmp
-filename wsrr_uddi_config.xml -configname UDDIConfiguration
-configtype UDDI
<WAS_INSTALL_ROOT>\bin\wsadmin
-f retrieveConfiguration.jacl -cell cell1 -node node1
-server server1 -filepath c:/tmp -filename samplePolicy.jar
-configname SamplePolicyJAR -configtype PLUGIN_JAR