After logging into APM Team Center, everything loads up fine. But a short while later, a "Fatal Error" pop-up shows on the top right of the window.

Document ID : KB000040488
Last Modified Date : 14/02/2018
Show Technical Document Details

 Symptoms: 

 After logging into APM Team Center, everything loads up fine. But a short while later, a "Fatal Error" pop-up appears on the top right of the window.

 

Team Center error.png

 

 Environment:  

 Introscope 10.x

 

 Cause: 

 The error presented is often caused by a configuration issue. This is particularly true if your WebView server and Enterprise Manager/MOM server are not on the same machine, It is important to be able to direct the WebView/Team Center server to the API of the Enterprise Manager that publishes the data.

 Resolution:

 Scenario 1:

 In the IntroscopeWebView.properties, there is a configuration section to point WebView towards the MOM/EM.


 # URL that points to root of the Enterprise Manager REST API

 introscope.webview.enterprisemanager.rest.base=http://{EM_HOST}:8081/apm/appmap

 Update the value of EM_HOST with the real hostname/IP of the Enterprise Manager/MOM.

 

 Scenario 2:

 Another reason that this could fail is if you have WebView and Enterprise Manager on the same machine but the Enterprise Manager webserver port has been changed. That could be done this way:

 -Changing this property in IntroscopeEnterpriseManager.properties:

 introscope.enterprisemanager.webserver.port=8081

 in which case the value of 8081 in

 introscope.webview.enterprisemanager.rest.base=http://{EM_HOST}:8081/apm/appmap

 needs to be updated to the correct value.

 

 Scenario 3:

 The other scenario is if the Enterprise Manager is configured to use HTTPS for the embedded web server port.

 To recognize that, this property in IntroscopeEnterpriseManager.properties will be uncommented as shown below:

 introscope.enterprisemanager.webserver.jetty.configurationFile=em-jetty-config.xml

 And then we would need to verify in em-jetty-config.xml the value for the port, by default 8444.

   <Set name="port">8444</Set>

 There is no automatic redirect when using the HTTPS connector so if this is the scenario, you would have to specifically  specify HTTPS protocol in the URL

 introscope.webview.enterprisemanager.rest.base=https://{EM_HOST}:8444/apm/appmap

 

 Additional Information:

 If these suggestions do not help, then open a case with CA Support to resolve this problem.