Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 39761 invoked from network); 27 Apr 2009 20:09:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 20:09:52 -0000 Received: (qmail 81696 invoked by uid 500); 27 Apr 2009 20:09:52 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 81627 invoked by uid 500); 27 Apr 2009 20:09:52 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 81326 invoked by uid 99); 27 Apr 2009 20:09:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 20:09:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 20:09:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6C7B8234C4AB for ; Mon, 27 Apr 2009 13:09:30 -0700 (PDT) Message-ID: <1392917335.1240862970442.JavaMail.jira@brutus> Date: Mon, 27 Apr 2009 13:09:30 -0700 (PDT) From: "Kristian Koehler (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-1000) Updating an bundle which was installed via OBR fails In-Reply-To: <183301394.1237994214325.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Koehler updated FELIX-1000: ------------------------------------ Attachment: FELIX-1000-27_04_2009.patch.txt I dont't give up ;-) Apllied patch includes different strategies for updating bundles. You can configure the strategy to use with the property "obr.update.strategy". Currently there are two strategies vailable: same and newest. Default is 'newest'. One point is "open": I don't know how to update the version information of the installed bundle. If you "ps" on the console the old version is printed. Is it possible to update this info? Kristian > Updating an bundle which was installed via OBR fails > ---------------------------------------------------- > > Key: FELIX-1000 > URL: https://issues.apache.org/jira/browse/FELIX-1000 > Project: Felix > Issue Type: Bug > Components: Bundle Repository (OBR) > Reporter: Kristian Koehler > Attachments: FELIX-1000-21_04_2009.patch.txt, FELIX-1000-23_04_2009.patch.txt, FELIX-1000-27_04_2009.patch.txt > > > Updating an bundle which was installed via the obr functionality results in an exception (update was triggered via the shell): > --- 8< --- > java.net.MalformedURLException: Unknown protocol: obr > at java.net.URL.(URL.java:601) > at java.net.URL.(URL.java:464) > at java.net.URL.(URL.java:413) > at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:149) > at org.apache.felix.framework.cache.JarRevision.(JarRevision.java:78) > at org.apache.felix.framework.cache.JarRevision.(JarRevision.java:56) > at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:986) > at org.apache.felix.framework.cache.BundleArchive.revise(BundleArchive.java:614) > at org.apache.felix.framework.BundleImpl.revise(BundleImpl.java:916) > at org.apache.felix.framework.Felix.updateBundle(Felix.java:1592) > at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:792) > at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:779) > at org.apache.felix.shell.impl.UpdateCommandImpl.execute(UpdateCommandImpl.java:96) > at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:276) > at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:167) > at java.lang.Thread.run(Thread.java:619) > --- 8< --- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.