Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1202

Quickstart Carmart unit tests failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • JDG 7.2 DR1
    • JDG Quickstarts
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      (updated)

      Quickstart test ( mvn test -Puitests-eap -DeapHome=/path/to/eap/server ) fail with following errors on EAP 7.0.6+:

      05:18:46,519 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."jboss-carmart.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jboss-carmart.war".WeldStartService: Failed to start service
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: org.jboss.weld.exceptions.DeploymentException: tried to access class org.jboss.logging.Slf4jLogger from class org.jboss.logging.Slf4jLogger$1
      at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExecutorServices.java:66)
      at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:43)
      at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:51)
      at org.jboss.weld.bootstrap.ConcurrentBeanDeployer.createClassBeans(ConcurrentBeanDeployer.java:75)
      at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:256)
      at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:396)
      at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)
      at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:95)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      ... 3 more
      Caused by: java.lang.IllegalAccessError: tried to access class org.jboss.logging.Slf4jLogger from class org.jboss.logging.Slf4jLogger$1
      at java.lang.Class.getEnclosingMethod0(Native Method)
      at java.lang.Class.getEnclosingMethodInfo(Class.java:1072)
      at java.lang.Class.getEnclosingClass(Class.java:1272)
      at org.jboss.weld.util.reflection.Reflections.isTopLevelOrStaticNestedClass(Reflections.java:422)
      at org.jboss.weld.util.Beans.isTypeManagedBeanOrDecoratorOrInterceptor(Beans.java:506)
      at org.jboss.weld.bootstrap.BeanDeployer.createClassBean(BeanDeployer.java:213)
      at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:78)
      at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:75)
      at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
      at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)
      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

              karestig@redhat.com Katia Aresti
              zhostasa_jira Zdenek Hostasa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: