CRA - Common Rest API - Error 404 - The requested resource is not available.

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MainView Infrastructure


    APPLIES TO:

    Common REST API, Apache Tomcat



    QUESTION:

    When attempting to run a Services query using the following curl command, an error message may be received indicating "404 - The requested resource is not available".

    curl -v -u *userID*:*password* http://*HostName*:8080/cra/ServiceGateway/Services


    ANSWER:

    When deploying the .war file, both the directory path and full filename should be referenced in the URL, it should look like the following:
    User-added image


    When deployed using just the directory path to the .war file instead, a message is still issued indicating the application was successfully deployed:
    User-added image

    When deployed successfully using the full path and .war filename, there should be a Display Name for the Application like the example below:
    User-added image


    Article Number:

    000214439


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles