search cancel

AWA: Analytic Dashboard Errors 'Error while generating chart.: Unexpected character'

book

Article ID: 188407

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After installing Analytics, there are the following errors present in AWI in Analytics Dashboard:

'InternationalizedServiceException{mlsMessage='Error while generating chart.: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')InternationalizedServiceException{mlsMessage='Error while generating chart.: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: (String)"<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found..etc.'

Cause

Misconfiguration:

Most likely, backend.endpoint has the incorrect port in the plugin.properties.

Environment

Release : 12.3

Component : AUTOMATION ENGINE, Analytics 

Resolution

Verify the configuration of the analytics.
Here is what to check for:

1. Check the following values  application.properties:
server.port
datasource.analytics.url
collectors.enabled=true

2. In Automic Web Interface, go to the Administration perspective, and click on Agents&Groups, check if AI agent is running

3. Check webui properties for Analytics:
In <Automic>/External.Resources/apache-tomcat/webapp/awi/config/webui-plugin-analytics/plugin.properties
In plugin.properties, check if the backend.endpoint has the correct URL and port. 

If all the configuration is correct, and the issue is still present, open a ticket with Broadcom Support.