• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2
    • jboss-fuse-6.1
    • Karaf
    • None
    • % %

      In clean fuse, feature jpa is uninstalled by default

      JBossFuse:karaf@root> features:list | grep jpa
      [uninstalled] [1.0.1.redhat-610379    ] jpa                                     karaf-enterprise-2.3.0.redhat-610379 OSGi Persistence Container
      [uninstalled] [4.5.0.redhat-610379    ] jpa-hibernate                           servicemix-4.5.0.redhat-610379       
      [uninstalled] [2.12.0.redhat-610379   ] camel-jpa                               camel-2.12.0.redhat-61037
      

      Command features:install jpa does practically nothing (compared osgi:list before and after feature:install jpa).
      It contains bundles that are probably installed by default

      JBossFuse:karaf@root> features:info jpa
      Description of jpa 1.0.1.redhat-610379 feature
       OSGi Persistence Container
      ----------------------------------------------------------------
      JPA implementation provided by Apache Aries JPA 1.0.1.redhat-610379. NB: this feature doesn't provide the JPA engine, you have to install one by yourself (OpenJPA for instance)
      ----------------------------------------------------------------
      Feature has no configuration
      Feature has no configuration files
      Feature has no dependencies.
      Feature contains followed bundles:
       mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 start-level=30
       mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1 start-level=30
       mvn:org.apache.aries/org.apache.aries.util/1.0.1.redhat-610379 start-level=30
       mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/1.0.1.redhat-610379 start-level=30
       mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint.aries/1.0.1.redhat-610379 start-level=30
       mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/1.0.1.redhat-610379 start-level=30
       mvn:org.apache.aries.jpa/org.apache.aries.jpa.container.context/1.0.1.redhat-610379 start-level=30
      

      Installation works as expected

      JBossFuse:karaf@root> features:install jpa
      JBossFuse:karaf@root> features:list | grep jpa
      [installed  ] [1.0.1.redhat-610379    ] jpa                                     karaf-enterprise-2.3.0.redhat-610379 OSGi Persistence Container
      [uninstalled] [4.5.0.redhat-610379    ] jpa-hibernate                           servicemix-4.5.0.redhat-610379       
      [uninstalled] [2.12.0.redhat-610379   ] camel-jpa                               camel-2.12.0.redhat-610379           
      JBossFuse:karaf@root> 
      

      Trying to uninstall feature blocks fuse and after that there is no way to ssh or login to hawt.io

      JBossFuse:karaf@root> features:uninstall jpa
      JBossFuse:karaf@root> # hit enter or whatever, but shell hangs
      #can type whatever, no response
      

      EDIT: blocked thread is unrelated to this issue: it is from webconsole, waiting for connection. It is expected behaviour

              yfang@redhat.com Freeman(Yue) Fang
              jludvice Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: