Use this information to configure IBM i
Access for Web for running in an
integrated Web application server environment.
To configure IBM i
Access for Web for
the integrated Web application server, do the following:
- Sign on to your system.
- IBM i
Access for Web Web provides commands
to configure the product. Two different commands are provided, a CL
command and a Qshell script command. Both commands provide and perform
the same function. Use the version which best suits your circumstances.
To use the CL command, follow these steps:
- Configure IBM i
Access for Web using
the following command:
CFGACCWEB APPSVRTYPE(*INTAPPSVR)
These
are the parameters used:
- APPSVRTYPE
- Tells the command which Web application server to configure.
For help on this command and the parameters,
press F1.
Migration Note: If you
are already using
IBM i
Access for Web within
another Web application server, refer to
New
Web application server considerations. This topic discusses
additional
CFGACCWEB
command parameters
that can be input to migrate user data from an existing configuration
to this new configuration.
- ii. Several messages similar to these will be displayed:
- Configuring IBM i
Access for Web.
- Preparing to perform the configuration changes.
- IBM i
Access for Web command
has completed.
- Press Enter when the command completes to exit the display session.
To use the Qshell script command, follow these steps:
- Start the Qshell environment by using the following CL command:
QSH
- Make the IBM i
Access for Web directory
the current directory. Run this command:
cd /QIBM/ProdData/Access/Web2/install
- Configure IBM i
Access for Web for
the Web application server:
cfgaccweb -appsvrtype "*INTAPPSVR"
These
are the parameters used:
- -appsvrtype
- Tells the command which Web application server to configure.
For help on this command and the parameters, specify
the -? parameter. Migration Note: If
you are already using
IBM i
Access for Web within
another Web application server, refer to
New
Web application server considerations. This topic discusses
additional
cfgaccweb
command parameters
that can be input to migrate user data from an existing configuration
to this new configuration.
- Several messages similar to these will be displayed:
- Configuring IBM i
Access for Web.
- Preparing to perform the configuration changes.
- IBM i
Access for Web command
has completed.
- Press F3 when the command completes to exit the Qshell
session.
- If the command were to fail or indicate an error, refer
to the log files:
- /QIBM/UserData/Access/Web2/logs/cmds.log
High level,
cause and recovery information; translated.
- /QIBM/UserData/Access/Web2/logs/cmdstrace.log
Detailed
command flow for IBM Software
Service; English only.
- Stop and start the integrated Web application
server to enable the changes made to the configuration. Start the IBM i
Access for Web HTTP Web server.
Use the following commands to enable the configuration changes
and start the Web serving environment on your system:
ENDTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
STRTCPSVR SERVER(*HTTP) HTTPSVR(IWADFT)
- Use a browser to access IBM i
Access for Web.
- Open a browser to the following address to access IBM i
Access for Web Be sure enter it exactly
as shown here:
http://<system_name>:2020/webaccess/iWAMain
- Log in using an IBM i user ID and password.
The initial load of IBM i
Access for Web might
take a few seconds. The integrated Web application server is loading Java™ classes for the first time.
Subsequent loads of IBM i
Access for Web will
be faster.
- The IBM i
Access for Web Main page displays.
By following the preceding steps, you completed these tasks:
- Configured IBM i
Access for Web for
the integrated Web application server.
- Stopped and restarted the integrated Web application server and
HTTP Web server. IBM i
Access for Web started
when the integrated Web application server started.
- Verified that IBM i
Access for Web can
be accessed from a Web browser.
In this example, only the
CFGACCWEB/cfgaccweb
command
is used to configure
IBM i
Access for Web.
For more information about using all the
IBM i
Access for Web commands, use the
CL command finder. As shown above, there are also equivalent Qshell
script commands.
You can refer to the CL command online help to
learn how to use the other Qshell script commands.