karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xilai Dai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-3661) the blueprint: protocal is not supported anymore in 4.0.0 M2
Date Mon, 13 Apr 2015 06:47:12 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xilai Dai updated KARAF-3661:
-----------------------------
    Description: 
Given a simple feature.xml
{code}
<feature name='abc' version='1.0'>
<bundle>blueprint:mvn:org.abc.ee/ddd-fff/1.0.0/xml</bundle>
{code}

then will got MalformedURLException when install this feature into karaf 4.0.0 M2.

{code}
Caused by: java.net.MalformedURLException: unknown protocol: blueprint
	at java.net.URL.<init>(URL.java:592)[:1.7.0_51]
	at java.net.URL.<init>(URL.java:482)[:1.7.0_51]
	at java.net.URL.<init>(URL.java:431)[:1.7.0_51]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.downloadBlueprintOrSpring(SimpleDownloadTask.java:110)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:53)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	... 7 more
{code}

It works well on 2.3.x.

  was:
Given a simple feature.xml
{code}
<feature name='abc' version='1.0'>
<bundle>blueprint:mvn:org.abc.ee/ddd-fff/1.0.0/xml</bundle>
{code}

then will got MalformedURLException when install this feature into karaf 4.0.0 M2.

{code}
Caused by: java.net.MalformedURLException: unknown protocol: blueprint
	at java.net.URL.<init>(URL.java:592)[:1.7.0_51]
	at java.net.URL.<init>(URL.java:482)[:1.7.0_51]
	at java.net.URL.<init>(URL.java:431)[:1.7.0_51]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.downloadBlueprintOrSpring(SimpleDownloadTask.java:110)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:53)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	... 7 more
{/code}

It works well on 2.3.x.


> the blueprint: protocal is not supported anymore in 4.0.0 M2
> ------------------------------------------------------------
>
>                 Key: KARAF-3661
>                 URL: https://issues.apache.org/jira/browse/KARAF-3661
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.0.M2
>            Reporter: Xilai Dai
>
> Given a simple feature.xml
> {code}
> <feature name='abc' version='1.0'>
> <bundle>blueprint:mvn:org.abc.ee/ddd-fff/1.0.0/xml</bundle>
> {code}
> then will got MalformedURLException when install this feature into karaf 4.0.0 M2.
> {code}
> Caused by: java.net.MalformedURLException: unknown protocol: blueprint
> 	at java.net.URL.<init>(URL.java:592)[:1.7.0_51]
> 	at java.net.URL.<init>(URL.java:482)[:1.7.0_51]
> 	at java.net.URL.<init>(URL.java:431)[:1.7.0_51]
> 	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.downloadBlueprintOrSpring(SimpleDownloadTask.java:110)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> 	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:53)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> 	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> 	... 7 more
> {code}
> It works well on 2.3.x.



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

Mime
View raw message