Download
Downloadable File
File link | File size | File description |
---|---|---|
Abstract
IllegalArgumentException when calling rest method annotated @Path in a class not annotated @Path
Download Description
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 annotation 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
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 annotation 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
Prerequisites
None
Installation Instructions
Review the readme.txt for detailed installation instructions.
URL | SIZE(Bytes) |
---|---|
23.0.0.3 IM readme file | 4345 |
23.0.0.3 archive readme file | 2237 |
Download Package
IMPORTANT NOTE:
|
WebSphere Application Server and Liberty fix access requires S&S Entitlement beginning in 2021. Use properly registered IDs to download the fixes in this table.
|
DOWNLOAD | RELEASE DATE | SIZE(Bytes) |
URL |
---|---|---|---|
23.0.0.3-WS-WLP-IFPH53930 | 17 April 2023 | 1333214 | FC |
23003-wlp-archive-IFPH53930 | 17 April 2023 | 1272747 | FC |
Note: FC stands for Fix Central. Review the What is Fix Central (FC)? FAQs for more details.
Problems Solved
PH53930
On
Technical Support
Contact IBM Support at https://www.ibm.com/mysupport/ or 1-800-IBM-SERV (US only).
Document Location
Worldwide
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF017","label":"Mac OS"},{"code":"PF033","label":"Windows"},{"code":"PF014","label":"iOS"},{"code":"PF035","label":"z\/OS"}],"Version":"23.0.0.3","Edition":"Base","Line of Business":{"code":"LOB45","label":"Automation"}}]
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
18 April 2023
UID
ibm16984213