Author: Lynn_Williams
Document ID: TEC1881846
Last Modified Date: 3/31/2016
- Products
- CA Application Performance Management
- Releases
- CA Application Performance Management:Release:10.1
- CA Application Performance Management:Release:10.0
- Components
- INTROSCOPE WEBVIEW
- APPLICATION PERFORMANCE MANAGEMENT
Issue
Getting a blank page when accessing APM Team Center and seeing the following errors:
- "Error retrieving permissions. Status code: 503"
- "Error reading data from polling URL: ../apm/appmap/private/permission. Retrying in 60000ms."
Environment:
APM 10.1 on Windows/Linux environments
APM Team Center 10.1
Cause:
The cause could be either the hostname or port are not defined correctly.
Also, the issue occurs because of the difference between the 9.6x/9.7x, 10.0 and 10.1 database schemas. When upgrading the database, some tables may be missing and causing this error. If you are NOT receiving the below error, then proceed with this document:
[ERROR] [Thread-44] [Manager.AppMap]
org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [SELECT data FROM appmap_model_vertices WHERE update_time > ?]; nested exception is org.postgresql.util.PSQLException: ERROR: relation "appmap_model_vertices" does not exist
Resolution
This problem can be resolved by making sure the "EM_Host" and "port" are correct in the following Webview property:
# URL that points to root of the Enterprise Manager REST API
introscope.webview.enterprisemanager.rest.base=http://{EM_HOST}:8081/apm/appmap
The "{EM_HOST}" should be the EM host and the port defined in above property should match the port defined in the below Enterprise Manager property:
introscope.enterprisemanager.webserver.port=8081
Alternatively if the jetty file is being used for the non-secure webserver via EM property:
then check that file to ensure the non-secure http listener/connector section is uncommented and the value for "port" matches
NOTE:
Simialr advice applies if using secure WebView (webview-jetty-config.xml file) with secure EM Web server (em-jetty-config.xml) and WebView property:
introscope.webview.enterprisemanager.rest.base=https://{EM_HOST}:8443/apm/appmap
Additional Information:
http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1021402.aspx
https://wiki.ca.com/display/APMDEVOPS101/Fixed Issues
Search the Entire CA APM Knowledge Base