"An error occurred while attempting to search the repository" in Atrium Orchestrator

Version 2
    Share This:

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


    PRODUCT:

    BMC Atrium Orchestrator Platform


    APPLIES TO:

    BMC Atrium Orchestrator Platform 7.x.xx BMC Atrium Orchestrator Platform 8.x.xx TrueSight Orchestration Platform 8.x.xx



    PROBLEM:

     

    In BMC Atrium Orchestrator / TrueSight Orchestration (TSO), I am unable to retrieve modules in Grid Manager. Whenever I load the Manage -> Adapters or Manage -> Modules page, or when I try to activate a new adapter or module, I see one of these errors:

    An error occurred while attempting to search the repository with the query string "SELECT WHERE type='MODULE'". The server responded with a status code of [401] and a message of "Unauthorized".

    An error occurred while attempting to search the repository with the query string "SELECT WHERE type='ADAPTER'". The server responded with a status code of [401] and a message of "Unauthorized".

    An error occurred while attempting to search the repository with the query string "SELECT WHERE type='MODULE'". The server responded with a status code of [404] and a message of "Not found".


    The exact error varies, but is always includes a query string and a status code.

     


    CAUSE:

    The peer is unable to retrieve Content information from the Repository, usually because of a configuration issue that prevents it from making a valid connection.


    SOLUTION:

    Check the files [TSO_HOME]\tomcat\logs\grid.log file and [REPO_HOME]\repository\logs\repository.log for a more detailed error message. Common causes for this error include:

       
    • The peer or Repository is unable to connect to the authentication service (Atrium Single Sign-On or Remedy Single Sign-On). Verify that your authentication service is running and that you can connect to it from the peer servers. If you are using Atrium Single-Sign On, you may need to re-register the peer or Repository.
    •  
    • The Repository's certificates have expired. If you are using signed certificates, verify their expiration date and, if necessary, generate new certificates and import them into the Repository and peer truststores.
    •  
    • The Repository cannot connect to its external database. Verify that the database is available and that the Repository has the drivers it needs to connect to it.
    •  
    • Open the file [TSO_HOME]\tomcat\conf\context.xml on your peer and verify that the parameter "com.bmc.ao.REPOSITORY_URL" points to the Repository URL. If it does not, correct it.
    In all cases, restart your peer and Repository after you make changes. This allows TSO to read its new configuration and attempt a new connection. 

     


    Article Number:

    000065008


    Article Type:

    Solutions to a Product Problem



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