search cancel

Team Center displays a blank page with 503 error service unavailable

book

Article ID: 202027

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

After login the Team Center displays a blank page and there are 503 error messages in the console notification log

 

Cause

There are many possible causes for this symptom in this situation the cause was as follows.

 

The IntroscopeEnterpriseManager.log file contained the following Errors

10/22/20 02:07:12.678 PM BST [ERROR] [WebServerEntityPoller] [Manager.AppMap.DOINotificator] Webserver not yet available. RetryingIsengard local service bean of type class com.wily.introscope.server.enterprise.entity.webserver.WebServerEntity not found!

10/22/20 02:07:12.781 PM BST [ERROR] [main] [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'doiAlertObserver': Invocation of init method failed; nested exception is java.lang.NullPointerException
 at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
....
Caused by: java.lang.NullPointerException

10/22/20 02:07:12.804 PM BST [ERROR] [SimpleAsyncTaskExecutor-2] [Manager.AppMap.GeoLocation] Geo Location : Error while getting size of geo table
org.springframework.dao.DataAccessResourceFailureException: StatementCallback; SQL [SELECT COUNT(*) FROM apm_geolocation]; An I/O error occured while sending to the backend.; nested exception is org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
 at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:105)
.....
Caused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
.....
Caused by: java.net.SocketException: Socket closed

10/22/20 02:07:12.811 PM BST [ERROR] [SimpleAsyncTaskExecutor-2] [Manager.AppMap.GeoLocation] Error while generating the geo cache for GeoLocation
org.springframework.transaction.TransactionSystemException: Could not commit JDBC transaction; nested exception is java.sql.SQLException: Connection is closed
 at org.springframework.jdbc.datasource.DataSourceTransactionManager.doCommit(DataSourceTransactionManager.java:316)
.....
Caused by: java.sql.SQLException: Connection is closed

The failure of the DOI related service to start is triggering downstream failures and the reason for the DOI service failure is that one of the properties in the IntroscopeEnterpriseManager.properties file is missing (commented).

The section in question is

 

###############################################################################
# APM Inventory Properties
###############################################################################
introscope.enterprisemanager.doi.inventory.enabled=false
introscope.enterprisemanager.doi.inventory.docTypeId=itoa_inventory_apm
introscope.enterprisemanager.doi.inventory.docTypeVersion=1
# Please check before making forceReset to true, if it is true Inventory plugin gets the complete topology information to send it to Jarvis
# in case if we need to make it true , after some time change this to false.
introscope.enterprisemanager.doi.inventory.forceReset=false
#introscope.enterprisemanager.webview.url = http://hostname:8080/

 

Even though the feature is disabled 

introscope.enterprisemanager.doi.inventory.enabled=false

 

The property introscope.enterprisemanager.webview.url needs to be set

 

 

 

 

Environment

Release : 10.7.SP3

Component : APM Enterprise Manager

Resolution

Open the IntroscopeEnterpriseManager.properties file and ensure property introscope.enterprisemanager.webview.url is uncommendted and has a value. The default value will be fine i.e.

introscope.enterprisemanager.webview.url = http://hostname:8080/

 

 

 

Attachments