Tech Tip: REST calls fail with "500: Internal Server Error" using webservices_rest 8.43.

Document created by Marco_Ippati Employee on Oct 17, 2016Last modified by SamCreek on Dec 17, 2016
Version 3Show Document
  • View in full screen mode

Document ID:  TEC1879014

Issue:

Acknowledge alarm and get alarm summary calls fail with  "500: Internal Server Error" with webservices_rest 8.43.

 

 

Steps to reproduce:

  1. on UIM 8.4 deploy  webservices_rest 8.43 (or Deploy UIM84sp2)
  2. /rest/version-info shows 8.4.3 
  3. Using a rest client, create an alarm [ URL: UMPserver/rest//alarms/createAlarm | METHOD: Post XML ]
  4. Call Returns:200 OK- Alarm is created.
  5. Get Alarm summary via rest call:[URL: rest/alarms/summary | Method get]

     Returns: "500: Internal Server Error"

 

</head><body><h1>HTTP Status 500 - java.lang.NoSuchMethodError: com.nimsoft.events.api.util.UimUtils.getHubBasedProbeAddress(Ljava/lang/String;)Ljava/lang/String;</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>java.lang.NoSuchMethodError: com.nimsoft.events.api.util.UimUtils.getHubBasedProbeAddress(Ljava/lang/String;)Ljava/lang/String;</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: java.lang.NoSuchMethodError: com.nimsoft.events.api.util.UimUtils.getHubBasedProbeAddress(Ljava/lang/String;)Ljava/lang/String; 

 

  1. Aknowledge the alarm: [/alarms/{alarmid}/ack | METHOD Put]

 

    Returns: "500: Internal Server Error"

Environment:

UIM 8.4.x webservices_rest 8.43

Cause:

This is a known issue with webservices_rest 8.43 and will be fixed in a future release of the probe. 

Resolution:

To fix this issue, downgrade the webservice_rest to version 8.40

Additional Information:

Download the webservices_rest version 8.40:

http://support.nimsoft.com/Files/Archive/00263/webservices_rest-8.4.0.zip 

2 people found this helpful

Attachments

    Outcomes