Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10221

Fix assembly for webc,ee7 after RHPAM-4876

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.75.0.Final
    • None
    • None
    • None
    • False
    • None
    • False
    • NEW
    • NEW
    • ---
    • ---

      Missing the inclusion of org.jboss.resteasy:resteasy-jackson2-provider in the assembly-servlet-container.xml (webc for JWS) after RHPAM-4876.

      JWS kie-server is not starting properly and a lot of errors like this are shown:

       

      04:20:16 [INFO] [ERROR] Tests run: 15, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 2.633 s <<< FAILURE! - in org.kie.server.integrationtests.common.KieServerIntegrationTest
      04:20:16 [INFO] [ERROR] testConversationIdHandling[JAXB KieServicesConfiguration

      Unknown macro: {transport=REST, serverUrl='http}

      ](org.kie.server.integrationtests.common.KieServerIntegrationTest) Time elapsed: 0.51 s <<< ERROR!
      04:20:16 [INFO] org.kie.server.api.exception.KieServicesHttpException:
      04:20:16 [INFO] Unexpected HTTP response code when requesting URI 'http://localhost:8080/kie-server/services/rest/server/containers/kie1'! Error code: 500, message: <!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body

      Unknown macro: {font-family}

      h1, h2, h3, b

      color: Color value is invalid

      h1

      Unknown macro: {font-size}

      h2

      Unknown macro: {font-size}

      h3

      Unknown macro: {font-size}

      p

      Unknown macro: {font-size}

      a

      color: Color value is invalid

      .line

      Unknown macro: {height}

      </style></head><body><h1>HTTP Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> Exception Report</p><p><b>Message</b> java.lang.NoClassDefFoundError: com/google/common/collect/Sets</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: com/google/common/collect/Sets
      04:20:16 [INFO] org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:81)
      04:20:16 [INFO] org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:334)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:193)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:457)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
      04:20:16 [INFO] org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
      04:20:16 [INFO] javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
      04:20:16 [INFO] org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      04:20:16 [INFO] org.kie.server.services.impl.security.web.CaptureHttpRequestFilter.doFilter(CaptureHttpRequestFilter.java:42)
      04:20:16 [INFO] </pre><p><b>Root Cause</b></p><pre>java.lang.NoClassDefFoundError: com/google/common/collect/Sets
      04:20:16 [INFO] com.google.inject.internal.Errors.<clinit>(Errors.java:82)
      04:20:16 [INFO] com.google.inject.internal.InternalInjectorCreator.<init>(InternalInjectorCreator.java:62)
      04:20:16 [INFO] com.google.inject.Guice.createInjector(Guice.java:96)
      04:20:16 [INFO] com.google.inject.Guice.createInjector(Guice.java:73)
      04:20:16 [INFO] com.google.inject.Guice.createInjector(Guice.java:62)
      04:20:16 [INFO] org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:481)
      04:20:16 [INFO] org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:206)
      04:20:16 [INFO] org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:168)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:167)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:141)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.PlexusComponentProvider.<init>(PlexusComponentProvider.java:37)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedderUtils.buildComponentProvider(MavenEmbedderUtils.java:57)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedder.<init>(MavenEmbedder.java:91)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedder.<init>(MavenEmbedder.java:85)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:70)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenProjectLoader.loadMavenProject(MavenProjectLoader.java:179)
      04:20:16 [INFO] org.appformer.maven.integration.Aether.getAether(Aether.java:78)
      04:20:16 [INFO] org.appformer.maven.integration.MavenRepository.getMavenRepository(MavenRepository.java:95)
      04:20:16 [INFO] org.appformer.maven.integration.ArtifactResolver.getPomFileForGAV(ArtifactResolver.java:101)
      04:20:16 [INFO] org.appformer.maven.integration.ArtifactResolver.getResolverFor(ArtifactResolver.java:67)
      04:20:16 [INFO] org.kie.scanner.KieModuleMetaDataImpl.<init>(KieModuleMetaDataImpl.java:76)
      04:20:16 [INFO] org.kie.scanner.KieModuleMetaData$Factory.newKieModuleMetaData(KieModuleMetaData.java:70)
      04:20:16 [INFO] org.kie.server.services.impl.KieServerImpl.buildKieModuleMetadata(KieServerImpl.java:1113)
      04:20:16 [INFO] org.kie.server.services.impl.KieServerImpl.createContainer(KieServerImpl.java:330)
      04:20:16 [INFO] org.kie.server.remote.rest.common.resource.KieServerRestImpl.createContainer(KieServerRestImpl.java:155)
      04:20:16 [INFO] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      04:20:16 [INFO] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      04:20:16 [INFO] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      04:20:16 [INFO] java.lang.reflect.Method.invoke(Method.java:498)
      04:20:16 [INFO] org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:546)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:435)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:396)
      04:20:16 [INFO] org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:398)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:365)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:338)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
      04:20:16 [INFO] org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
      04:20:16 [INFO] javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
      04:20:16 [INFO] org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      04:20:16 [INFO] org.kie.server.services.impl.security.web.CaptureHttpRequestFilter.doFilter(CaptureHttpRequestFilter.java:42)
      04:20:16 [INFO] </pre><p><b>Root Cause</b></p><pre>java.lang.ClassNotFoundException: com.google.common.collect.Sets
      04:20:16 [INFO] org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407)
      04:20:16 [INFO] org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215)
      04:20:16 [INFO] com.google.inject.internal.Errors.<clinit>(Errors.java:82)
      04:20:16 [INFO] com.google.inject.internal.InternalInjectorCreator.<init>(InternalInjectorCreator.java:62)
      04:20:16 [INFO] com.google.inject.Guice.createInjector(Guice.java:96)
      04:20:16 [INFO] com.google.inject.Guice.createInjector(Guice.java:73)
      04:20:16 [INFO] com.google.inject.Guice.createInjector(Guice.java:62)
      04:20:16 [INFO] org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:481)
      04:20:16 [INFO] org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:206)
      04:20:16 [INFO] org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:168)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:167)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:141)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.PlexusComponentProvider.<init>(PlexusComponentProvider.java:37)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedderUtils.buildComponentProvider(MavenEmbedderUtils.java:57)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedder.<init>(MavenEmbedder.java:91)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenEmbedder.<init>(MavenEmbedder.java:85)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:70)
      04:20:16 [INFO] org.appformer.maven.integration.embedder.MavenProjectLoader.loadMavenProject(MavenProjectLoader.java:179)
      04:20:16 [INFO] org.appformer.maven.integration.Aether.getAether(Aether.java:78)
      04:20:16 [INFO] org.appformer.maven.integration.MavenRepository.getMavenRepository(MavenRepository.java:95)
      04:20:16 [INFO] org.appformer.maven.integration.ArtifactResolver.getPomFileForGAV(ArtifactResolver.java:101)
      04:20:16 [INFO] org.appformer.maven.integration.ArtifactResolver.getResolverFor(ArtifactResolver.java:67)
      04:20:16 [INFO] org.kie.scanner.KieModuleMetaDataImpl.<init>(KieModuleMetaDataImpl.java:76)
      04:20:16 [INFO] org.kie.scanner.KieModuleMetaData$Factory.newKieModuleMetaData(KieModuleMetaData.java:70)
      04:20:16 [INFO] org.kie.server.services.impl.KieServerImpl.buildKieModuleMetadata(KieServerImpl.java:1113)
      04:20:16 [INFO] org.kie.server.services.impl.KieServerImpl.createContainer(KieServerImpl.java:330)
      04:20:16 [INFO] org.kie.server.remote.rest.common.resource.KieServerRestImpl.createContainer(KieServerRestImpl.java:155)
      04:20:16 [INFO] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      04:20:16 [INFO] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      04:20:16 [INFO] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      04:20:16 [INFO] java.lang.reflect.Method.invoke(Method.java:498)
      04:20:16 [INFO] org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:546)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:435)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:396)
      04:20:16 [INFO] org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:398)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:365)
      04:20:16 [INFO] org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:338)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
      04:20:16 [INFO] org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
      04:20:16 [INFO] org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
      04:20:16 [INFO] org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
      04:20:16 [INFO] javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
      04:20:16 [INFO] org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      04:20:16 [INFO] org.kie.server.services.impl.security.web.CaptureHttpRequestFilter.doFilter(CaptureHttpRequestFilter.java:42)
      04:20:16 [INFO] </pre><p><b>Note</b> The full stack trace of the root cause is available in the server logs.</p><hr class="line" /><h3>Apache Tomcat/9.0.50.redhat-00004</h3></body></html>
      04:20:16 [INFO] at org.kie.server.integrationtests.common.KieServerIntegrationTest.setupKieServer(KieServerIntegrationTest.java:66)
      04:20:16 [INFO]
      04:20:16 [INFO] [ERROR] testScannerStatusOnContainerInfo[JAXB KieServicesConfiguration

      Unknown macro: {transport=REST, serverUrl='http}

      ]

              gmunozfe@redhat.com Gonzalo Muñoz Fernández
              gmunozfe@redhat.com Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: