Database Usage Tracking Collection fails with error: java.lang.IllegalArgumentException: Missing DB user name (Doc ID 1988146.1)

Last updated on MARCH 08, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.3.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to run the Database Usage Tracking Collections using emctl, the following errors are returned:

emctl control agent runCollection <DB Target Name>:oracle_database lms_wk_ci
EMD runCollection error:
lms_wk_ci:lmsVSessionWeekly:Missing DB user name: java.lang.IllegalArgumentException: Missing DB user name
lmsVLicenseWeekly:Missing DB user name: java.lang.IllegalArgumentException: Missing DB user name
lmsVVersion:Missing DB user name: java.lang.IllegalArgumentException: Missing DB user name

The issue can be reproduced at will with the following steps:
1. Navigate to Agent_Home/agent_inst/bin
2. Run: emctl control agent runCollection <DB Target Name>:oracle_database lms_wk_ci


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms