APPLIES TO:
Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.
SYMPTOMS
Agent 12c raises periodically the following alerts :
Severity=CriticalAlert EM Event: : - Internal error detected: java.lang.IllegalStateException:oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr:798.
Target type=Agent
Target name=
Categories=Diagnostics
Message=Internal error detected: java.lang.IllegalStateException:oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr:798.
The below exceptions are seen in /agent/agent_inst/sysman/log/gcagent_errors.log
2012-04-23 20:27:49,130 [222:GC.Executor.7 (host:devdb02.oogway.bskyb.com:host_storage) (host:devdb02.oogway.bskyb.com:host_storage:storage_reporting_data)] ERROR - null
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: : XML-20221: (Fatal Error) Invalid char in text.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
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:599)
CAUSE
12C METRIC COLLECTION ERROR FOR ALL STORAGE METRICS
There were old storage xml files which could not be uploaded because the data collected includedstrings with invalid control characters.
New collections are not started as long as old data are available: as the files could not be uploaded, they were never removed.
SOLUTION
Remove /sysman/emd/state/configstate/host//storage_*.xmlfiles.
Restart the agent.
This will restart the collection of the storage data. As these data are collected evry 24 hours, please wait for at least 24 hours to check the report.
You can also run the collection manually:
$ emctl control agent runCollection :host host_storage
Example:
$ emctl control agent runCollection myhost.mydomain:host host_storage