Karaf
  1. Karaf
  2. KARAF-878

obr:listurl still showing URLs of uninstalled repositories.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: cave-2.3.0
    • Fix Version/s: cave-2.3.0
    • Component/s: cave-repository
    • Labels:
      None

      Description

      Hi, using the latest Cave trunk source code as of this writing, creating a cave-repo causes its repository to be correctly listed when I do an obr:listurl, however after uninstalling the cave repo it's still listed in the obr:listurl command:

      karaf@tesb> features:addurl mvn:org.apache.karaf.cave/apache-karaf-cave/3.0.0-SNAPSHOT/xml/feature
      s
      karaf@tesb> features:install cave-server
      karaf@tesb> la|grep -i cave
      [ 171] [Active ] [ ] [ ] [ 60] Apache Karaf :: Cave :: Server :: API (3.0.0.SNAPSHOT)
      [ 172] [Active ] [Created ] [ ] [ 60] Apache Karaf :: Cave :: Server :: Storage (3.0.0.SNAPSHOT)
      [ 173] [Active ] [Created ] [ ] [ 60] Apache Karaf :: Cave :: Server :: Management (3.0.0.SNAPSHOT)
      [ 174] [Active ] [Created ] [ ] [ 60] Apache Karaf :: Cave :: Server :: Command (3.0.0.SNAPSHOT)
      [ 175] [Active ] [ ] [ ] [ 60] Apache Karaf :: Cave :: Server :: HTTP (3.0.0.SNAPSHOT)
      karaf@tesb> cave:list-repositories
      Name Location
      karaf@tesb> obr:listurl
      http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/repository.xml
      karaf@tesb> cave:create-repository cave-repo4
      karaf@tesb> cave:list-repositories
      Name Location
      [cave-repo4] [/media/NewDriveExt3_/tutorial/talend-esb-4.2.1/container/cave/cave-repo4]
      karaf@tesb> obr:listurl
      http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/repository.xml
      file:/media/NewDriveExt3_/tutorial/talend-esb-4.2.1/container/cave/cave-repo4/repository.xml
      karaf@tesb> cave:remove-repository cave-repo4
      karaf@tesb> cave:list-repositories
      Name Location

        Activity

        Hide
        Glen Mazza added a comment -

        This problem still occurs even if I do an obr:refreshurl. (This command correctly updates the list with the latest bundles available in the various repository.xml files, but both it and obr:list are not checking to make sure that any Cave repos that it's using are indeed presently installed with the current Karaf session.)

        Show
        Glen Mazza added a comment - This problem still occurs even if I do an obr:refreshurl. (This command correctly updates the list with the latest bundles available in the various repository.xml files, but both it and obr:list are not checking to make sure that any Cave repos that it's using are indeed presently installed with the current Karaf session.)

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Glen Mazza
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development