Using the Administration scripts to access the retriever MBeans
You can access remotely the BPD, BPEL or Case retriever MBeans using the administration
scripts to monitor the values of the attributes.
These administration scripts are located in the PFS_INSTALL_DIR/ibmProcessFederationServer/wlp-ext/adminScripts directory.
Preparing your environment for the Administration scripts
Before your use these scripts, make sure that the following environment variables are correctly
set in your environment:
JAVA_HOME: A directory where the Java™ runtime environment is installed. If this environment variable is not defined then thePATHis checked for a java executable.WLP_HOME: The Liberty wlp directory. This variable is used to locate the restConnector.jar file in WLP_HOME/clients. If this environment variable is not defined, then it is assumed that the restConnector.jar file is located in ./clients.PFS_ADMIN_HOME: The directory that contains the PFS_Admin_Command.jar file. If this environment variable is not defined, then it is assumed that this file is located in the current directory.
Using the Administration scripts
- Using the
listBpdRetrieverUniqueIDsscriptThis script displays the list of the unique retriever IDs of the running process retriever MBeans.
Syntax- Linux®/Unix:
listBpdRetrieverUniqueIDs.sh -file optionsFile [-verbose] - Windows:
listBpdRetrieverUniqueIDs.bat -file optionsFile [-verbose]
Options
The following table lists all the options available:Table 1. Options of the listBpdRetrieverUniqueIDsscriptOption Description Required -helpDisplays information about the options, the attributes that can be queried, and the properties that must be set in the options file. No -file filenameSpecifies the absolute path name of the option file that must contain the following properties: host=<Process Federation Server host name>port=<HTTPS server port>user=<user with administrative role defined on the server>password=<user password>trustStoreFile=<name and path of the truststore for SSL connection with the server>trustStoreType=<truststore type>trustStorePassword=<truststore password>
Yes -verboseVerbose output of the script execution. No - Linux®/Unix:
- Using the
listBpelRetrieverUniqueIDsscriptThis script displays the list of the unique retriever IDs of the running BPEL retriever MBeans.
Syntax- Linux/Unix:
listBpelRetrieverUniqueIDs.sh -file optionsFile [-verbose] - Windows:
listBpelRetrieverUniqueIDs.bat -file optionsFile [-verbose]
Options
The following table lists all the options available:Table 2. Options of the listBpelRetrieverUniqueIDsscriptOption Description Required -helpDisplays information about the options, the attributes that can be queried, and the properties that must be set in the options file. No -file filenameSpecifies the absolute path name of the option file that must contain the following properties: host=<Process Federation Server host name>port=<HTTPS server port>user=<user with administrative role defined on the server>password=<user password>trustStoreFile=<name and path of the truststore for SSL connection with the server>trustStoreType=<truststore type>trustStorePassword=<truststore password>
Yes -verboseVerbose output of the script execution. No - Linux/Unix:
- Using the
listCaseRetrieverUniqueIDsscriptThis script displays the list of the unique retriever IDs of the running Case retriever MBeans.
Syntax- Linux/Unix:
listCaseRetrieverUniqueIDs.sh -file optionsFile [-verbose] - Windows:
listCaseRetrieverUniqueIDs.bat -file optionsFile [-verbose]
Options
The following table lists all the options available:Table 3. Options of the listCaseRetrieverUniqueIDsscriptOption Description Required -helpDisplays information about the options, the attributes that can be queried, and the properties that must be set in the options file. No -file filenameSpecifies the absolute path name of the option file that must contain the following properties: host=<Process Federation Server host name>port=<HTTPS server port>user=<user with administrative role defined on the server>password=<user password>trustStoreFile=<name and path of the truststore for SSL connection with the server>trustStoreType=<truststore type>trustStorePassword=<truststore password>
Yes -verboseVerbose output of the script execution. No - Linux/Unix:
- Using the
monitorBpdRetrieverscriptYou can use this script to retrieve the attributes value of a running process retriever MBean.
Syntax- Linux/Unix:
monitorBpdRetriever.sh -file optionsFile -id BPD_uniqueRetrieverID -attribute attributeName [-verbose] - Windows:
monitorBpdRetriever.bat -file optionsFile -id BPD_uniqueRetrieverID -attribute attributeName [-verbose]
Options
The following table lists all the options available:Table 4. Options of the monitorBpdRetrieverscriptOption Description Required -helpDisplays information about the options, the attributes that can be queried, and the properties that must be set in the options file. No -file filenameSpecifies the absolute path name of the option file that must contain the following properties: host=<Process Federation Server host name>port=<HTTPS server port>user=<user with administrative role defined on the server>password=<user password>trustStoreFile=<name and path of the truststore for SSL connection with the server>-
trustStoreType=<truststore type> trustStorePassword=<truststore password>
Yes -idSpecifies the unique retriever ID of the process retriever MBean that this script accesses remotely. This unique retriever ID can be retrieved with script listBpdRetrieverUniqueIDs.Yes -attributeOne attribute among:connectionTimeoutreadTimeoutinternalRestUrlPrefixfederatedSystemInfofederatedSystemStatusInfolastSavedSearch
Yes -verboseVerbose output of the script execution. No - Linux/Unix:
- Using the
monitorBpelRetrieverscriptYou can use this script to retrieve the attributes value of a running BPEL retriever MBean.
Syntax- Linux/Unix:
monitorBpelRetriever.sh -file optionsFile -id BPEL_uniqueRetrieverID -attribute attributeName [-verbose] - Windows:
monitorBpelRetriever.bat -file optionsFile -id BPEL_uniqueRetrieverID -attribute attributeName [-verbose]
Options
The following table lists all the options available:Table 5. Options of the monitorBpelRetrieverscriptOption Description Required -helpDisplays information about the options, the attributes that can be queried, and the properties that must be set in the options file. No -file filenameSpecifies the absolute path name of the option file that must contain the following properties: host=<Process Federation Server host name>port=<HTTPS server port>user=<user with administrative role defined on the server>password=<user password>trustStoreFile=<name and path of the truststore for SSL connection with the server>-
trustStoreType=<truststore type> trustStorePassword=<truststore password>
Yes -idSpecifies the unique retriever ID of the BPEL retriever MBean that this script accesses remotely. This unique retriever ID can be retrieved with script listBpelRetrieverUniqueIDs.Yes -attributeOne attribute among:connectionTimeoutreadTimeoutinternalRestUrlPrefixfederatedSystemInfofederatedSystemStatusInfolastSavedSearch
Yes -verboseVerbose output of the script execution. No - Linux/Unix:
- Using the
monitorCaseRetrieverscriptYou can use this script to retrieve the attributes value of a running Case retriever MBean.
Syntax- Linux/Unix:
monitorCaseRetriever.sh -file optionsFile -id Case_uniqueRetrieverID -attribute attributeName [-verbose] - Windows:
monitorCaseRetriever.bat -file optionsFile -id Case_uniqueRetrieverID -attribute attributeName [-verbose]
Options
The following table lists all the options available:Table 6. Options of the monitorCaseRetrieverscriptOption Description Required -helpDisplays information about the options, the attributes that can be queried, and the properties that must be set in the options file. No -file filenameSpecifies the absolute path name of the option file that must contain the following properties: host=<Process Federation Server host name>port=<HTTPS server port>user=<user with administrative role defined on the server>password=<user password>trustStoreFile=<name and path of the truststore for SSL connection with the server>-
trustStoreType=<truststore type> trustStorePassword=<truststore password>
Yes -idSpecifies the unique retriever ID of the Case retriever MBean that this script accesses remotely. This unique retriever ID can be retrieved with script listCaseRetrieverUniqueIDs.Yes -attributeOne attribute among:connectionTimeoutreadTimeoutinternalRestUrlPrefixfederatedSystemInfofederatedSystemStatusInfo
Yes -verboseVerbose output of the script execution. No - Linux/Unix:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15