Discovery of EBusiness Suite Fails With "java.lang.IllegalArgumentException: agentId == null"

(Doc ID 1485574.1)

Last updated on JUNE 02, 2016

Applies to:

Application Management Pack for Oracle E-Business Suite - Version 12.1.0.2.0 to 12.1.0.2.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

When attempting to discover E-Business with Grid Control 12c,
the following error occurs while attempting to discover E-Business Suite:

java.lang.IllegalArgumentException: agentId == null
oracle.apps.fnd.oam.em.util.job.CommandException
Caused By: oracle.apps.fnd.oam.em.sdk.targetData.discovery.AppsDiscoveryException: Error while attempting to discover EBS on : <SID>( oracle_database ) using schema: apps
Caused By: java.lang.IllegalArgumentException: agentId == null

In the emoms.log:  <Middleware>/gc_inst/em/EMGC_OMS1/sysman/log/emoms.log

the error is:

 java.lang.IllegalArgumentException: agentId == null
at oracle.sysman.eml.agent.client.AgentMetadata.getAgentVersion(AgentMetadata.java:134)
at oracle.sysman.emSDK.agent.client.TMClientManager.isTMClient(TMClientManager.java:135)
at oracle.sysman.emSDK.emd.comm.EMDClient.agentSupportsTMClient(EMDClient.java:4939)
at oracle.sysman.emSDK.emd.comm.EMDClient.discoverTargetsNow(EMDClient.java:1145)
at oracle.apps.ebs.amp.oms.discovery.discoverer.EBSTargetDiscovererR12.discoverIASTargets(Unknown Source)
at oracle.apps.ebs.amp.oms.discovery.discoverer.EBSTargetDiscovererR12.discoverAppNodeTarget(Unknown Source)
at oracle.apps.ebs.amp.oms.discovery.discoverer.EBSTargetDiscovererR12.discoverNodeSystem(Unknown Source)
at oracle.apps.ebs.amp.oms.discovery.discoverer.AppsTargetDiscoverer.discoverEBSSystem(Unknown Source)
at oracle.apps.ebs.amp.oms.discovery.discoverer.AppsTargetDiscoverer.startDiscovery(Unknown Source)
at oracle.apps.ebs.amp.oms.discovery.discoverer.TargetDiscoverer.startDiscovery(Unknown Source)
at oracle.apps.fnd.oam.em.onDemand.jobs.OAMRegisterEBSOD.discoverEBS(Unknown Source)

  
In the Discovery log: <Middleware>/oms/sysman/log/ebsDiscovery_<DBSID>_oracle_database.log

the error is:

oracle.apps.ebs.amp.oms.discovery.discoverer.EBSTargetDiscovererR12.initializeEbsInstance  Out Successfull
oracle.apps.ebs.amp.oms.discovery.discoverer.AppsTargetDiscoverer.discoverEBSSystem  In
oracle.apps.ebs.amp.oms.discovery.discoverer.EBSTargetDiscovererR12.discoverNodeSystem  In
oracle.apps.ebs.amp.oms.discovery.discoverer.EBSTargetDiscovererR12.discoverAppNodeTarget  In
oracle.apps.ebs.amp.oms.discovery.discoverer.AppsTargetDiscoverer.getAgentUrl  In MonitoringHost=<hostname>.<domain>
oracle.apps.ebs.amp.oms.discovery.discoverer.AppsTargetDiscoverer.getAgentUrl  Out Successfull
oracle.apps.ebs.amp.oms.discovery.discoverer.EBSTargetDiscovererR12.discoverIASTargets  In AppNode Name=PATCH-Infrastructure PATCH_<hostname>-APPL_TOP Context HostName=<hostname>.<domain> AgentURL=null
oracle.apps.fnd.oam.em.onDemand.jobs.OAMRegisterEBSOD._executeCommand:   <date> Duration(sec))=3
oracle.apps.fnd.oam.em.onDemand.jobs.OAMRegisterEBSOD._executeCommand:   calling toFileDiscoveryLog

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