Remove Access for Web (RMVACCWEB2)

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

The Remove IBM i Access for Web (RMVACCWEB2) command is used to remove the IBM i Access for Web configuration from the web application servers:

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

This command will not delete IBM i Access for Web from the system. This command will only remove the IBM i Access for Web configuration from the specified web application server.

This command will not delete user data that was generated while using IBM i Access for Web. User data was written to the following locations based on the value specified for the Web application server type (APPSVRTYPE) parameter when the configuration was defined using the CFGACCWEB2 command:

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

The IBM i Access for Web configuration could be removed using the web application server's administration interface. This is not recommended! The RMVACCWEB2 command will clean up internal configuration information that the web application server's administration interface will not.

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
INSTANCE Instance name Character value, *ADMIN Optional
TCSVRNAME Tomcat server name Character value Optional
WPUSRID WebSphere Portal user ID Character value Optional
WPPWD WebSphere Portal password Character value Optional
WPURL WebSphere Portal config URL Character value Optional
WPDFTPAG WebSphere Portal default pages *DELETE, *NODELETE Optional
WASINSDIR WebSphere install directory Path name, *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 an IBM i Access for Web configuration to be removed.

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
*WAS61BASE
WebSphere Application Server V6.1 for i5/OS
*WAS61EXP
WebSphere Application Server - Express V6.1 for i5/OS
*WAS61ND
WebSphere Application Server Network Deployment V6.1 for i5/OS
*WAS70BASE
WebSphere Application Server V7.0 for IBM i
*WAS70EXP
WebSphere Application Server - Express V7.0 for IBM i
*WAS70ND
WebSphere Application Server Network Deployment V7.0 for IBM i
*INTAPPSVR
IBM integrated Web application server for i
*WP50
WebSphere Portal V5.0
*WP51
WebSphere Portal V5.1
*WP60
WebSphere Portal V6.0 running on WebSphere Application Server V6.0 for OS/400 ("Base edition")
*WP60ND
WebSphere Portal V6.0 running on WebSphere Application Server Network Deployment V6.0 for OS/400
*WP61BASE
WebSphere Portal V6.1 running on WebSphere Application Server ("Base edition")
*WP61ND
WebSphere Portal V6.1 running on WebSphere Application Server Network Deployment
*WSE
Workplace Services Express
*ASFTOMCAT
Apache Software Foundation (ASF) Tomcat
Top

Web server instance name (WASINST)

Specifies an IBM WebSphere Application Server instance that contains an IBM i Access for Web configuration to remove.

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

When the Web application server type (APPSVRTYPE) parameter is set to *WP50/*WP51/*WSE, this parameter is the WebSphere instance that WebSphere Portal has been configured to run within.

*DEFAULT
When *DEFAULT is specified, IBM i Access for Web will be removed from the instance called 'default'.
name
Specify the name of the WebSphere instance that contains an IBM i Access for Web configuration to remove. 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 IBM i Access for Web configuration to remove.

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, IBM i Access for Web will be removed from the profile called 'default'.
name
Specify the name of the WebSphere profile that contains an IBM i Access for Web configuration to remove. 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 IBM i Access for Web has been configured and is to be removed.

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 remove IBM i Access for Web from one of the following web application servers:

*DEFAULT
The following applies when the APPSVRTYPE parameter is set to *WAS50/*WAS51/*WAS60/*WAS60ND/*WAS61BASE/*WAS61EXP/*WAS61ND/ *WAS70BASE/*WAS70EXP/*WAS70ND:
  • 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 IBM i Access for Web is to be removed.
Top

Instance name (INSTANCE)

Specifies an IBM integrated Web application server for i instance that contains an IBM i Access for Web configuration to remove.

This parameter is only applicable when the Web application server type (APPSVRTYPE) parameter is set to

*ADMIN
When the INSTANCE parameter is set to *ADMIN, IBM i Access for Web will be removed from the Admin integrated Web application server instance.
name
Specify the name of the IBM integrated Web application server for IBM i instance that contains an IBM i Access for Web configuration to remove. This is the same instance name that was used when the Configure Access for Web (CFGACCWEB2) command was run.
Top

Tomcat server name (TCSVRNAME)

This parameter specifies the name of an Apache Software Foundation (ASF) Tomcat server that contains an IBM i Access for Web configuration to remove.

A parameter value is required when *ASFTOMCAT is specified for the Web application server type (APPSVRTYPE) parameter.

name
Specify the name of an existing ASF Tomcat server.
Top

WebSphere Portal user ID (WPUSRID)

Specifies the IBM WebSphere Portal administrative user ID that will be used to remove the IBM i Access for Web configuration in WebSphere Portal.

Changes to the WebSphere Portal configuration require a user ID be specified to make the changes. This is the same administrator level user ID that would be used to login to the WebSphere Portal user interface to perform administrator level functions.

This value is sent to the system unencrypted using an HTTP connection. If the connection could be compromised, this command should only be run within a protected intranet environment.

A parameter value is required when WebSphere Portal or WSE is specified for the Web application server type (APPSVRTYPE) parameter.

character-value
Specify the administrative user ID.
Top

WebSphere Portal password (WPPWD)

Specifies the password for the IBM WebSphere Portal administrative user ID specified for the WPUSRID parameter.

This value is sent to the system unencrypted using an HTTP connection. If the connection could be compromised, this command should only be run within a protected intranet environment.

A parameter value is required when WebSphere Portal or WSE is specified for the Web application server type (APPSVRTYPE) parameter.

character-value
Specify the password for the IBM WebSphere Portal administrative user.
Top

WebSphere Portal config URL (WPURL)

Specifies the universal resource locator (URL) to access the WebSphere Portal configuration servlet. This servlet will remove the IBM i Access for Web configuration information in WebSphere Portal.

This URL is comprised of the following elements:

Examples for this value could be

A parameter value is required when WebSphere Portal or WSE is specified for the Web application server type (APPSVRTYPE) parameter.

character-value
Specify the URL to access the WebSphere Portal configuration servlet.
Top

WebSphere Portal default pages (WPDFTPAG)

When removing the IBM i Access for Web portlets from the WebSphere Portal configuration, the default WebSphere Portal pages that may have been created using the CFGACCWEB2 command can be deleted.

*DELETE
Delete the default IBM i Access for Web pages that were created when the CFGACCWEB2 command was run.
*NODELETE
The default IBM i Access for Web pages that were created when the CFGACCWEB2 command was run will not be deleted.
Top

WebSphere install directory (WASINSDIR)

A version of WebSphere Application Server has been configured to run IBM i Access for Web. This parameter specifies the directory in the IBM i integrated file system where that version of WebSphere Application Server was installed.

Newer versions of WebSphere Application Server can be installed to multiple locations in the integrated file system. This value tells IBM i Access for Web which WebSphere Application Server installation was configured to run IBM i Access for Web.

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, the path used will be based on the value specified in the Web application server type (APPSVRTYPE) parameter.
  • *WAS61BASE - /QIBM/ProdData/WebSphere/AppServer/V61/Base
  • *WAS61EXP - /QIBM/ProdData/WebSphere/AppServer/V61/Express
  • *WAS61ND - /QIBM/ProdData/WebSphere/AppServer/V61/ND
  • *WAS70BASE - /QIBM/ProdData/WebSphere/AppServer/V7/Base
  • *WAS70EXP - /QIBM/ProdData/WebSphere/AppServer/V7/Express
  • *WAS70ND - /QIBM/ProdData/WebSphere/AppServer/V7/ND
  • *WP61BASE - /QIBM/ProdData/WebSphere/AppServer/V61/Base
  • *WP61ND - /QIBM/ProdData/WebSphere/AppServer/V61/ND
path-name
Specify the installation path of WebSphere Application Server.
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 IBM i 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, integrated Web application server, or ASF Tomcat environments.

character-value
Specify the user ID.

For additional information, please refer to the WebSphere Security information in the IBM i InfoCenter information http://www.ibm.com/systems/i/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 IBM i 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 WebSphere user ID (WASUSRID) and WebSphere password (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, integrated Web application server, 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 IBM i InfoCenter information http://www.ibm.com/systems/i/infocenter/

Top

Examples

Example 1: Removing the Configuration from WebSphere Application Server V6.0 for OS/400

RMVACCWEB2   APPSVRTYPE(*WAS60)  WASPRF(iwa60)
             APPSVR(iwa60)

This command will remove the IBM i Access for Web configuration from a user created WebSphere profile named iwa60 within WebSphere Application Server V6.0 for OS/400.

Example 2: Removing the Configuration from WebSphere Application Server - Express V6.1 for i5/OS

RMVACCWEB2   APPSVRTYPE(*WAS61EXP)  WASPRF(iwa61exp)
             APPSVR(iwa61exp)

This command will remove the IBM i Access for Web configuration from the profile named iwa61exp in the WebSphere Application Server - Express V6.1 for i5/OS configuration.

Example 3: Removing the Configuration from WebSphere Portal

RMVACCWEB2   APPSVRTYPE(*WP60)  WASPRF(iwawps60)
             WPUSRID(wpsadmin) WPPWD(wpspassword)
             WPURL('mysystem.mydomain.com/wps/config')
             WPDFTPAG(*DELETE)

This command will remove the IBM i Access for Web configuration from WebSphere Portal V6.0 running in WebSphere Application Server V6.0 ("Base edition"). This example inputs the WebSphere Portal administrator user ID and password, the URL to the portal configuration servlet, and tells the command to delete the default IBM i Access for Web WebSphere Portal pages.

Example 4: Removing the Configuration from the Admin integrated Web application server Instance

RMVACCWEB2   APPSVRTYPE(*INTAPPSVR) TCSVRNAME(*ADMIN)

This command will remove the IBM i Access for Web configuration from the ASF Tomcat configuration.

Example 5: Removing the Configuration from WebSphere Application Server Network Deployment V7.0 for IBM i

RMVACCWEB2   APPSVRTYPE(*WAS70ND)  WASPRF(iwa70nd)
             APPSVR(iwa70nd)

This command will remove the IBM i Access for Web configuration from a user created WebSphere profile named iwa70nd within WebSphere Application Server Network Deployment V7.0 for IBM i.

Top

Error messages

*ESCAPE Messages

IAW0004
Remove IBM i Access for Web command failed.
IAW000B
Value specified for parameter APPSVRTYPE is not valid.
IAW000E
The TCSVRNAME parameter is required.
IAW0011
The WPUSRID, WPPWD, and WPURL parameters are required.
Top