For IBM i platforms

Uninstalling the Liberty application-serving environment from IBM i

By calling the iAdmin PREUNINSTALL command, you can remove any IBM® i native objects and libraries created by the iAdmin POSTINSTALL command. Then you can manually remove the files comprising your Liberty application-serving environment.

Before you begin

After installing the Liberty application-serving environment by executing a JAR file on IBM i, you might have used the iAdmin POSTINSTALL command to configure the Liberty server to launch as a job in the QWAS9 subsystem and to run under the QEJBSVR user profile. If so, you must remove the IBM i native objects and libraries created at that time before you manually remove the files that comprise your Liberty application-serving environment.
Note: You must have *ALLOBJ and *SECADM special authority to use the iAdmin POSTINSTALL command.

Procedure

  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 PREUNINSTALL

What to do next

Manually remove the files that comprise your Liberty application-serving environment.