Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5555

404 Errors while trying to use rest service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • cave-4.1.1
    • cave
    • None
      • Mac OS
      • apache-karaf-4.1.4.tar.gz
      • Oracle Java JDK 1.8.0_131

    Description

      On a fresh install of Karaf 4.1.4 I run the following commands:

      karaf@root()> repo-add cave 4.1.0
      Adding feature url mvn:org.apache.karaf.cave/apache-karaf-cave/4.1.0/xml/features
      karaf@root()> feature:install cave-server
      karaf@root()> cave:repository-create my-repository
      karaf@root()> cave:repository-upload my-repository mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_5

      When I go to the following URL I get a response:
      http://localhost:8181/cave/http/my-repository-repository.xml

      However, nothing else seems to work.

      When I go to the following URLs I get a 404 error:
      http://localhost:8181/cave/rest
      http://localhost:8181/cave/rest?_wadl
      http://localhost:8181/cave/maven

      When I go to the following URL I get a 500 error:
      http://localhost:8181/cave/http/gateway
      500 shows a stacktrace of: java.io.FileNotFoundException: ~/apache-karaf-4.1.4/data/cave-features-gateway.xml (No such file or directory)

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            ccaspanello Chris Caspanello
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: