-
Bug
-
Resolution: Done
-
Blocker
-
EAP-XP-3.0.0.CR1
-
None
-
False
-
False
-
-
-
-
-
-
Undefined
-
-
When trying to access deployment's REST endpoint, that utilizes org.eclipse.microprofile.opentracing.ClientTracingRegistrar underneath, the user is greeted with ClassNotFoundException
Caused by: java.lang.NoClassDefFoundError: org/eclipse/microprofile/opentracing/ClientTracingRegistrar at deployment.ROOT.war//org.jboss.xpaas.microprofile.opentracing.UrlEndpoint.get(UrlEndpoint.java:18) at deployment.ROOT.war//org.jboss.xpaas.microprofile.opentracing.UrlEndpoint$Proxy$_$$_WeldClientProxy.get(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:546) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:435) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:396) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:398) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:365) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:338) at org.jboss.resteasy.resteasy-jaxrs@3.15.1.Final-redhat-00001//org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
This is a OCP specific issue in XP3. We do not see this with the zip distribution.
This is regression against XP2 (both OCP Image & ZIP).
MD5 sums didn't show any differences between JARs
OCP Image
md5sum /opt/jboss/container/wildfly/s2i/galleon/galleon-m2-repository/org/eclipse/microprofile/opentracing/microprofile-opentracing-api/2.0.0.redhat-00002/microprofile-opentracing-api-2.0.0.redhat-00002.jar b77ed15687a344e17907a577bde441fe
ZIP Distribution
md5sum modules/system/layers/microprofile/org/eclipse/microprofile/opentracing/main/microprofile-opentracing-api-2.0.0.redhat-00002.jar b77ed15687a344e17907a577bde441fe
- is caused by
-
CLOUD-4009 XP 3.0 - Missing mp-config.sh and tracing.sh in image
- New
- relates to
-
JBEAP-23275 ClassNotFoundException when using provided opentracing-api dependencies
- Closed