This script stores the authorization component policy configuration so that the policy is available to all application restarts.
If you are administering the WSRR authorization configuration in a clustered environment and you are making multiple invocations of the provided jacl scripts, always apply each operation to the same server, using the -cell, -node and -server parameters, before completing the configuration change using persistPolicy.jacl or persistRoleMappings.jacl. This ensures the changes are made and propagated to all cluster nodes correctly.
wsadmin -f persistPolicy.jacl
[ -wsrrhelp ]
[ -wsrrhome <WSRR install directory> ]
[ -cluster <cluster name>] |
[
-cell <cell name>
-node <node name>
-server <server name>
]
(entered as a single line)
| 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. |
<WAS_INSTALL_ROOT>\bin\wsadmin
-f persistPolicy.jacl -cluster cluster1
<WAS_INSTALL_ROOT>\bin\wsadmin
-f persistPolicy.jacl -cell cell1 -node node1 -server server1