[
https://issues.apache.org/jira/browse/KARAF-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808728#comment-13808728
]
Freeman Fang commented on KARAF-2536:
-------------------------------------
This is really weird.
If I try to install it using http url directly like
install -s
http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.scala-library/2.9.1_3/org.apache.servicemix.bundles.scala-library-2.9.1_3.jar
I still get error in the log
{code}
Caused by: java.io.IOException: Server returned HTTP response code: 403 for
URL:
http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.scala-library/2.9.1_3/org.apache.servicemix.bundles.scala-library-2.9.1_3.jar
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1615)[:1.7.0_07]
{code}
So no pax-url-mvn get involved at all, just the plain HttpURLConnection from
JDK still doesn't work.
And if I try another artifact like
install -s
http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.velocity/1.7_5/org.apache.servicemix.bundles.velocity-1.7_5.jar
everything is OK.
The "HTTP response code: 403" means "Forbidden", though I can download
org.apache.servicemix.bundles.scala-library-2.9.1_3.jar from maven central repo
using browser or the curl CLI.
Is it possible that somehow the folder in
http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.scala-library/
corrupted?
> 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
>
> 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
(v6.1#6144)