DX NetOps

Expand all | Collapse all

IP instead of hostname in Web App Beta

Jump to Best Answer
  • 1.  IP instead of hostname in Web App Beta

    Posted 04-12-2019 08:55 AM



    When I open the web app beta in Spectrum 10.3.2 from the One Click web console, the url is on the format:




    I want to change this url (to something like http://IP:9443/spectrum/oneclickwebapp/)


    Do you know how can I do this change?

  • 2.  Re: IP instead of hostname in Web App Beta
    Best Answer

    Posted 04-12-2019 08:59 AM

    Hi Bruno,

    Details are here:

    OneClick WebApp (Beta) - CA Spectrum - 10.3.1 - CA Technologies Documentation 

    To change the OneClick WebApp URL in the admin page

    To change the OneClick WebApp URL in the admin page, if the port/protocol is changed follow these steps:

    1. Navigate to the $pecroot/tomcat/webapps/spectrum/console/console-menubar.jsp and search for the following section:

      <% if ( request.isUserInRole("Administrator") == true ||
      request.isUserInRole("Operator") == true )
      { %>

      <th class="customFontSize">

      <a href="http://<HOST>:<PORT>/spectrum/oneclickwebapp/"

      onMouseOver="window.parent.status='<apputil:message key='console-menubar.Lite-OC'/>';return true;"
      onMouseOut="window.parent.status='';return true;"
      target="_blank"><apputil:message key='console-menubar.Lite-OC'/></a>

      <% } %>

    2. Customize the 'href' URL to match the OneClick hostname and the WebApp port that you set mentioned in Step 2. For example:  <ahref="http://OCServer1:8450/spectrum/oneclickwebapp/"

    3. Customize the 'href' URL mentioned above and save your changes.

    4. Refresh the admin page.




  • 3.  Re: IP instead of hostname in Web App Beta

    Posted 04-18-2019 05:44 AM

    It solved the issue! Thank you!