Data Collector install.bin download failure post upgrade


Article ID: 222975


Updated On:


CA Performance Management - Usage and Administration DX NetOps


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
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 [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.

Additional Information

Workaround for r21.2.2 release: The following steps can be used to resolve this until a newer release is installed.

These steps will:

  1. Back up the 21.2.2 war file to /opt/patch.
  2. Make a 2nd copy of the war file and update the new web.xml file.
  3. Copy the new war into place, clear out data/cache via DA restart and redeploy the corrected bundles.

Use the following steps to resolve this problem.

  1. On the Data Aggregator host create a directory named: /opt/patch/WEB-INF
  2. In the new directory create a new web.xml.
  3. Add the following to the new web.xml file content:
    • <?xml version="1.0" encoding="UTF-8"?>
      	<display-name>webapp-bundle example</display-name>
      	<!-- Links the Spring container to the J2EE webapp -->
  4. Run the following command. Default install paths are used. Edit the path as needed to match your installation.
    • cp /opt/IMDataAggregator/maven_repository/com/ca/im/data-manager.core.dcminstaller/21.2.2-RELEASE-189/data-manager.core.dcminstaller-21.2.2-RELEASE-189.war /opt/patch/data-manager.core.dcminstaller-21.2.2-RELEASE-189.war.backup
    • cp /opt/IMDataAggregator/maven_repository/com/ca/im/data-manager.core.dcminstaller/21.2.2-RELEASE-189/data-manager.core.dcminstaller-21.2.2-RELEASE-189.war /opt/patch/data-manager.core.dcminstaller-21.2.2-RELEASE-189.war
  5. Go to the /opt/patch directory using: cd /opt/patch
  6. Run:
    • zip -u data-manager.core.dcminstaller-21.2.2-RELEASE-189.war WEB-INF/web.xml
  7. Stop the DA using:
    • RH 6.x: system dadaemon stop
    • RH 7.x: systemctl stop dadaemon
  8. Run:
    • cp /opt/patch/data-manager.core.dcminstaller-21.2.2-RELEASE-189.war /opt/IMDataAggregator/maven_repository/com/ca/im/data-manager.core.dcminstaller/21.2.2-RELEASE-189/data-manager.core.dcminstaller-21.2.2-RELEASE-189.war
  9. Run:
    • rm -rf /opt/IMDataAggregator/apache-karaf-4.2.6/data/cache
  10. Start the DA using:
    • RH 6.x: system dadaemon start
    • RH 7.x: systemctl start dadaemon
  11. Restart the Data Collector upgrade process. The wget to retrieve the install.bin for install should now work without error.