This topic applies only to the IBM Business Process Manager Advanced configuration.

importSelectorArtifacts.jacl script

Use the importSelectorArtifacts.jacl script to import selector artifacts from a compressed file using a command line.

The importSelectorArtifacts.jacl script allows you to import selector artifacts from a compressed file to a cluster or server using the command line. This function is useful when you are importing the selectors artifacts for multiple applications at one time.

Prerequisites

The following conditions must be met:

The compressed file that you use as input must be created by the exportSelectorArtifacts.jacl script.

Location

Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.

Syntax

-f importSelectorArtifacts.jacl
filename
admin
[-user user_ID]
[-password password] 

Required parameters

filename
Specifies the name of the file that contains the artifacts to import.
Note: This file is created when you export selectors and selector components using the administrative console.
admin
Prevents conflicts when multiple users with the same user ID (for example, admin) import artifacts.

Optional parameters

-user user
Specifies the user ID the server uses to import the selector artifacts. Using this parameter and a password prevents multiple imports of the same artifact from occurring simultaneously.
-password password
Specifies the password associated with the user ID.

Example

The following script imports the selectors artifacts from the compressed file onlineorder.zip.

wsadmin -f importSelectorArtifacts.jacl c:/artifacts/onlineorder.zip admin