Web methods jars not resolving.

Solution Verified - Updated -

Issue

  • The webmethods jar is not getting resolved even if user added as wrap.The following are jars
wm-brokerclient.jar
wm-utils.jar
wm-jmsclient.jar
wm-jmsnaming.jar

<bundle dependency='true'>wrap:mvn:WebMethods/wm-utils/1.0</bundle>
<bundle dependency='true'>wrap:mvn:WebMethods/wm-brokerclient/1.0</bundle>
<bundle dependency='true'>wrap:mvn:WebMethods/wm-jmsclient/1.0</bundle>
<bundle dependency='true'>wrap:mvn:WebMethods/wm-jmsnaming/1.0</bundle>
  • The error received
org.osgi.service.resolver.ResolutionException: Unable to resolve dummy/0.0.0: missing requirement [dummy/0.0.0] osgi.identity; osgi.identity=csl-edmiJMS-service; type=karaf.feature; version=1.0.0 [caused by: Unable to resolve csl-edmiJMS-service/1.0.0: missing requirement [csl-edmiJMS-service/1.0.0] osgi.identity; osgi.identity=edmiJms; type=osgi.bundle; version="[1.0.0,1.0.0]" [caused by: Unable to resolve edmiJms/1.0.0: missing requirement [edmiJms/1.0.0] osgi.wiring.package; filter:="(osgi.wiring.package=xxx.yyy.zzz.provider)"]]
        at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)[63:io.fabric8.fabric-agent:1.0.0.redhat-412]
        at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)[63:io.fabric8.fabric-agent:1.0.0.redhat-412]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:148)[63:io.fabric8.fabric-agent:1.0.0.redhat-412]
        at io.fabric8.agent.DeploymentBuilder.resolve(DeploymentBuilder.java:231)[63:io.fabric8.fabric-agent:1.0.0.redhat-412]
        at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:567)[63:io.fabric8.fabric-agent:1.0.0.redhat-412]
        at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:293)[63:io.fabric8.fabric-agent:1.0.0.redhat-412]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_75]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_75]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_75]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_75]
        at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]
  • User is having a war file which connects with webservice messaging broker, This war is deployable and working in any other web server but not in Fuse.
  • User tried to convert it to osgi bundle but everytime it fails with dependency error.

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

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