Probe can't download __CmdbClassModel.bin

  • KM00359784
  • 12-Feb-2013
  • 12-Feb-2013

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

Probe can't download __CmdbClassModel.bin as result discovery couldn't be started.

Question

 

jvm 1    | <2010-10-19 09:27:05,824> 1230132 [INFO ] [ProbeGW: DB Tasks Distributer] (DiscoveryClient.java:563) - ProbeGW: Downloading file from server: discoveryConfigFiles/__CmdbClassModel.bin
jvm 1    | <2010-10-19 09:27:06,293> 1230601 [WARN ] [ProbeGW: DB Tasks Distributer] (DownloadsManager.java:95) - Failed to download server data
jvm 1    | java.io.IOException: No ZipEntry found.
jvm 1    |  at com.mercury.topaz.cmdb.shared.util.Zipper.unzip(Zipper.java:150)
jvm 1    |  at com.hp.ucmdb.discovery.library.communication.client.DiscoveryClient.downloadServerData(DiscoveryClient.java:576)
jvm 1    |  at com.hp.ucmdb.discovery.library.communication.downloader.DownloadsManager.checkFiles(DownloadsManager.java:62)
jvm 1    |  at com.hp.ucmdb.discovery.probe.agents.probegw.downloader.ProbeDownLoader.downloadServerData(ProbeDownLoader.java:81)
jvm 1    |  at com.hp.ucmdb.discovery.probe.agents.probegw.downloader.DownloadResourcesCommand.executeProbeCommand(DownloadResourcesCommand.java:42)
jvm 1    |  at com.hp.ucmdb.discovery.probe.agents.probegw.ProbeTasksActivator.runManagementTask(ProbeTasksActivator.java:45)
jvm 1    |  at com.hp.ucmdb.discovery.probe.agents.probegw.taskdistributor.ProbeTasksDistributer.distributeTask(ProbeTasksDistributer.java:279)
jvm 1    |  at com.hp.ucmdb.discovery.probe.agents.probegw.taskdistributor.ProbeTasksDistributer.distributeTasks(ProbeTasksDistributer.java:206)

Answer

version.dat file was missing from the UCMDB Server's root folder.

This caused the server to think its version is 0.0, and try to "downgrade" the Class Model when asked to download it by the probe.
Eventually this caused an exception when trying to download the __Ver8CmdbClassModel.bin when in-fact the file that should have been downloaded is the regular class model __CmdbClassModel.bin.

We have copied the version.dat from the probe's folder to the server's folder.
After that the probe was downloading resources successfuly.