[ 
https://issues.apache.org/jira/browse/KARAF-5555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389321#comment-16389321
 ] 

Jean-Baptiste Onofré commented on KARAF-5555:
---------------------------------------------

Fixed with 318a59b308b55d6e4844ad1b7e39690b80c766d4

> 404 Errors while trying to use rest service
> -------------------------------------------
>
>                 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: cave-4.1.1
>
>
> 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
(v7.6.3#76005)

Reply via email to