[ 
http://issues.apache.org/jira/browse/FELIX-113?page=comments#action_12429016 ] 
            
Richard S. Hall commented on FELIX-113:
---------------------------------------

Well, the problem with that is that the "update" command does not know anything 
about OBR. This is just the exception that occurs when there is an unknown 
protocol when creating a URL. I cannot think of a good way to give a meaningful 
error messages without making "update" aware of OBR, which doesn't seem right. 
Have any suggestions?

> Unknown protocol: obr when updating a bundle deployed with OBR
> --------------------------------------------------------------
>
>                 Key: FELIX-113
>                 URL: http://issues.apache.org/jira/browse/FELIX-113
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Sauthier
>         Assigned To: Richard S. Hall
>
> After deploying my bundle with obr :
> obr deploy my.component.id
> If I try to update the bundle, I've got the following Exception :
> -> update 14
> ERROR: Unable to update the bundle. (java.net.MalformedURLException: Unknown 
> protocol: obr)java.net.MalformedURLException: Unknown protocol: obr
>       at java.net.URL.<init>(URL.java:601)
>       at java.net.URL.<init>(URL.java:464)
>       at java.net.URL.<init>(URL.java:413)
>       at 
> org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:277)
>       at 
> org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:78)
>       at 
> org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:56)
>       at 
> org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:1004)
>       at 
> org.apache.felix.framework.cache.BundleArchive.revise(BundleArchive.java:629)
>       at org.apache.felix.framework.Felix._updateBundle(Felix.java:1378)
>       at org.apache.felix.framework.Felix.updateBundle(Felix.java:1332)
>       at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:344)
>       at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:331)
>       at 
> org.apache.felix.shell.impl.UpdateCommandImpl.execute(UpdateCommandImpl.java:94)
>       at 
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:263)
>       at 
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:165)
>       at java.lang.Thread.run(Thread.java:595)
> java.net.MalformedURLException: Unknown protocol: obr
> Seems that OBR manage URLs with 'obr' scheme, scheme that is not supported...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to