IBM Support

PM65092: ACCESSCONTROLEXCEPTION OCCURS IN MYFACES CLASSPATH.JAVA

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exception can occur when using MyFaces
    JavaServer Faces (JSF):
    Caused by: java.security.AccessControlException: Access denied
    (java.io.FilePermission \META-INF read)
    at
    java.security.AccessController.checkPermission(AccessController.
    java:108)
    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.checkRead(SecurityManager.java:883)
    at java.io.File.exists(File.java:742)
    at
    org.apache.myfaces.view.facelets.util.Classpath._searchDir(Class
    path.java:116)
    at
    org.apache.myfaces.view.facelets.util.Classpath._searchResource(
    Classpath.java:106)
    at
    org.apache.myfaces.view.facelets.util.Classpath.search(Classpath
    .java:61) |
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Versions   *
    *                  8.0 and 8.5 users of JavaServer Faces(JSF)  *
    *                  MyFaces and Java2 Security.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: A                                       *
    *                      java.security.AccessControlException    *
    *                      can occur when using MyFaces JSF.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The exception occurs only when Java2 Security is enabled. An
    example of the exception seen is:
    Caused by: java.security.AccessControlException: Access denied
    (java.io.FilePermission \META-INF read)
    at
    java.security.AccessController.checkPermission(AccessController.
    java:108)
    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.checkRead(SecurityManager.java:883)
    at java.io.File.exists(File.java:742)
    at
    org.apache.myfaces.view.facelets.util.Classpath._searchDir(Class
    path.java:116)
    at
    org.apache.myfaces.view.facelets.util.Classpath._searchResource(
    Classpath.java:106)
    at
    org.apache.myfaces.view.facelets.util.Classpath.search(Classpath
    .java:61)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM65092

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-21

  • Closed date

    2012-08-06

  • Last modified date

    2012-08-06

  • 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

  • R800 PSY

       UP

  • 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.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021