ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

uimapi and webservices_rest stop working after upgrading to 20.3.3

book

Article ID: 212941

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After upgrading to UIM 20.3.3 REST API calls  are failing with HTTP 500 error. This is the exception as reported in the browser when attempting an API call:

java.lang.IllegalStateException: Pool not open	
org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen(BaseGenericObjectPool.java:736)

The failure happens with both uimapi and webservices_rest deployed to the OC robot, and the uimapi log has the exact same info the browser shows. 

2021-04-13 13:07:46,922 ERROR com.ca.uimapi.services.controller.AccountResource:getAccountsV0:123 [http-nio-80-exec-20]   - getAccounts failed: 
java.lang.IllegalStateException: Pool not open
 at org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen(BaseGenericObjectPool.java:736)
 at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:414)
 at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:365)
 at org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:134)
 at com.nimsoft.db.PooledDataSourceWrapper.getConnection(PooledDataSourceWrapper.java:33)

If using webservices_rest with a GET call direct in a URL without a REST client it might just return a http 404 error. 

When using a REST client it will show up in the return data. 


Cause

The failure is caused by old packages at the OC robot. 

Compare the installed packages to this list:
uim_reportscheduler 20.33hf2
ump 20.33
ump_accountadmin 20.33hf2
ump_cabi 4.24hf2
ump_dashboard 20.33hf1
ump_operatorconsole 2.10hf3
ump_slm 20.33hf2 
wasp 20.33

Any that are version 9.x, or 8.x are to be suspected as deprecated and should be removed. 

webapps known to cause the problem: dapi, jasperserver_pro, umpjslib, webalarms, HtmlAlarmConsole, umpmeadia

Note: jasperserver_pro will only show up in wasp raw configure or cfg under the webapps section. 

Environment

Release : 20.3

Component : UIM - WEBSERVICES_REST

Resolution

Remove the old packages from the OC robot. 

UIM How to remove deprecated webapps from wasp
Article Id: 212899
https://knowledge.broadcom.com/external/article?articleId=212899

Additional Information

uimapi log location: OC robot > $)\Nimsoft\probes\service\wasp\uimapi.log 

UIM / DX IM - How to see all the packages deployed to a robot
Article Id: 141322
https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=141322

The obsolete webapps are documented here:
20.3 Operator Console Installer - Webapps Considerations

Attachments