Super Contributor.
Super Contributor.

(UCMDB) Support Tip - New Probe for uCMDB server which is using new root context.

When customer install new probe for uCMDB server, if the server is using Root Context rather than "/". The new probe will failed to connect to uCMDB server. And in the WrapperProbeGw.log you will get messages like this:

jvm 1 | <2017-02-23 01:03:37,148> 311839 [DEBUG] [Heart Beat Thread] (HttpMethodDirector.java:644) - Redirecting from 'http://your_server:8080/mam-collectors/collectors' to 'http://your_server:8080/new_root_context/

if your probe configed with new context either, you will get 200 response from uCMDB server.
jvm 1 | <2017-02-23 01:04:07,355> 342046 [DEBUG] [Heart Beat Thread] (Wire.java:70) - << "HTTP/1.1 200 OK[\r][\n]"
or you may get wrong message like "resource can not be found"

When you install new uCMDB server with new context, you also have to change your probe settings, open:

and find out:

# uCMDB server's root context, will be used by server.webApp.name and com.hp.ucmdb.discovery.common.security.cmRestContext

change "/" to the new root context of your uCMDB server, after that your probe will connect back to ucmdb server.

HPE Software Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please hit the Kudo botton, if you find this post useful.

Labels (1)
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.