camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babak Vahdat (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7844) itest-osgi - Some tests fails with Karaf 2.4.0 upgrade
Date Sat, 29 Nov 2014 22:37:12 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228959#comment-14228959
] 

Babak Vahdat commented on CAMEL-7844:
-------------------------------------

This is because the {{camel-netty}} Karaf feature itself is broken as it imports the private
package {{org.jboss.netty.util.internal}} which is *bad*:

{code}
~/dev/apache-karaf-2.4.0/bin>./karaf clean
        __ __                  ____      
       / //_/____ __________ _/ __/      
      / ,<  / __ `/ ___/ __ `/ /_        
     / /| |/ /_/ / /  / /_/ / __/        
    /_/ |_|\__,_/_/   \__,_/_/         

  Apache Karaf (2.4.0)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'osgi:shutdown' or 'logout' to shutdown Karaf.

karaf@root> features:chooseurl camel 2.15-SNAPSHOT
Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.15-SNAPSHOT/xml/features
karaf@root> features:install camel-netty
karaf@root> ERROR: Bundle org.apache.camel.camel-netty [64] Error starting mvn:org.apache.camel/camel-netty/2.15-SNAPSHOT
(org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-netty
[64]: Unable to resolve 64.0: missing requirement [64.0] osgi.wiring.package; (osgi.wiring.package=org.jboss.netty.util.internal))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-netty
[64]: Unable to resolve 64.0: missing requirement [64.0] osgi.wiring.package; (osgi.wiring.package=org.jboss.netty.util.internal)
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
	at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle org.apache.camel.camel-netty [64] Error starting/stopping bundle. (org.osgi.framework.BundleException:
Unresolved constraint in bundle org.apache.camel.camel-netty [64]: Unable to resolve 64.0:
missing requirement [64.0] osgi.wiring.package; (osgi.wiring.package=org.jboss.netty.util.internal))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-netty
[64]: Unable to resolve 64.0: missing requirement [64.0] osgi.wiring.package; (osgi.wiring.package=org.jboss.netty.util.internal)
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
	at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1491)
	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:334)
	at java.lang.Thread.run(Thread.java:745)
            log
{code}

> itest-osgi - Some tests fails with Karaf 2.4.0 upgrade
> ------------------------------------------------------
>
>                 Key: CAMEL-7844
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7844
>             Project: Camel
>          Issue Type: Task
>          Components: karaf, osgi, tests
>            Reporter: Claus Ibsen
>            Assignee: Babak Vahdat
>            Priority: Minor
>             Fix For: 2.15.0
>
>
> I got these 5 failures on my laptop. I have not dived into why. Using karaf 2.4.0.
> Tests in error:
>   LogRouteWithLoggersPresentInRegistryTest.testSendMessageToCamelCreatedLogggerWithSiftLogging:63
Linkage
>   LogRouteWithLoggersPresentInRegistryTest.testSendMessageToProvidedLogggerWithSiftLogging:51
Linkage
>   LogRouteWithNonDefaultLoggerTest.testSendMessageToProvidedLogggerWithSiftLogging:49
Linkage
>   LogRouteWithNonDefaultLoggerTest.testSendMessageToRegistryDefaultLogggerWithSiftLogging:61
Linkage
>   JsseUtilTest.testKeyStoreParametersResourceLoading ยป NotBound 5bca08c4-4692-41...
> Tests run: 193, Failures: 0, Errors: 5, Skipped: 23



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message