Hostname is incorrect in NCM Workflow email
search cancel

Hostname is incorrect in NCM Workflow email


Article ID: 199250


Updated On:


CA Spectrum CA eHealth


When enabling NCM workflow, the email has "OneClick Server Name" instead of the actual OC name 

Approve this task:

https://<OneClick Server Name>:8443/spectrum/ncm/updateWorkflow?wfId=

Deny this task:

https://<OneClick Server Name>:8443/spectrum/ncm/updateWorkflow?wfId=

 Where can this be changed to update with the actual hostname?


Release : 10.4.1

Component : Spectrum Applications


The reason the OC hostname is not in the link is that the SS hos runs on OpenStack which essentially assigns DHCP addresses and in the hosts file, they resolve the server name to the loopback address.

Tomcat attempts to get the server's host name using java generic API InetAddress.getLocalHost(). If tomcat receive the loop back address, then null is returned and tomcat is defaulting <OneClick Server Name> as a host name, indicating tomcat could not retrieve the host name.


The emailed link does work if we put the OC Hostname in the link.  This means they'll need to use the GUI or manually edit the link as a workaround and enter it into a browser.

An enhancement has been submitted for future consideration to change the way the hostname is retrieved.