uteconfig.bat|.sh batch script
We can use the uteconfig script to configure the unit test environment (UTE). Run the script to create a job scheduler configuration on the WAS profile used in Rational Application Developer.
Purpose
Use the uteconfig script to create a job scheduler configuration on the application server profile. The script creates Derby resources, deploys the job scheduler application (LongRunningScheduler.ear), creates a work manager, and otherwise configures a UTE on the profile. The UTE provides an environment for testing applications developed with Rational Application Developer.
Location
The uteconfig.bat|.sh script is located in the bin directory of an application server profile; for example, app_server_root/profiles/AppSrv01/bin. We must have a stand-alone application server profile to run the script.
The uteconfig.bat|.sh script also is located in the main bin directory of the product; for example, app_server_root/bin.
Usage
- Open a command prompt on a bin directory that has the uteconfig.bat|.sh script.
IBM recommends to run the uteconfig script from the bin directory of the application server profile. To run the uteconfig script successfully from the main bin directory, app_server_root/bin, the product installation must have only one application server profile.
- Run the uteconfig.bat|.sh script.
The script takes about one minute to run and provides progress messages.
Options
We can optionally specify one of the following arguments.
- authorizeAllAuthenticated Sets special subjects for all 3 roles: (lradmin, lrmonitor, lrsubmitter) to All Authenticated Users.
- authorizeEveryone Sets special subjects for all 3 roles: (lradmin, lrmonitor, lrsubmitter) to "Everyone".
- authorizeUser username realmname Maps the specified user to all 3 roles: (lradmin, lrmonitor, lrsubmitter). This argument does not create the user; the specified user must already exist.
Example
./uteconfig.sh
Related tasks
Configure the unit test environment (UTE) in Rational Application Developer