APAR status
Closed as program error.
Error description
Error Message: The API SetEventNotificationMode() returns error code JVMTI_ERROR_MUST_POSSESS_CAPABILITY (99) . Stack Trace: N/A .
Local fix
This issue can be worked around by adding the capability 'can_generate_resource_exhaustion_heap_events' or 'can_generate_resource_exhaustion_threads_events' using AddCapabilities() API explicitly before calling SetEventNotificationMode().
Problem summary
This problem is caused when JVMTI API SetEventNotificationMode() is called to enable the generation of JVMTI_EVENT_RESOURCE_EXHAUSTED event without adding 'can_generate_resource_exhaustion_heap_events' or 'can_generate_resource_exhaustion_threads_events' capability.
Problem conclusion
The JVM has been updated to allow the user to enable generation of JVMTI_EVENT_RESOURCE_EXHAUSTED event without the need to add 'can_generate_resource_exhaustion_heap_events' or 'can_generate_resource_exhaustion_threads_events' capability. . This APAR will be fixed in the following Java Releases: 8 SR5 (8.0.5.0) . 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
IV99784
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
2017-09-11
Closed date
2017-09-11
Last modified date
2017-09-11
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:
22 February 2022