ITPub博客

首页 > 数据库 > Oracle > dbca建库报错ora-31061,ora-19202

dbca建库报错ora-31061,ora-19202

原创 Oracle 作者:apporacle 时间:2015-02-25 20:05:11 0 删除 编辑
环境说明
        aix 6.1+ oracle 11.2.0.3 + ASM
报错内容
        
     ora-31061:XDB error . XML event error
     ora-19202:Error occurred in XML processing

在进行到 adding oracle spatial的时候就报上面的错误

在metalink上查了下,发现一篇与之相关的bug,文档 ID 1498052.1

应用环境

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

问题描述
On a database using the AL32UTF8 characterset, inserting into an XMLType column fails with the following errors:

ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
In line 19222 of orastream:
LPX-00217: invalid character 162 (U+00A2)

Statement which fails:

insert into MY_TABLE values (XMLType(bfilename('MY_COL', 'xxxxxxxxxxxx.xml'),nls_charset_id('AL32UTF8')));

The character (00A2) is a cent sign.

上面的大概意思就是AL32UTF8字符集与XML的问题

原因分析
This is caused by the following unpublished bug:

Bug 12812148: ORA-31061 WHEN INSERT INTO XMLTYPE WITH SUPPLEMENTARY CHARACTERS

解决方法
    Bug 12812148 is fixed in 11.2.0.4 and 12.1 (future releases).  The fix is also included in the following Windows Patch:


Patch 14613223: ORACLE 11G 11.2.0.3 PATCH 11 BUG FOR WINDOWS (64-BIT AMD64 AND INTEL EM64)

If a patch is not available for your release/platform, please log a Service Request and request a backport.

这个bug需要在11.2.0.4上才修复,补丁只有windows平台的。

我这里选择了忽略该错误

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28697282/viewspace-1441328/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-06-28

  • 博文量
    35
  • 访问量
    230158