After upgrading the DX NetOps Performance Management Data Aggregator to r21.2.2 the Data Collector upgrade is showing the following error.
[[email protected]_HOST]# wget http://DA_HOST:8581/dcm/InstData/Linux/VM/install.bin
--2021-08-31 09:44:40-- http://DA_HOST:8581/dcm/InstData/Linux/VM/install.bin
Resolving DA_HOST (DA_HOST)... DA_HOST_IP
Connecting to DA_HOST (DA_HOST)|DA_HOST_IP|:8581... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-08-31 09:44:40 ERROR 404: Not Found.
Download of the Data Collector install.bin file fails with a 404 not found error.
The following error is seen in the Data Aggregator (default path) /opt/IMDataAggregator/apache-karaf-<version>/data/log/karaf.log when the 404 error appears.
ERROR | 43b-386c8000b577 | 2021-08-31T09:54:50,974 | WebObserver | xtender.war.internal.WebObserver 193 | web.pax-web-extender-war | | Error scanning web bundle com.ca.im.data-manager.core.dcminstaller_21.2.2.RELEASE-189 [57]: null
java.lang.NullPointerException: null
An error in a file used by the dcminstaller on the Data Aggregator has caused this problem.
DX NetOps Performance Management r21.2.2
A fix for this is available in all DX NetOps Performance Management releases r21.2.3 and newer. This was addressed by engineering via defect DE513300.
Workaround for r21.2.2 release: The following steps can be used to resolve this until a newer release is installed.
These steps will:
Use the following steps to resolve this problem.
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<display-name>webapp-bundle example</display-name>
<!-- Links the Spring container to the J2EE webapp -->
<context-param>
<param-name>contextClass</param-name>
<param-value>org.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext</param-value>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/META-INF/spring/*.xml</param-value>
</context-param>
</web-app>