PQ67928: UNABLE TO USE MORE THAN ONE USER ROLE WITH ENTERPRISEAPP INSTALL

APAR status
Closed as program error.

Error description
I recreated the user problem using was v4.0.2 and reviewed the
entry in the InfoCenter. It appeared to indicate the syntax
should work.  I tried adding a comma between the list elements
in -userroles and this gave the following exception:
"WSCP0116E: Error Setting User Role Mappings; exception
information: tcl.lang.TclException "
.
The syntax I tried was the following:
****************************************************************
EnterpriseApp list
EnterpriseApp install /Node:PIG212/ C:/temp/PerfServletApp.ear
-defappserver /Node:PIG212/ApplicationServer:AppServ1/
-userroles {{PerfAdminRole test} {Client wasadmin}}
****************************************************************
Local fix Problem summary
****************************************************************
* USERS AFFECTED: For WebSphere Application Server             *
*                 4.0.3 or 4.0.4 users.                        *
****************************************************************
* PROBLEM DESCRIPTION: Unable to use more than one user role   *
*                      with EnterpriseApp install using wscp.  *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The problem was recreated using WebSphere 4.0.3.  The entry in
the InfoCenter was reviewed, it appeared to indicate this
should work.
The syntax tried was as follows:

EnterpriseApp list
EnterpriseApp install /Node:PIG212/ C:/temp/PerfServletApp.ear
-defappserver /Node:PIG212/ApplicationServer:AppServ1/
-userroles {{PerfAdminRole test} {Client wasadmin}}

The following error was received if more then one user role
mapping was specified in the EnterpriseApp install:
WSCP0116E: Error Setting User Role Mapping; exception
information:
tc.lang.TclException: WSCP0046E: Invalid option: Client wasadmin
Problem conclusion
The following files were modified to correct the problem when
using more than one user role with "EnterpriseApp install"
using WSCP:

EnterpriseAppScriptCmdHandler.java (code fixed on the APAR

PQ69333)
ScriptCommandHandler.java
AppCreation.java

The APAR also corrects the problem when there are empty roles
defined in the EAR file.  The Admin console should be able to
synchronize the authorization table by removing the empty role
from table and do not display empty roles in the "Mapping
Users to Roles" panel during application installation.  The
empty roles will cause the role mapping error in the Security
Center.
Temporary fix Comments
APAR information
APAR number PQ67928
Reported component name WEBSPHERE AE SO
Reported component ID 5630A2202
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-11-05
Closed date 2003-02-05
Last modified date 2003-02-05

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
WSCP          

Fix information
Fixed component name WEBSPHERE AE SO
Fixed component ID 5630A2202

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ67928
IBM Group: Software Group
Modified date: Feb 5, 2003