You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2011/05/11 15:37:47 UTC

[jira] [Created] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
----------------------------------------------------------------------------------

                 Key: KARAF-630
                 URL: https://issues.apache.org/jira/browse/KARAF-630
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.2.1
         Environment: Maven 2.2.1
IBM JDK 1.6
            Reporter: Jamie goodyear
             Fix For: 2.2.1


Error as reported during build below:

Tests in error: 
  testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)

Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
Failed to instantiate SLF4J LoggerFactory
Reported exception:
java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:600)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031712#comment-13031712 ] 

Jamie goodyear commented on KARAF-630:
--------------------------------------

Problem occurs in deployer spring, blueprint, and kar tests. Solution is to add in slf4j-simple to dependency -- testing now on IBM, then on other JDKs for compatibility.

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear resolved KARAF-630.
----------------------------------

    Resolution: Fixed

Added in dependency for IBM JDK builds.

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1, 3.0.0
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031731#comment-13031731 ] 

Jamie goodyear commented on KARAF-630:
--------------------------------------

$ svn ci 
Sending        deployer/blueprint/pom.xml
Sending        deployer/kar/pom.xml
Sending        deployer/spring/pom.xml
Transmitting file data ...
Committed revision 1101897.

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031762#comment-13031762 ] 

Jamie goodyear commented on KARAF-630:
--------------------------------------

$ svn ci 
Sending        admin/pom.xml
Transmitting file data .
Committed revision 1101910.

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear reassigned KARAF-630:
------------------------------------

    Assignee: Jamie goodyear

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear updated KARAF-630:
---------------------------------

    Fix Version/s: 3.0.0

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1, 3.0.0
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031867#comment-13031867 ] 

Jamie goodyear commented on KARAF-630:
--------------------------------------

Trunk

$ svn ci
Sending        deployer/blueprint/pom.xml
Sending        deployer/kar/pom.xml
Sending        deployer/spring/pom.xml
Sending        webconsole/admin/pom.xml
Transmitting file data ....
Committed revision 1101987.

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1, 3.0.0
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-630.
--------------------------------

    
> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1, 3.0.0
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

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

        

[jira] [Commented] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031700#comment-13031700 ] 

Jamie goodyear commented on KARAF-630:
--------------------------------------

Notes to self:

Reading the docs:

"This error is reported when the org.slf4j.impl.StaticLoggerBinder class could not be loaded into memory. This happens when no appropriate SLF4J binding could be found on the class path. Placing one (and only one) of slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path should solve the problem."

In our top level pom we include:
 
slf4j-api, slf4j-jdk14, slf4j-nop, and slf4j-simple. 

Looking inside of deployer/spring pom we have only slf4j-api listed as a dependency.

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>             Fix For: 2.2.1
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-630) SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031742#comment-13031742 ] 

Jamie goodyear commented on KARAF-630:
--------------------------------------

Continued testing shows the same issue occuring in webconsole tests, will update those poms as well.

> SpringDeploymentListenerTest fails on IBM JDK builds with No Class Def Found Error
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-630
>                 URL: https://issues.apache.org/jira/browse/KARAF-630
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1
> IBM JDK 1.6
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>             Fix For: 2.2.1
>
>
> Error as reported during build below:
> Tests in error: 
>   testPackagesExtraction(org.apache.karaf.deployer.spring.SpringDeploymentListenerTest)
> Running org.apache.karaf.deployer.spring.SpringDeploymentListenerTest
> Failed to instantiate SLF4J LoggerFactory
> Reported exception:
> java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListener.<init>(SpringDeploymentListener.java:41)
> 	at org.apache.karaf.deployer.spring.SpringDeploymentListenerTest.testPackagesExtraction(SpringDeploymentListenerTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira