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 and later
Information in this document applies to any platform.


 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(
at oracle.mgw.engine.Worker.enqMessages(
at oracle.mgw.engine.Worker.processJob(
at oracle.mgw.engine.Worker.myRun(

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(
at oracle.jdbc.driver.T2CConnection.checkError(
at oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(
at oracle.jdbc.driver.T2CCallableStatement.executeForRows(
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement


To view full details, 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 a vibrant support community of peers and Oracle experts.