importBusinessRuleArtifacts.jacl script
Use the importBusinessRuleArtifacts.jacl script to import business rule artifacts from a compressed file using a command line.
The importBusinessRuleArtifacts.jacl script allows you to import business rule artifacts from a compressed file to a cluster or server using the command line. This function is useful when you are importing the business rules 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 exportBusinessArtifacts.jacl script.
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
-f importBusinessRuleArtifacts.jacl
filename
admin
[-user user_ID]
[-password password]
Required parameters
- -f
- Specifies the script file to run.
- filename
- Specifies the name of the file that contains the artifacts to
import.Note: This file is created when you export business rules 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 business rule 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 business rules artifacts from the compressed file onlineorder.zip.
wsadmin -f importBusinessRuleArtifacts.jacl c:/artifacts/onlineorder.zip admin