APAR status
Closed as program error.
Error description
Issue in the PMI PrometheusResource class, in which it does not appear that proper package imports were added to its OSGi bundle when it was added to the product. That class appears to have been added to 9.0.5.7, so the customer's observation that this scenario worked on 9.0.0.10 but not 9.0.5.9 would make sense as well.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * **************************************************************** * PROBLEM DESCRIPTION: DUPLICATE PROMETHEUS METRICS EAR CODE * * IN * * RUNTIME JAR * **************************************************************** * RECOMMENDATION: * **************************************************************** The runtime jar contains an unnecessary copy of the com.ibm.ws.pmi.prometheus* classes (that are used to build the installable prometheus application metrics.ear). In cases where customers may use swagger, swagger tries to load and inspect all classes it can see in the runtime jar with some set of JAX-RS annotations, so it loads the PrometheusResource class since it has a @path annotation. However, jax-rs package imports were never added to the runtime bundle, since the com.ibm.ws.pmi.prometheus* classes are never actually used. This causes a java.lang.NoClassDefFoundError: javax.ws.rs.core.StreamingOutput.
Problem conclusion
Problem conclusion Since the com.ibm.ws.pmi.prometheus* classes are unnecessary in the runtime jar, they will be removed from the jar in this fix. The fix for this APAR is targeted for inclusion in fix pack 9.0.5.12 and 8.5.5.22. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH42911
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-12-17
Closed date
2022-03-17
Last modified date
2022-03-17
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
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0"}]
Document Information
Modified date:
18 March 2022