Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-620

arquillian-core-impl-base needs a non-optional dependency on jboss-logmanager

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Optional
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.2.Final
    • Component/s: None
    • Labels:
      None

      Description

      Otherwise LoadableExtensionLoader fails with a ClassNotFoundException if you're deploying to jetty 6 for example (which doesn't have jboss-logging in it's classpath by default):

      Could not load Logmanager "org.jboss.logmanager.LogManager"
      java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at java.util.logging.LogManager$1.run(LogManager.java:166)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.util.logging.LogManager.<clinit>(LogManager.java:156)
      	at java.util.logging.Logger.getLogger(Logger.java:287)
      	at org.jboss.arquillian.core.impl.loadable.LoadableExtensionLoader.<clinit>(LoadableExtensionLoader.java:45)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:247)
      	at org.jboss.arquillian.test.spi.SecurityActions.loadClass(SecurityActions.java:64)
      	at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:49)
      	at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:72)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:71)
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ge0ffrey Geoffrey De Smet
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: