TrueSight Orchestration Dashboard login fails with error "port out of range: -1"

Version 1
    Share This:

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


    PRODUCT:

    TrueSight Orchestration Platform


    APPLIES TO:

    TrueSight Orchestration 8.x.xx



    PROBLEM:

    Users cannot log into the BMC TrueSight Orchestration (TSO) Dashboard. All login attempts fail for all users, including aoadmin. The Dashboard log file contains this error for each login attempt:
     

      01-Jan-2020 01:01:01.001 SEVERE [https-jsse-nio-28080-exec-8] com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError javax.faces.el.EvaluationException:    java.lang.IllegalArgumentException: port out of range:-1
      
    The files gridmap.properties and gridhosts.properties are configured properly and contain no ports. The Dashboard can communicate with the Configuration Distribution peer (CDP). 

     


    CAUSE:

    The Dashboard cannot reach BMC Remedy Single Sign-On because its cannot find port information in the CDP's authentication.xml file.


    SOLUTION:

    Open the file [TSO_HOME]\config\authentication.xml for your CDP. It should look like this:
     

      <?xml version="1.0" encoding="ISO-8859-1"?><authentication>
      <config>
        <service-type>RSSO_EXTERNAL</service-type>
        <url>https://myserver.com:28080</url>
        <tenant>BAOLocal</tenant>
        <version>18.x</version>
      </config>
    </authentication>
      
    The <url> element must contain a port. If it does not, the Dashboard cannot parse the URL properly and will assume the port -1. Add the correct port to the URL, save the file, and restart the CDP and Dashboard. 

     


    Article Number:

    000180304


    Article Type:

    Solutions to a Product Problem



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