Highlighted
Respected Contributor.. Respected Contributor..
Respected Contributor..
184 views

Response code 500 error in HP-UCMDB 10.22

Hi All,

Using ucmdb api jar file to create a tenant using MultiTenancyService by writing JAVA code.

Connection to ucmdb is successful.

While accessing methods of MultiTenancyService, encountering below exception.

com.hp.ucmdb.api.CommunicationException: Got response code 500

at com.hp.ucmdb.api.client.http.HttpRequestSubmitter.internalSubmitRequest(HttpRequestSubmitter.java:241)
at com.hp.ucmdb.api.client.http.HttpRequestSubmitter.internalSubmitRequest(HttpRequestSubmitter.java:136)
at com.hp.ucmdb.api.client.http.HttpRequestSubmitter.internalSubmitRequest(HttpRequestSubmitter.java:75)
at com.hp.ucmdb.api.client.http.HttpRequestSubmitter.internalSubmitRequest(HttpRequestSubmitter.java:71)
at com.hp.ucmdb.api.client.AbstractRequestSubmitter.submitRequest(AbstractRequestSubmitter.java:53)
at com.hp.ucmdb.api.client.AbstractRequestSubmitter.submitRequest(AbstractRequestSubmitter.java:26)
at com.hp.ucmdb.api.client.UcmdbServiceImpl.submitRequest(UcmdbServiceImpl.java:399)
at com.hp.ucmdb.api.client.AbstractService.submitRequest(AbstractService.java:19)
at com.hp.ucmdb.api.client.multitenancy.MultiTenancyServiceImpl.getTenant(MultiTenancyServiceImpl.java:61)

Please help in this regard.

 

Regards/Sreekeshava S

0 Likes
3 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Response code 500 error in HP-UCMDB 10.22

Hello Muttus ,

I hope you are doing great !

I suggest to create a support ticket to do a deep investigation .

Best Regards,

Melissa Carranza Mejias
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation. “
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Response code 500 error in HP-UCMDB 10.22

This is too generic of an error to see what is going on... what you really need is the output from the error.log when you try to connect.  I have seen this be db issues in the background, or using the incorrect API (e.g. the ucmdb_api.jar file from one UCMDB version to try and connect to another)...

Hope this helps,
Keith Paschal
UCMDB Worldwide Support Lead
Micro Focus Support
If you find 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'
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: Response code 500 error in HP-UCMDB 10.22

Hi Sreekeshava S

If you are trying to call uCMDB api in Java.  500 code may also caused by the logic in your Java code. For example, forget to create a tenant resources before you try to get it. Please check the API document first. Hope this helps.


Dong-xu
HP Support

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.