After upgrading to DxNetOps Spectrum 21.2.6, the data source test in CAPM is failing unable to communicate with the data source.
search cancel

After upgrading to DxNetOps Spectrum 21.2.6, the data source test in CAPM is failing unable to communicate with the data source.

book

Article ID: 231952

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

After upgrading to DxNetOps Spectrum 21.2.6, the data source test in CAPM is failing unable to communicate with the data source.

The following error is seen in the wrapper log file on the CAPM system:

INFO   | jvm 1    | 2022/01/07 06:41:50 | ERROR | qtp580818733-13123       | 2022-01-07 06:41:50,814 | com.ca.im.portal.api.services.datasource.DataSourcePoll          
INFO   | jvm 1    | 2022/01/07 06:41:50 |       | Received WebServiceException from version check for data source Spectrum Infrastructure Manager@<IP Address>  CAUSE=org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType.  Incoming portion of HTML stream:
.
.
INFO   | jvm 1    | 2022/01/07 06:41:50 | <base href="http://XXX.XXX.XXX.XXX:8888/axis2/">
INFO   | jvm 1    | 2022/01/07 06:41:50 |     <title>Axis2 :: Internal server error</title>
INFO   | jvm 1    | 2022/01/07 06:41:50 |     <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css">
INFO   | jvm 1    | 2022/01/07 06:41:50 |     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
INFO   | jvm 1    | 2022/01/07 06:41:50 |   </head>

Environment

Release : All Supported Releases

Component : SPCINT - Spectrum Integrations

Cause

Probable issue with the $SPECROOT/tomcat/webapps/axis2/WEB-INF/conf/axis2.xml file on the OneClick web system.

Resolution

Check to see if there is a context.xml file located in the $SPECROOT/tomcat/webapps/axis2/META-INF directory.

If not, please do the following:

1. Copy the $SPECROOT/tomcat/webapps/spectrum/META-INF/context.xml file to the $SPECROOT/tomcat/webapps/axis2/META-INF directory.

2. Edit the $SPECROOT/tomcat/webapps/axis2/META-INF/context.xml file.

    a. Look for the following entry:

<Context path="/spectrum" docBase="spectrum">

    b. Change the above entry to the following:

<Context path="/axis2" docBase="spectrum">

    c. Save the change

3. Restart tomcat

4. Configure Spectrum as a data source in CAPM.

Additional Information

If there is a context.xml file located in the $SPECROOT/tomcat/webapps/axis2/META-INF directory and you have OneClick configured using https, reference the following knowledge article:

https://knowledge.broadcom.com/external/article?articleId=202988