IBM Support

PI09718: ACCESSCONTROLEXCEPTION OCCURS WHEN SOME TRACES TRY TO LOAD A "CO M.IBM.WS.*" RESOURCE BUNDLE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • AccessControlException: (WebSphereRuntimePermission
    accessRuntimeClasses) This exception happens when Java 2
    security is enabled and when some traces try to load a
    "com.ibm.ws.*" resource bundle.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5.5.1                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: AccessControlException:(WebSphereRuntim *
    *                      ePermission accessRuntimeClasses)       *
    *                      This exception happens when Java        *
    *                      2 security is enabled and when some     *
    *                      traces try to load a "com.ibm.ws.*"     *
    *                      resource bundle.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem happens when some Application server traces try
    to load a "com.ibm.ws.*" resource bundle. The new stack trace
    is this:
    java.security.AccessControlException: Access denied
    (com.ibm.websphere.security.WebSphereRuntimePermission
    accessRuntimeClasses)
    at
    java.security.AccessController.checkPermission(AccessController.
    java:132)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:5
    44)
    at
    com.ibm.ws.security.core.SecurityManager.checkPermission(Securit
    yManager.java:219)
    at
    com.ibm.ws.classloader.ProtectionClassLoader.loadClass(Protectio
    nClassLoader.java:87)
    at
    com.ibm.ws.classloader.ProtectionClassLoader.loadClass(Protectio
    nClassLoader.java:58)
    at
    com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundCla
    ssLoader.java:584)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:650)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:213)
    at
    java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:498
    )
    at
    java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:538
    )
    at
    java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:549
    )
    at
    java.util.ResourceBundle.getBundle(ResourceBundle.java:168)
    at
    com.ibm.ejs.ras.TraceNLS.getResourceBundle(TraceNLS.java:787)
    at
    com.ibm.ws.logging.cbe.WsNoTemplateContentHandlerImpl.getResourc
    eBundle(WsNoTemplateContentHandlerImpl.java:677)
    at
    com.ibm.ws.logging.cbe.WsNoTemplateContentHandlerImpl.completeEv
    ent(WsNoTemplateContentHandlerImpl.java:345)
    at
    com.ibm.ws.logging.object.WsLogRecordFactory.createWsLogRecord(W
    sLogRecordFactory.java:261)
    at com.ibm.ejs.ras.Tr.logToJSR47Logger(Tr.java:1705)
    at com.ibm.ejs.ras.Tr.fireEvent(Tr.java:1632)
    at com.ibm.ejs.ras.Tr.fireMessageEvent(Tr.java:1564)
    at com.ibm.ejs.ras.Tr.info(Tr.java:985)
    at
    com.ibm.tx.jta.embeddable.impl.EmbeddableTranManagerImpl.complet
    eTxTimeout(EmbeddableTranManagerImpl.java:61)
    at
    com.ibm.tx.jta.embeddable.impl.EmbeddableTranManagerSet.complete
    TxTimeout(EmbeddableTranManagerSet.java:89)
    at
    com.ibm.ejs.csi.TransactionControlImpl.completeTxTimeout(Transac
    tionControlImpl.java:1312)
    at
    com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:268)
    at
    com.ibm.ejs.csi.TranStrategy.handleException(TranStrategy.java:2
    99)
    at
    com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionCon
    trolImpl.java:575)
    at
    com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:
    5000)
    at
    com.ibm.bpe.framework.sca.EJSLocalStatelesscomponent_SUB063Paren
    tMic_254449c2.bpc_invoke(Unknown Source)
    at
    com.ibm.bpe.framework.BusinessProcessServiceImpl.call(BusinessPr
    ocessServiceImpl.java:38875)
    at
    com.ibm.bpe.framework.BusinessProcessServiceImpl.call(BusinessPr
    ocessServiceImpl.java:293)
    at
    com.ibm.bpe.framework.BusinessFlowManagerBean.call(BusinessFlowM
    anagerBean.java:104)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI09718

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-17

  • Closed date

    2014-04-03

  • Last modified date

    2014-04-03

  • 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