Hazelcast deployment on Redhat JBoss Fuse Server causes problems of bundle dependencies

Solution Unverified - Updated -

Issue

  • We are using JPA + Hibernate as our ORM Solution. We have added the hazelcast as second level cache provider. When we run the project as (Run As) camel context(without test), it runs successfully without any issues. But when we deploy the project into fabric container we are getting following wiring exception,
                                    org.osgi.service.resolver.ResolutionException: Unable to resolve dummy/0.0.0: missing requirement [dummy/0.0.0] osgi.identity;
osgi.identity=com.hazelcast; type=osgi.bundle; version="[3.0.2,3.0.2]" missing requirement
[com.hazelcast/3.0.2] osgi.wiring.package; filter:="(osgi.wiring.package=javax.script)"]
                                    at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)[60:io.fabric8.fabric-agent:1.0.0.redhat-379]                                
  • It seems like hazelcast osgi don’t work well with javax.script packages.

  • Can you please provide a guide/document on how to deploy Hazelcast on Fabric/Fuse and provide a sample code for the same.

  • Is hazelcast supported in JBoss Fuse ?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • camel-hazelcast component

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