A fix is available
APAR status
Closed as program error.
Error description
Error Message: When Java security manager is enabled, the application will encounter the following permission error: 'Access denied ("java.lang.RuntimePermission" "getProtectionDomain")'. The permission error occurs while formatting a message for NoSuchMethodException, and it causes an AccessControlException to be thrown. . Stack Trace: java.security.AccessControlException: Access denied ("java.lang.RuntimePermission" "getProtectionDomain") at java.security.AccessController.throwACE at java.security.AccessController.checkPermissionHelper at java.security.AccessController.checkPermission at java.lang.SecurityManager.checkPermission at com.ibm.ws.security.core.SecurityManager.checkPermission at java.lang.Class.getProtectionDomain at java.lang.J9VMInternals.getClassInfoStrings at java.lang.J9VMInternals.formatNoSuchMethod .
Local fix
This issue can be worked around by disabling the Java security manager. This approach should only be used if security features are not needed for an application.
Problem summary
When Java security manager is enabled, AccessControlException is thrown while formatting a message for NoSuchMethodException.
Problem conclusion
JVM has been updated to acquire the needed permissions while formatting a message for NoSuchMethodException. This prevents an AccessControlException from being thrown. . This APAR will be fixed in the following Java Releases: 8 SR3 FP10 (8.0.3.10) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IV85763
Reported component name
J9 COMMON CODE
Reported component ID
620700127
Reported release
270
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-06-14
Closed date
2016-06-14
Last modified date
2016-06-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
J9 COMMON CODE
Fixed component ID
620700127
Applicable component levels
R270 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
21 February 2022