My Oracle Support Banner

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

Last updated on AUGUST 19, 2022

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.