Fixes are available
PI99600:AccessControlException thrown when connecting to Health Center with Java
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
APAR status
Closed as program error.
Error description
When Java 2 Security is enabled, using logstashCollector-1.0 with garbage collection events enabled or healthAnalyzer-1.0 results in the following error in the FFDC logs directory: java.security.AccessControlException: Access denied ("java.lang.RuntimePermission" "preferences") at java.security.AccessController.throwACE(AccessController.jav a:157) at java.security.AccessController.checkPermissionHelper(AccessC ontroller.java:217) at java.security.AccessController.checkPermission(AccessControl ler.java:349) at java.lang.SecurityManager.checkPermission(SecurityManager.ja va:562) at java.util.prefs.Preferences.userRoot(Preferences.java:463) at java.util.prefs.Preferences.userNodeForPackage(Preferences.j ava:379) at com.ibm.java.diagnostics.common.datamodel.impl.preferences.P referencesHelper.<init>(Unknown Source) at com.ibm.java.diagnostics.healthcenter.impl.datatruncation.Da taStoragePreferenceHelper.<init>(Unknown Source) at com.ibm.java.diagnostics.healthcenter.impl.marshalling.Marsh allerImpl.<init>(Unknown Source) at com.ibm.java.diagnostics.healthcenter.api.factory.HealthCent erFactory.localConnect(Unknown Source) at com.ibm.java.diagnostics.healthcenter.api.factory.HealthCent erFactory.connect(Unknown Source) at com.ibm.ws.health.center.proxy.HCConnectorImpl.connect(HCCon nectorImpl.java:53) at com.ibm.ws.health.center.classloader.HCClassLoader.activate( HCClassLoader.java:160)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Liberty - Liberty Log Analytics and * * Monitoring * **************************************************************** * PROBLEM DESCRIPTION: AccessControlException thrown when * * connecting to Health Center with Java 2 * * Security enabled * **************************************************************** * RECOMMENDATION: * **************************************************************** When Java 2 Security is enabled, logstashCollector-1.0 with garbage collection events and healthAnalyzer-1.0 will not correctly retrieve garbage collection information due to an AccessControlException. The following error is generated in the FFDC logs directory: java.security.AccessControlException: Access denied ("java.lang.RuntimePermission" "preferences") at java.security.AccessController.throwACE(AccessController.java:15 7) at java.security.AccessController.checkPermissionHelper(AccessContr oller.java:217) at java.security.AccessController.checkPermission(AccessController. java:349) at java.lang.SecurityManager.checkPermission(SecurityManager.java:5 62) at java.util.prefs.Preferences.userRoot(Preferences.java:463) at java.util.prefs.Preferences.userNodeForPackage(Preferences.java: 379) at com.ibm.java.diagnostics.common.datamodel.impl.preferences.Prefe rencesHelper.<init>(Unknown Source) at com.ibm.java.diagnostics.healthcenter.impl.datatruncation.DataSt oragePreferenceHelper.<init>(Unknown Source) at com.ibm.java.diagnostics.healthcenter.impl.marshalling.Marshalle rImpl.<init>(Unknown Source) at com.ibm.java.diagnostics.healthcenter.api.factory.HealthCenterFa ctory.localConnect(Unknown Source) at com.ibm.java.diagnostics.healthcenter.api.factory.HealthCenterFa ctory.connect(Unknown Source) at com.ibm.ws.health.center.proxy.HCConnectorImpl.connect(HCConnect orImpl.java:53) at com.ibm.ws.health.center.classloader.HCClassLoader.activate(HCCl assLoader.java:160)
Problem conclusion
Additional permissions were granted to allow Liberty to connect to the Health Center agent. The fix for this APAR is currently targeted for inclusion in fix pack 18.0.0.3. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PI99600
Reported component name
LIBERTY PROFILE
Reported component ID
5724J0814
Reported release
CD0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-06-26
Closed date
2018-06-28
Last modified date
2018-06-28
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
LIBERTY PROFILE
Fixed component ID
5724J0814
Applicable component levels
RCD0 PSY
UP
Document Information
Modified date:
19 October 2021