Fix (APAR): PH53930 Status: Fix Release: 23.0.0.3 Operating System: AIX,IBM i,Linux,OS X,Windows,iOS,z/OS Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 1333214 Date: 2023-04-17 Abstract: handle @path on method but not class Description/symptom of problem: PH53930 resolves the following problem: ERROR DESCRIPTION: You will see an error like this when trying to invoke a REST method annotated @Path when the class is not annotated @Path java.lang.IllegalArgumentException: RESTEASY003135: Class must be annotated with @Path to invoke path(Class) at org.jboss.resteasy.specimpl.ResteasyUriBuilderImpl.path(Resteasy UriBuilderImpl.java:400) at io.openliberty.microprofile.telemetry.internal.rest.TelemetryCon tainerFilter$HttpServerAttributesGetterImpl.route(TelemetryConta inerFilter.java:179) at io.openliberty.microprofile.telemetry.internal.rest.TelemetryCon tainerFilter$HttpServerAttributesGetterImpl.route(TelemetryConta inerFilter.java:159) LOCAL FIX: PROBLEM SUMMARY USERS AFFECTED: All users of IBM WebSphere Application Server Liberty Core PROBLEM DESCRIPTION: IllegalArgumentException when calling rest method annotated @Path in a class not annotated @Path RECOMMENDATION: None You will see an error like this when trying to invoke a REST method annotated @Path when the class is not annotated @Path java.lang.IllegalArgumentException: RESTEASY003135: Class must be annotated with @Path to invoke path(Class) at org.jboss.resteasy.specimpl.ResteasyUriBuilderImpl.path(Resteasy UriBuilderImpl.java:400) at io.openliberty.microprofile.telemetry.internal.rest.TelemetryCon tainerFilter$HttpServerAttributesGetterImpl.route(TelemetryConta inerFilter.java:179) at io.openliberty.microprofile.telemetry.internal.rest.TelemetryCon tainerFilter$HttpServerAttributesGetterImpl.route(TelemetryConta inerFilter.java:159) PROBLEM CONCLUSION: We have fixed annotatoin processing so that methods annotated @Path will work correctly. The fix for this APAR is targeted for inclusion in fix pack 23.0.0.4. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553 Directions to apply fix: Install Fix to all WebSphere installations unless special instructions are included below. Special Instructions: None NOTE: The user must: * Logged in with the same authority level when unpacking a fix, fix pack or refresh pack. * Be at V1.9.0 or newer of the Installation Manager. Certain iFixes may require a newer version of the Installation Manager and the Installation Manager will inform you during the installation process if a newer version is required. The IBM Information Center can provide details, if needed, on the use of the Installation Manager to apply the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server Liberty before applying the iFixes. Restart WebSphere Application Server Liberty after applying the iFixes. Directions to remove fix: The IBM Information Center can provide details, if needed, on the use of the Installation Manager to remove the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server Liberty before removing the iFixes. Restart WebSphere Application Server Liberty after removing the iFixes. Directions to re-apply fix: 1) Shutdown WebSphere Application Server Liberty. 2) Follow the Fix instructions to apply the fix. 3) Restart WebSphere Application Server Liberty. Additional Information: