[arquillian-issues] [JBoss JIRA] (ARQ-620) arquillian-core-impl-base needs a non-optional dependency on jboss-logmanager

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Sun Apr 29 09:02:17 EDT 2012


    [ https://issues.jboss.org/browse/ARQ-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688603#comment-12688603 ] 

Aslak Knutsen commented on ARQ-620:
-----------------------------------

Arquillian only has a dep on jboss-logging in the JMX protocol used by AS7. This protocol should not be available on classpath when running jetty ? 
                
> arquillian-core-impl-base needs a non-optional dependency on jboss-logmanager
> -----------------------------------------------------------------------------
>
>                 Key: ARQ-620
>                 URL: https://issues.jboss.org/browse/ARQ-620
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Geoffrey De Smet
>            Priority: Optional
>
> 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):
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list