End Access for Web (ENDACCWEB2)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The End iSeries Access for Web (ENDACCWEB2) command is used to end, or stop, the running iSeries Access for Web configuration within the web application server IBM WebSphere Application Server.

This command will end the running configuration that was defined using the Configure Access for Web (CFGACCWEB2) command.

When the command runs status information will be displayed indicating what the command is processing. As the command runs, detailed status information and error information will also be logged to stream file /QIBM/UserData/Access/Web2/logs/cmds.log.

The iSeries Access for Web configuration can also be ended (stopped) using the web application server's administration interface.

Restrictions:

Top

Parameters

Keyword Description Choices Notes
APPSVRTYPE Web application server type Character value Required, Positional 1
WASINST Web server instance name Character value, *DEFAULT Optional
WASPRF Web server profile name Character value, *DEFAULT Optional
APPSVR Application server name Character value, *DEFAULT Optional
WASUSRID WebSphere user ID Character value, *NONE Optional
WASPWD WebSphere password Character value, *NONE Optional
Top

Web application server type (APPSVRTYPE)

Specifies a web application server that contains a iSeries Access for Web configuration to be ended.

This is a required parameter.

*WAS50
WebSphere Application Server V5.0 for iSeries
*WAS50EXP
WebSphere Application Server V5.0 - Express for iSeries
*WAS51
WebSphere Application Server V5.1 for iSeries
*WAS51EXP
WebSphere Application Server V5.1 - Express for iSeries
*WAS60
WebSphere Application Server V6.0 for OS/400
*WAS60ND
WebSphere Application Server Network Deployment V6.0 for OS/400
Top

Web server instance name (WASINST)

Specifies an IBM WebSphere Application Server instance that contains an iSeries Access for Web configuration to end.

This parameter is only applicable when the Web application server type (APPSVRTYPE) parameter is set to one of the following web application servers

*DEFAULT
When *DEFAULT is specified, iSeries Access for Web will be ended within the instance called 'default'.
name
Specify the name of the WebSphere instance that contains an iSeries Access for Web configuration to end. This is the same instance name that was used when the Configure Access for Web (CFGACCWEB2) command was run.
Top

Web server profile name (WASPRF)

Specifies an IBM WebSphere Application Server profile that contains an iSeries Access for Web configuration to end.

This parameter is only applicable when the Web application server type (APPSVRTYPE) parameter is set to one of the following web application servers

*DEFAULT
When *DEFAULT is specified, iSeries Access for Web will be ended within the profile called 'default'.
name
Specify the name of the WebSphere profile that contains an iSeries Access for Web configuration to end. This is the same profile name that was used when the Configure Access for Web (CFGACCWEB2) command was run.
Top

Application server name (APPSVR)

Specifies the existing application server to which iSeries Access for Web has been configured and is to be ended.

A WebSphere instance/profile can contain one or more application servers. The application server provides the environment in which deployed web applications execute.

This parameter is only applicable when the Web application server type (APPSVRTYPE) parameter is set to end iSeries Access for Web for one of the following web application servers:

*DEFAULT
The following applies when the APPSVRTYPE parameter is set to *WAS50/*WAS51/*WAS60/*WAS60ND:
  • When the WASINST/WASPRF parameter is set to *DEFAULT, this value will be set to 'server1'
  • When the WASINST/WASPRF parameter is set to something other than *DEFAULT, this value will be set to the value specified for the WASINST/WASPRF parameter.

The following applies when the APPSVRTYPE parameter is set to *WAS50EXP/*WAS51EXP:

  • When the WASINST parameter is set to *DEFAULT, this value will be set to 'default'.
  • When the WASINST parameter is set to something other than *DEFAULT, this value will be set to the value specified in the WASINST parameter.
name
Specify the name of the application server within the WebSphere instance/profile where iSeries Access for Web is to be ended.
Top

WebSphere user ID (WASUSRID)

If the WebSphere application server instance/profile specified in the WASINST/WASPRF and APPSVR parameters has security enabled, this parameter is required.

When this command runs it will make changes to the WebSphere instance/profile configuration or the running state of the iSeries Access for Web web application. When WebSphere security has been enabled for an instance/profile, authentication information must be supplied to make those changes.

The WASUSRID and WASPWD parameters provide the required authentication information.

To determine what value to specify for this parameter, refer to the Authentication Mechanisms and User Registries settings under the Security configuration in the WebSphere administration console.

This parameter does not apply to the WebSphere Portal or ASF Tomcat environments.

character-value
Specify the user ID.

For additional information, please refer to the WebSphere Security information in the iSeries InfoCenter information http://www.ibm.com/servers/eserver/iseries/infocenter/

Top

WebSphere password (WASPWD)

If the WebSphere application server instance/profile specified in the WASINST/WASPRF and APPSVR parameters has security enabled, this parameter is required.

When this command runs it will make changes to the WebSphere instance/profile configuration or the running state of the iSeries Access for Web web application. When WebSphere security has been enabled for an instance/profile, authentication information must be supplied to make those changes.

The WASUSRID and WASPWD parameters provide the required authentication information.

To determine what value to specify for this parameter, refer to the Authentication Mechanisms and User Registries settings under the Security configuration in the WebSphere administration console.

This parameter does not apply to the WebSphere Portal or ASF Tomcat environments.

character-value
Specify the password for the user ID.

For additional information, please refer to the WebSphere Security information in the iSeries InfoCenter information http://www.ibm.com/servers/eserver/iseries/infocenter/

Top

Examples

Example 1: Ending iSeries Access for Web in a WebSphere Application Server V5.0 for iSeries

ENDACCWEB2   APPSVRTYPE(*WAS50)  WASINST(DEPTXYZ)
             APPSVR(XYZSERVER)

This command will end the iSeries Access for Web configuration within WebSphere Application Server V5.0 for iSeries. In this example, the configuration within the user created instance DEPTXYZ will be ended.

Example 2: Ending iSeries Access for Web in a WebSphere Application Server V5.0 - Express for iSeries

ENDACCWEB2   APPSVRTYPE(*WAS50EXP)  WASINST(MYINST)
             APPSVR(*DEFAULT)

This command will end the iSeries Access for Web configuration within WebSphere Application Server V5.0 - Express for iSeries. In this example, the configuration within the user created instance MYINST will be ended.

Example 3: Ending iSeries Access for Web in a WebSphere Application Server V6.0 for OS/400

ENDACCWEB2   APPSVRTYPE(*WAS60)  WASPRF(default)
             APPSVR(server1)

This command will end the iSeries Access for Web configuration within WebSphere Application Server V6.0 for OS/400. In this example, the configuration within a profile called default and an application server named server1 will be ended.

Example 4: Ending iSeries Access for Web in a WebSphere Application Server Network Deployment V6.0 for OS/400

ENDACCWEB2   APPSVRTYPE(*WAS60ND)  WASPRF(default)
             APPSVR(server1)

This command will end the iSeries Access for Web configuration within WebSphere Application Server Network Deployment V6.0 for OS/400. In this example, the configuration within a profile called default and an application server named server1 will be ended.

Top

Error messages

*ESCAPE Messages

IAW0003
End iSeries Access for Web command failed.
IAW000B
Value specified for parameter APPSVRTYPE is not valid.
Top