karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2536) ActiveMQ 5.9.0 fails to install on Karaf 2.3.3
Date Sat, 21 Dec 2013 07:04:09 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854807#comment-13854807

Jean-Baptiste Onofré commented on KARAF-2536:

I reproduce the issue.

However, it's really weird as it works for most of artifacts, not for scala artifacts:

karaf@root> osgi:install mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.scala-compiler/2.9.1_3
Bundle IDs: 
Error executing command: Error installing bundles:
        Unable to install bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.scala-compiler/2.9.1_3
karaf@root> osgi:install mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.scala-compiler/2.10.2_1
Bundle IDs: 
Error executing command: Error installing bundles:
        Unable to install bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.scala-compiler/2.10.2_1
karaf@root> osgi:install mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.snmp4j/2.2.3_1
Bundle ID: 112

I don't think the problem is about the User-Agent HTTP header else it would always fail. I
suspect most something about the URL or the artifact itself.

I'm testing on Karaf 3.0.0 (which uses a new Pax URL version) and adding some instrument code
in Pax URL to exactly identify the issue.

> ActiveMQ 5.9.0 fails to install on Karaf 2.3.3
> ----------------------------------------------
>                 Key: KARAF-2536
>                 URL: https://issues.apache.org/jira/browse/KARAF-2536
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.3
>            Reporter: Hiram Chirino
>            Assignee: Jean-Baptiste Onofré
> Running on Karaf 2.3.3:
>    features:chooseurl activemq 5.9.0
>    features:install activemq-broker
> fails with:
>    Error executing command: URL [mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.scala-library/2.9.1_3]
could not be resolved.
> On machines that don't have that artifact already in the ~/.m2/repository
> But the artifact does exist on maven central:
>     http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.scala-library/2.9.1_3/

This message was sent by Atlassian JIRA

View raw message