uteconfig.bat|.sh batch script

You can use the uteconfig script to configure the unit test environment (UTE). Run the script to create a job scheduler configuration on the WebSphere® Application Server profile that is 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. You 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

  1. Open a command prompt on a bin directory that has the uteconfig.bat|.sh script.

    It is recommended 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, your product installation must have only one application server profile.

  2. Run the uteconfig.bat|.sh script.

The script takes about one minute to run and provides progress messages.

Options

You 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

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 5, 2017 17:54
File name: rgrid_uteconfig.html