Bundle works in Fuse root container but not the child container

Solution Verified - Updated -

Issue

  • I have bundle which works in the Fuse ESB root container, however I have created a child container with the admin:create command and the bundle throws the following error:
org.apache.karaf.shell.console.MultiException: Error restarting bundles:
        Unable to start bundle 57: Unresolved constraint in bundle my-test-bundle [57]: Unable to resolve 57.0: missing requirement [57.0] osgi.wiring.package; (osgi.wiring.package=javax.wsdl)
        at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.karaf.shell.osgi.RestartBundle.doExecute(RestartBundle.java:51)
        at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)
        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.3.0.fuse-71-047]

Environment

  • Fuse ESB 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content