Uploaded image for project: 'Solder'
  1. Solder
  2. SOLDER-330

Cannot run arquillian testsuite using 7.1.2.Final container

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0.Final
    • Fix Version/s: None
    • Component/s: Logging, Test Suite
    • Labels:
      None
    • Environment:

      JBoss AS7.1.2.Final, Arquillian 1.0.0.Final

    • Affects:
      Release Notes

      Description

      Cannot run testsuite due to following error, when starting Arquillian deployment:

      Caused by: java.lang.NoSuchMethodError: org.jboss.logmanager.LogContext.getLoggerIfExists(Ljava/lang/String;)Lorg/jboss/logmanager/Logger;
      	at org.apache.log4j.JBossLogManagerFacade.updateParents(JBossLogManagerFacade.java:197)
      	at org.apache.log4j.JBossLogManagerFacade.getLogger(JBossLogManagerFacade.java:145)
      	at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:130)
      	at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:125)
      	at org.apache.log4j.LogManager.getLogger(LogManager.java:57)
      	at org.apache.log4j.Logger.getLogger(Logger.java:35)
      	at org.jboss.logging.Log4jLogger.<init>(Log4jLogger.java:35)
      	at org.jboss.logging.Log4jLoggerProvider.getLogger(Log4jLoggerProvider.java:33)
      	at org.jboss.logging.LoggerProviders.find(LoggerProviders.java:37)
      	at org.jboss.logging.LoggerProviders.<clinit>(LoggerProviders.java:32)
      	at org.jboss.logging.Logger.getLogger(Logger.java:2163)
      	at org.jboss.logging.Logger.getLogger(Logger.java:2188)
      	at org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer.<clinit>(ArquillianServiceDeployer.java:47)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      	at org.jboss.arquillian.core.impl.Reflections.createInstance(Reflections.java:128)
      	at org.jboss.arquillian.core.impl.ManagerImpl.createExtensions(ManagerImpl.java:410)
      	at org.jboss.arquillian.core.impl.ManagerImpl.fireProcessing(ManagerImpl.java:345)
      	at org.jboss.arquillian.core.impl.ManagerImpl.<init>(ManagerImpl.java:98)
      	... 26 more
      

      It seems to be some jboss-logging dependency issue. I tried to upgrade jboss-logging version to 3.1.1.GA in solder/logging/pom.xml, but it had no effect.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tremes Tomas Remes
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: