Chris Caspanello created KARAF-5555:
---------------------------------------
Summary: 404 Errors while trying to use rest reposit
Key: KARAF-5555
URL: https://issues.apache.org/jira/browse/KARAF-5555
Project: Karaf
Issue Type: Bug
Components: cave-rest
Environment: * Mac OS
* apache-karaf-4.1.4.tar.gz
* Oracle Java JDK 1.8.0_131
Reporter: Chris Caspanello
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)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)