My Oracle Support Banner

Getting an ORA-62009: cannot encode an invalid XML character 0x0 in supplemental log in MGW Gateway log file (Doc ID 2337817.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Goal

 Customer is seeing the below error messages in mgw gateway log file :

>>2017-11-06 07:24:35 MGW Engine 0 410 worker0
Errors occurred during processing of job SUB_MQ2AQ_ASN
oracle.mgw.common.GatewayException: [706] Enqueue failed for GLOGOWNER.INBOUND_AQ; SQL error: 604
at oracle.mgw.common.MgwUtil.GatewayException(MgwUtil.java:740)
at oracle.mgw.drivers.aq.AQMsgProducer$Enqueuer.enqueueOp_SQLError(AQMsgProducer.java:1559)
at oracle.mgw.drivers.aq.AQMsgProducer$MgwBasicMsg_Enqueuer.enqueueOp(AQMsgProducer.java:1775)
at oracle.mgw.drivers.aq.AQMsgProducer$Enqueuer.enqueueMessage(AQMsgProducer.java:1291)
at oracle.mgw.drivers.aq.AQMsgProducer.doEnqueue(AQMsgProducer.java:955)
at oracle.mgw.drivers.aq.AQMsgProducer.enqueue(AQMsgProducer.java:855)
at oracle.mgw.drivers.aq.AQLink.send(AQLink.java:1751)
at oracle.mgw.engine.Worker.enqMessages(Worker.java:602)
at oracle.mgw.engine.Worker.processJob(Worker.java:1910)
at oracle.mgw.engine.Worker.myRun(Worker.java:96)
at oracle.mgw.engine.ManagedThr.run(ManagedThr.java:58)

[Linked-exception]
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-62009: cannot encode an invalid XML character 0x0 in supplemental log
ORA-06512: at "SYS.DBMS_AQ", line 185
ORA-06512: at "SYS.MGW_AQDRIVER", line 60
ORA-06512: at line 1

at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:1136)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:1039)
at oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:736)
at oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:979)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1119)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.