Configure the Liberty server to start as a job in the QWAS9 subsystem on IBM i

We can optionally use the iAdmin POSTINSTALL command to configure the Liberty server to start as a job in the QWAS9 subsystem and to run under the QEJBSVR user profile. The iAdmin POSTINSTALL command configures the server start command to start servers as jobs in the QWAS9 subsystem. Additionally, the task can be used to:

  • Configure Liberty to run servers under the QEJBSVR user profile.

  • Configure the default JDK location by setting WLP_DEFAULT_JAVA_HOME in file wlp/etc/default.env to the location of the 32 bit version of the minimum supported Java level.

  • Add an entry for the product in the IBM i native product registry.

  • Create IBM i native libraries and objects such as the QWAS9 subsystem and the QEJBSVR user profile.

Call the iAdmin POSTINSTALL command only after Install Liberty by extracting an archive file.

Note: We must have *ALLOBJ and *SECADM special authority to use the iAdmin POSTINSTALL command.

  1. On the IBM i command line, run the STRQSH command to start the Qshell.

  2. In the resulting Qshell session, change the directory to the wlp directory.

  3. Run the following command.

      lib/native/os400/bin/iAdmin POSTINSTALL