EM12c : emctl upload agent - Upload Manager Fails For Metric db_datafiles 'XML-20221: (Fatal Error) Invalid char in text' in gcagent.log (Doc ID 2292393.1)

Last updated on AUGUST 20, 2017

Applies to:

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

Symptoms

Enterprise Manager Agent , has upload manage component. While uploading db_datafiles metric getting following message in gcagent.log

 

From agent_inst/sysman/log/gcagent.log
2017-07-09 12:23:13,723 [6496:GC.Executor.2028 (oracle_database:LOAN:oracle_dbconfig) (oracle_database:LOAN:oracle_dbconfig:db_datafiles)] ERROR - null
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: <Line 1, Column 93587>: XML-20221: (Fatal Error) Invalid char in text.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:326)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:514)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:241)
at oracle.sysman.gcagent.mbl.DataCollectionMbl.unserialize(DataCollectionMbl.java:924)
at oracle.sysman.gcagent.mbl.DataCollectionMbl.unserialize(DataCollectionMbl.java:1048)
at oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr._diffResultAgainstState(ConfigStateMgr.java:820)
at oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr.diffResultAgainstState(ConfigStateMgr.java:569)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.runTask(ExecuteTask.java:4292)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.call(ExecuteTask.java:5128)
at oracle.sysman.gcagent.metadata.impl.collection.MetricColl$1.call(MetricColl.java:552)
at oracle.sysman.gcagent.metadata.impl.collection.MetricColl$1.call(MetricColl.java:513)

Internal error detected: oracle.sysman.gcagent.task.TaskZombieException:oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask:620. ==== > Log file has "
[org.xml.sax.SAXParseException: : XML-20221: (Fatal Error) Invalid char in text.]" == > relloan:3882


From collection file

data/db38/loan/pub5_idx_sm03.dbf,ONLINE,PUB5_IDX_SM,15728640000,NO,,,10485760000,/data/db38/loan/data/db38/loan/pub5_idx_sm04.dbf,ONLINE,PUB5_IDX_SM,15728640000,NO,,,10485760000,/data/db38/loan
/data/db38/loan/pub_data_sm444.dbf[DESC[DESC[DESC[DESC[DESC[5ESC[CESC[CESC[CESC[CESC[CESC[D,ONLINE,PUB_DATA_SM,15938355200,NO,,,209715200,/data/db38/loan
/data/db38/loan/de_data_sm04.dbf,ONLINE,DE_DATA_SM,524288000,NO,,,268435456,/data/db38/loan
/data/db38/loan/de_idx_sm03.dbf,ONLINE,DE_IDX_SM,209715200,NO,,,209715200,/data/db38/loan

>>> seen ESC character for
/data/db38/loan/pub_data_sm444.dbf[DESC[DESC[DESC[DESC[DESC[5ESC[CESC[CESC[CESC[CESC[CESC[D,ONLINE,PUB_DATA_SM,15938355200,NO,,,209715200,/data/db38/loan

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