Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2649

jpa-hibernate feature does not get installed in Fabric managed containers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.1
    • Fabric8 v1, Karaf
    • None
    • % %
    • Hide
      • Take a fresh JBoss Fuse 6.1.0 installation.
      • Create a profile and then install "jpa-hibernate" feature to it as following:
        fabric:create --wait-for-provisioning 
        profile-create --parents default profile-one 
        profile-edit --features jndi profile-one
        profile-edit --features jpa profile-one
        profile-edit --features jpa-hibernate profile-one
        
        
        container-create-child root TestContainerOne
        container-add-profile TestContainerOne profile-one 
        
      • Check the log of TestContainerOne.
      Show
      Take a fresh JBoss Fuse 6.1.0 installation. Create a profile and then install "jpa-hibernate" feature to it as following: fabric:create --wait- for -provisioning profile-create --parents default profile-one profile-edit --features jndi profile-one profile-edit --features jpa profile-one profile-edit --features jpa-hibernate profile-one container-create-child root TestContainerOne container-add-profile TestContainerOne profile-one Check the log of TestContainerOne.

    Description

      • In a fabric managed environment when the "jpa-hibernate" feature is added to a profile then the following kind of error can be seen in the Container which is assigned to that profile.
      2015-02-12 19:33:15,618 | ERROR | agent-1-thread-1 | DeploymentAgent                  | .fabric8.agent.DeploymentAgent$2  255 | 98 - io.fabric8.fabric-agent - 1.0.0.redhat-379 | Unable to update agent
      org.osgi.service.resolver.ResolutionException: Unable to resolve dummy/0.0.0: missing requirement [dummy/0.0.0] osgi.identity; osgi.identity=jpa-hibernate; type=karaf.feature; version=0
      	at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)[98:io.fabric8.fabric-agent:1.0.0.redhat-379]
      	at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)[98:io.fabric8.fabric-agent:1.0.0.redhat-379]
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:148)[98:io.fabric8.fabric-agent:1.0.0.redhat-379]
      	at io.fabric8.agent.DeploymentBuilder.resolve(DeploymentBuilder.java:226)[98:io.fabric8.fabric-agent:1.0.0.redhat-379]
      	at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:521)[98:io.fabric8.fabric-agent:1.0.0.redhat-379]
      	at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:252)[98:io.fabric8.fabric-agent:1.0.0.redhat-379]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_71]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71]
      	at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]
      

      Attachments

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            jaysensharma Jay SenSharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: