You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/03/03 06:48:00 UTC

[jira] [Work started] (KARAF-5555) 404 Errors while trying to use rest service

     [ https://issues.apache.org/jira/browse/KARAF-5555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-5555 started by Jean-Baptiste Onofré.
---------------------------------------------------
> 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)