EM 12c: Monitoring the storage_reporting_data Host Storage Metric in Enterprise Manager 2c Cloud Control Fails With Error: java.lang.IllegalStateException: invalid unmarshall (Doc ID 2237987.1)

Last updated on MARCH 04, 2017

Applies to:

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

Symptoms

The Enterprise Manager (EM) 12c Cloud Control Agent reports the following host storage metric monitoring errors:

From <Agent_Inst_Home>/sysman/log/gcagent.log:

2017-02-06 22:18:33,241 [35:E3A64EB6:HTTP Listener-35 - /emd/lifecycle/main/ (~Task-free~ emdctl@31043@alaric=>[148641951270001])] INFO - >>> Dispatching request: StatusAgentRequest (AGENT timeout:300) <<<
2017-02-06 22:18:33,249 [35:E3A64EB6] INFO - >>> Reporting response: StatusAgentResponse (running) (request id 1) <<<
2017-02-06 22:18:34,836 [119:GC.Executor.9 (host:<host name>:host_storage) (host:<host name>:host_storage:storage_reporting_data)] ERROR - null
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: <Line 1, Column 20691>: XML-20221: (Fatal Error) Invalid char in text.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)

2017-02-06 22:18:34,838 [119:GC.Executor.9 (host:<host name>:host_storage) (host:<host name>:host_storage:storage_reporting_data)] ERROR - host:<host name>:host_storage:storage_reporting_data

java.lang.IllegalStateException: invalid unmarshall
at oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr._diffResultAgainstState(ConfigStateMgr.java:824)
at oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr.diffResultAgainstState(ConfigStateMgr.java:566)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.runTask(ExecuteTask.java:4274)

 

The <Agent_Inst_Home>/sysman/emd/state/configstate/host/<hostname>/Storage_reporting_data.xml contains invalid characters with respect to storage point /dev/sdaa:

<RC>
OS_DISK_VENDOR_UNKNOWN-B553C7C36B5D44DE44E3975375D9FDF8-0xff7f000000000080000000000200000000000000,VENDOR_UNKNOWN-B553C7C36B5D44DE44E3975375D9FDF8-0xff7f000000000080000000000200000000000000,/dev/sdaa,OS_DISK,_BOTTOM_TOP_UNALLOCATED_,Disk,14680719360,14680719360,0,14680719360,,r,/dev/sdaa,_BLOCKSPECIAL,,,,
</RC>

Found there is special character after r<after this>,/dev/sdaa,_BLOCKSPECIAL,,,,

 

 

Changes

 

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