IBM Support

PI73842: INTERMITTENTLY JAVA 2 SECURITY RUNTIME THROWN THE WARNING MESSAGE SECJ0314W DURING APPLICATION STARTUP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Enterprise JEE applications consist of a set of EARs that are
    deployed into WebSphere Application Servers. Multiple EARs are
    deployed into one server. Most EARs access a directory that is
    a NFS 3 file system mounted to
    /usr/data/mydata.
    Java 2 Security is activated and used. All EARs contain a
    was.policy file that includes the following permissions:
    grant codeBase "file:${application}" {
    
      permission java.io.FilePermission "${/}PATH${/}-
    ", "read,write,execute,delete";
    
    }
    When starting a server, we sporadically experience the error
    SECJ0314W: Current Java 2 Security policy reported a potential
    violation of Java 2 Security Permission... java.security.
    AccessControlException: Access denied ("java.io.FilePermission"
    "PATH" "read") during startup.
    

Local fix

  • The problem occurs sporadically and randomly across different
    EARs. Our solution is to restart the affected server until all
    EAR modules started without errors.
    
    We experienced the problem with WebSphere 7.0.0.31 and 8.5.5.7
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When Java 2 Security is enabled,        *
    *                      intermittent                            *
    *                      java.security.AccessControlException    *
    *                      may occur.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Java 2 Security permissions may be configured to allow access
    to a resource, yet the access is not allowed. A
    java.security.AccessControlException occurs. Subsequent
    attempts to access the same resource may be successful.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI73842

  • 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

    2016-12-15

  • Closed date

    2017-03-14

  • Last modified date

    2017-03-14

  • 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

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 October 2021