Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
when run smx4 with felix 3.0.1, servicemix-jms and servicemix-http component failed to start caused by missing required package, exception like
17:18:40,817 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-jms [144]: Unable to resolve 144.0: missing requirement [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms) - [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
at java.lang.Thread.run(Thread.java:637)
17:19:01,151 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-http [143]: Unable to resolve 143.0: missing requirement [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http) - [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
at java.lang.Thread.run(Thread.java:637)
It's really weird for me, as those package do exist in the bundle jar and we use exactly same mechanism across all components, but only those two have problem now with felix 3.0.1