Migration
If you are already using iSeries Access for Web within another Web application server, refer to New Web application server considerations. This topic discusses additional cfgaccweb2 command parameters that can be input to migrate user data from an existing configuration to this new configuration.
For example, if you currently use iSeries Access for Web within the ASF Tomcat environment, the cfgaccweb2 command can migrate your iSeries Access for Web ASF Tomcat configuration to the integrated Web application server environment. To do this, run the command:
cfgaccweb2 -appsvrtype *INTAPPSVR -srcsvrtype *ASFTOMCAT -srcsvrinst
iwatomcat -shrusrdta *NO
Several messages similar to these will be displayed:
- Configuring iSeries Access for Web.
- Preparing to perform the configuration changes.
- Calling WebSphere to perform the configuration changes.
- iSeries 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 iSeries 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 iSeries Access for Web.
- Open a browser to the following address to access iSeries Access for Web Be sure enter it exactly as shown here:
http://<system_name>:2020/webaccess/iWAMain
- Log in using an i5/OS® user ID and password. The initial load of iSeries Access for Web might take a few seconds. The integrated Web application server is loading Java™ classes for the first time. Subsequent loads of iSeries Access for Web will be faster.
- The iSeries Access for Web Main page displays.
By following the preceding steps, you completed these tasks:
In this example, only the cfgaccweb2 command is used to configure iSeries Access for Web. For more information about using all the iSeries 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. Only the QShell script commands support the integrated Web application server.
Parent topic:
Examples for configuring a new Web application server environment