IBM Support

PI35756: Deploying an application with an embedded CICS resource adapter fails with an AccessControlException.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When deploying an application with an embedded CICS resource
    adapter, with Java2 Security enabled, the following stack
    trace might be observed:
    
    java.security.AccessControlException: Access denied
    (java.util.PropertyPermission
    com.ibm.connector2.cics.dumplength read)
    at
    java.security.AccessController.throwACE(AccessController.java:10
    2)
    at
    java.security.AccessController.checkPermission(AccessController.
    java:184)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:5
    44)
    at
    com.ibm.ws.security.core.SecurityManager.checkPermission(Securit
    yManager.java:208)
    at
    java.lang.SecurityManager.checkPropertyAccess(SecurityManager.ja
    va:1293)
    at java.lang.System.getProperty(System.java:408)
    at java.lang.System.getProperty(System.java:392)
    at com.ibm.connector2.cics.CICSLogHelper$1.run(Unknown Source)
    at com.ibm.connector2.cics.CICSLogHelper$1.run(Unknown Source)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:291)
    at com.ibm.connector2.cics.CICSLogHelper.<init>(Unknown Source)
    at com.ibm.connector2.cics.CICSResourceAdapter.<init>(Unknown
    Source)
    at com.ibm.connector2.cics.ECIResourceAdapter.<init>(Unknown
    Source)
    at java.lang.J9VMInternals.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1695)
    at
    com.ibm.ws.management.application.J2CAppUtils.getDefinedProperti
    es(J2CAppUtils.java:409)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: AccessControlException during CICS      *
    *                      adapter installation.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Recent CICS adapters require a PropertyPermission that was
    not being granted during installation.
    

Problem conclusion

Temporary fix

  • Turn off Java2 Security during the installation, then turn it
    on again afterwards.
    

Comments

APAR Information

  • APAR number

    PI35756

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-02-25

  • Closed date

    2015-03-05

  • Last modified date

    2015-06-29

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
28 April 2022