Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
99 views

UCMDB Support Tip: Resolving duplicated JBoss AS CIs in ucmdb 10.01 CP12

Hello All,

 

We have come accross an issue, where the uCMDB discovered  JBoss AS using the discovery module Host Applications by Shell, however, when the job JEE JBoss by shell was enabled it created duplicated CIs for the Jboss AS.

 

The root cause for this issue is that CIs discovered by HRA by shell don’t have any value in the attribute “J2EE Server Full Name”.  To resolve this we modified the script plugins_jboss_server_domain.py adding this line:

                context.application.getOsh().setAttribute('j2eeserver_fullname', serverName)

 

This line was added in the definition of getInstanceName function under line 45

 

                context.application.getOsh().setAttribute('j2eeserver_servername', serverName)

 

Regards,

Irina

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star on the left to say 'Thanks'
Labels (1)
Tags (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.