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.
Draft comment:
Does this command run in connected or not connected mode? If it runs in connected mode, include security role information. Make clear if the role is a BPM or WAS role. For a wsadmin command that runs in connected mode, you must specify the user and password parameters in the syntax and example.
Does this command run in connected or not connected mode? If it runs in connected mode, include security role information. Make clear if the role is a BPM or WAS role. For a wsadmin command that runs in connected mode, you must specify the user and password parameters in the syntax and example.
Location
Draft comment:
Is this correct?
Is this correct?
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
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15