Hi, as I haven't used EJB/OpenEJB in Karaf yet I wasn't aware of this. But this doesn't seem to be a bug in Karaf. It looks a lot more like it's something that needs documentation at the OpenEJB project, if not already done there :)
regards, Achim 2014-06-23 17:07 GMT+02:00 jkraushaar <jochen.kraush...@doubleslash.de>: > The cause of this error is method > org.apache.openejb.config.DeploymentsResolver.loadFromClasspath(...) in > Release 4.5.2 of OpenEJB. Here the URLs of all JARs loaded by the given > ClassLoader are collected. Then the system JARs get removed from the list. > Normally also the OpenEJB JARs should be removed from list, but as the URL > of the OpenEJB bundle JAR is bundle://185.0:1/ it does not match any of the > regular expressions of the filter. The URL is not removed and the exception > is thrown. > > There is a workaround for this error: OpenEJB allows to add custom filter > expressions by setting the parameter openejb.deployments.classpath.exclude > in <Karaf Home>/etc/system.properties. Add the following line in your > system.properties: > > openejb.deployments.classpath.exclude = bundle:.* > > When you update your bundle now, the OpenEJB bundle JAR is also removed > from > list of URLs and it works. > > Should I open a Karaf bug ticket? > > Regards, > Jochen > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Unsupported-URL-scheme-using-bundle-watch-tp4033596p4033708.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