Configuring IBM i Access for Web in a Web application server environment

Installing IBM i Access for Web on the system running IBM i does not make it available for use. To use IBM i Access for Web, it must be configured in the Web application server environment.

Note: If you are upgrading IBM i Access for Web from a previous release, you must still configure it to enable the new functions. See Upgrade considerations for more information.

Configuration commands

IBM i Access for Web provides commands to perform and manage the configuration on the system. These commands must be used to perform actions such as configuring, starting, ending, and removing the IBM i Access for Web configuration within the Web application server.

Both CL and script commands are provided. The CL commands are installed to the library QIWA2. The script commands are installed to /QIBM/ProdData/Access/Web2/install and can be used within the Qshell environment.

The IBM i Access for Web CL commands are:

  • CFGACCWEB: Configure the IBM i Access for Web application server.
  • STRACCWEB: Start the IBM i Access for Web application server.
  • ENDACCWEB: End the running IBM i Access for Web application server.
  • RMVACCWEB: Remove the IBM i Access for Web application server configuration.
The IBM i Access for Web script commands are:
  • cfgaccweb: Configure the IBM i Access for Web application server.
  • straccweb: Start the IBM i Access for Web application server.
  • endaccweb: End the running IBM i Access for Web application server.
  • rmvaccweb: Remove the IBM i Access for Web application server configuration.
Note: When using the configuration commands for a WebSphere® Web application server, the Web application server must be running when the configuration commands are invoked. Also, the remove command must be run while the Web application server used to run IBM i Access for Web still exists. If the Web application server needs to be deleted, run the remove command first.

Providing different types of commands gives you the flexibility to manage IBM i Access for Web using the interface you are most comfortable with. The CL and script commands perform identical functions, they are just invoked differently. The parameters are also identical, but are input differently.

Command help

There are multiple ways to access help for CL commands. Enter the command name on the command line and press F1. Alternatively, enter the command name and press F4 to prompt the command, then move the cursor to any field and press F1 for help on that field.

To get help on a script command, specify the -? parameter. For example, start a Qshell session by running the command STRQSH. Then enter the command /QIBM/ProdData/Access/Web2/install/cfgaccweb -?

Configuration scenarios

If you are not familiar with the Web serving environment and need to create an HTTP and Web application server, or if you want to create a new Web environment for IBM i Access for Web, examples are available to walk you through the process.

If you are familiar with the Web serving environment and already have HTTP and Web application servers created and ready for use, examples are available that show you how to invoke the IBM i Access for Web commands and what to input into the commands.