IBM Support

PI21421: APPLICATION DEPLOYMENT FAILS ON Z/OS WITH SECJ0305I

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Deployment of application fails on WAS z/OS V8.5 if user has EJB
    role DEPLOYER only and deployment is done via wsadmin script
    connecting from WINDOWS platform to WAS z/OS.
    .
    Deployment fails with following error:
    ---
    SECJ0305I: The role-based authorization check failed for
    admin-authz operation ConfigRepositoryProxy:update:
    ?Lcom.ibm.websphere.management.repository.DocumentContentSource;
    Lcom.ibm.websphere.management.repository.DocumentContentSource;
    
    Lcom.ibm.websphere.management.repository.Document;:
    com.ibm.ws.management.repository.RepositoryLockToken.
    The user ABCD (unique ID: user:abc.x.y.z/abcd) was
    not granted any of the following required roles:
    administrator, operator.
    ---
    It is correct that user abcd does NOT have EJB roles
    administrator or operator. But customer does not want to give
    his developers more rights than EJB role DEPLOYER .
    .
    Note:
    If deployment is done via AdminConsole then deployment
    works fine.
    If deployment is done on another WIN platform (and also
    connectiong via wsadmin) deployment works fine as well.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Deployer role failed to deploy an       *
    *                      application on z/OS environment.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Deployer role failed to deploy an application with error below:
    SECJ0305I: The role-based authorization
    check failed for
    admin-authz operation
    ConfigRepositoryProxy:update:
    ?Lcom.ibm.websphere.management.repository.DocumentContentSource;
    Lcom.ibm.websphere.management.repository.DocumentContentSource;
    Lcom.ibm.websphere.management.repository.Document;:
    com.ibm.ws.management.repository.RepositoryLockToken.
    The user ABCD (unique ID:
    user:abc.x.y.z/abcd) was
    not granted any of the following required roles:
    administrator, operator.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI21421

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-07

  • Closed date

    2014-07-28

  • Last modified date

    2014-07-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 January 2022