search cancel

UMP Upgrade from 9.0.2 to 20.1 Rest API Issues


Article ID: 189480


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


We have upgraded to UIM 20.1 & UMP 20.1 today from 9.0.2

After the upgrade, we noticed that the rest api wasn't working and on investigation, the webservices_rest on the UMP had not been updated during the UMP upgrade (UMP controller log, installed packages).  
Once this was updated it all burst into life and the rest interface was responding.

Why was the portlet not updated?
and do we need to update all to ensure they are updated?

There is a new API portlet UIMAPI, this has not been installed on the WASP (during 9.0.2 upgrade from 8.5.1 or the 20.1 upgrades)
We deploy the new UIMAPI to the WASP but the WASP does not start (see attached logs).  Any ideas why?  
From the wasp log:
I am seeing memory errors in the wasp logs provider
Caused by: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space


The Web service rest package does not update when the UMP is updated as this is not deployed by default.
The UIMAPI deployment requires more memory to run then a default installation of UMP.


UIM/UMP 20.x
WebService rest 


The web services rest application is not installed by default with the UMP installer.
This is a separate installer.
This can be downloaded from our support web archive, imported to the primary hub, and then deployed to the ump.

once this is done and the UMP is back up and running you will want to clear your browser cache from the beginning of time

from the files provided.
The first thing I would suggest is increasing the ram for the UMP.
options = -Dfile.encoding=UTF-8 -Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl

java_mem_max = -Xmx1024m
java_mem_init = -Xms512m
max_perm_size = -XX:MaxPermSize=512m

options = -Dfile.encoding=UTF-8 -Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl

java_mem_max = -Xmx4g
java_mem_init = -Xms512m
max_perm_size = -XX:MaxPermSize=512m