4 Replies Latest reply on May 7, 2014 12:42 PM by Claus Ibsen

    HazelCast Deployment in Fuse: Missing Requirement [com.hazelcast/3.2.0] filter:="(osgi.wiring.package=javax.script)

    rahul vashishth Novice

      I am using hazelcast for hibernate second level cache. When i run it in JBOSS Developer studio it is running fine. But when i deploy it in jboss-fuse-6.1.0.redhat-379 server i am getting missing requirement 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.2.0,3.2.0]" [caused by: Unable to resolve com.hazelcast/3.2.0: missing requirement

      [com.hazelcast/3.2.0] 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]

       

       

      Hazelcast and Hazelcast-hibernate4 3.2 both comes with osgi meta-data file. that have javax.script in there import-package statement. I should not be missing any jar since

      javax.script is part of jdk packages. I appreciate any help. plz.