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 JUNE 25, 2018

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.