[OM TIP] Error when trying to edit a node via the adminui: "Duplicate widget id"

PROBLEM:

After installing the new patch (9.11.040) on OMU server, the following error is shown when trying to edit a node via the AdminUI:
Duplicate widget id "1__linux____x86____linux26" detected at fd:group -
file:/HPOM/opt/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/edit-node-model-MonOMPTK_server.xml:4888:962.
Container widget "node-type-platform-sel" at fd:union -
file:/HPOM/opt/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/edit-node-model-MonOMPTK_server.xml:6:720
already contains a widget with id "1__linux____x86____linux26" at fd:group -
file:/HPOM/opt/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/edit-node-model-MonOMPTK_server.xml:4428:96

CAUSE:

The error shown: " Duplicate widget id " indicates, that there is an AgentPlatform file twice in the OM server.
MIDAS & AdminUI do not allow the same platform file (& platform numbers) more than once.


RESOLUTION:

Remove the additional agent bits:

Please check your system for any duplicates.

Example:

#cd /var/opt/OV/share/databases/OpC/mgd_node/vendor
#find / -name AgentPlatform

...
./ibm/rs6000/aix5/AgentPlatform
./ip/other/other/AgentPlatform
./hp/alpha/tru64/AgentPlatform
./hp/alpha/tru64/A.08.10.160/RPC_BBC/AgentPlatform
...



In this example deleted this one (the whole directory structure, not just the AgentPlatform file):
./hp/alpha/tru64/A.08.10.160/RPC_BBC/AgentPlatform

and performed the steps below and adding nodes worked again :

notes: Make sure you move the file outside the OM vendor tree. You could also delete it.

Additionally, please remove ALL .xml files inside the following directory:
/opt/OV/OMU/adminUI/webapps/midas/work/webapp/content/ovo/nodeedit/forms/

After that a restart of AdminUI is necessary:
/opt/OV/OMU/adminUI/adminui stop
/opt/OV/OMU/adminUI/adminui start


This is documented in the following KCS article: http://support.openview.hp.com/selfsolve/document/KM00779402