2 Replies Latest reply on Jul 24, 2014 4:22 AM by Freeman(Yue) Fang

    Dependent feature remaining uninstalled

    Tim Brown Newbie

      Hi,

       

      I'm trying to build a Camel route that uses a JDBC endpoint using Spring JDBC.

      The app has been deployed into a profile & the profile assigned to a container.

       

      When I check the status of the spring-jdbc feature I can see it's uninstalled in the fabric:

      JBossFuse:karaf@root> features:list|grep jdbc

      [installed  ] [2.12.0.redhat-610379   ] camel-jdbc                              camel-2.12.0.redhat-610379           

      [uninstalled] [3.2.8.RELEASE_1        ] spring-jdbc                             spring-2.3.0.redhat-610379            Spring 3.2 JDBC support

       

      I then add the feature to my profile:

      JBossFuse:karaf@root> fabric:profile-edit --features spring-jdbc/3.2.8.RELEASE_1 com.kony-timjdbc2

      Adding feature:spring-jdbc/3.2.8.RELEASE_1 to profile:com.kony-timjdbc2 version:1.0

       

      Check the profile has been updated ok:

      JBossFuse:karaf@root> fabric:profile-display com.kony-timjdbc2

      Profile id: com.kony-timjdbc2

      Version   : 1.0

      Attributes:

        parents: feature-camel

      Containers: timjdbc2

       

      Container settings

      ----------------------------

      Features :

        spring-jdbc/3.2.8.RELEASE_1

       

      Bundles :

        mvn:com.kony/timjdbc2/1.0.0-SNAPSHOT

       

      Agent Properties :

          lastRefresh.com.kony-timjdbc2 = 1406112338287

       

       

      Configuration details

      ----------------------------

       

      Other resources

      ----------------------------

      Resource: modules/com.kony/timjdbc2-requirements.json

       

       

      If I now check the status of the feature it is still uninstalled:

      JBossFuse:karaf@root> features:list|grep jdbc

      [installed  ] [2.12.0.redhat-610379   ] camel-jdbc                              camel-2.12.0.redhat-610379           

      [uninstalled] [3.2.8.RELEASE_1        ] spring-jdbc                             spring-2.3.0.redhat-610379            Spring 3.2 JDBC support

       

       

      Thanks

       

      Tim