Hi, how did you install the bundle in question? is it a maven coordinate? Like, mvn:groupId/artifactId/version or is it a file: or is it a combination of wrap and file or maven?
cause I think the later is hard for the bundle:watch to determine if it's updated. regards, Achim 2014-06-18 15:37 GMT+02:00 sprinz <[email protected]>: > Hi, > > I try to get karaf to watch and automatically update osgi bundles by using > bundle:watch. However, when karaf tries to update a bundle I get the > following error/stacktrace: > > java.lang.IllegalArgumentException: Unsupported URL scheme: > bundle://185.0:1/ > at > > org.apache.openejb.util.URLs.toFile(URLs.java:53)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.openejb.config.NewLoaderLogic.applyBuiltinExcludes(NewLoaderLogic.java:172)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.openejb.config.NewLoaderLogic.applyBuiltinExcludes(NewLoaderLogic.java:161)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.openejb.config.DeploymentsResolver.loadFromClasspath(DeploymentsResolver.java:238)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.openejb.config.DeploymentLoader.createAppModule(DeploymentLoader.java:585)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:147)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:173)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:98)[185:org.apache.openejb.core-osgi:4.5.2] > at > > org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.2.1.jar:] > at > > org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.2.1.jar:] > at > > org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.2.1.jar:] > at > > org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.2.1.jar:] > at > > org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.2.1.jar:] > at java.lang.Thread.run(Thread.java:744)[:1.7.0_51] > > Updating bundles with "update {bundleid}" works perfectly... > > Is there any known solution for this problem? > > Thanks, > Simon > > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Unsupported-URL-scheme-using-bundle-watch-tp4033596.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master
