11g XE:找不到给定的许可证文件

时间:2011-05-04 09:43:25

标签: oracle oracle-xe ora-06512

我正在尝试创建一个简单的全文索引:

exec ctx_ddl.create_preference('my_own_lexer', 'AUTO_LEXER');

create index myidx ON tbl(name) 
   INDEXTYPE IS ctxsys.context PARAMETERS ('LEXER my_own_lexer')

收到错误:

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10502: index IDX does not exist
DRG-00100: internal error, arguments : [50611],[drli.c],[2743],[License Error:
could not find the given license file:
/u01/app/oracle/product/11.2.0/xe/ctx/data/inxight/lang/license.dat],[]
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

使用BASIC_LEXER而不是AUTO_LEXER - 无错误地工作

centOS,Oracle数据库11g快捷版11.2.0.2.0版 - 64位测试版

感谢名单!

1 个答案:

答案 0 :(得分:2)

Oracle XE 11gR2是 beta 产品。但Express Edition是一种受限制的产品,缺乏较大产品中包含的一些功能。因此,这可能是设计中的错误或功能。许可文档没有明确mention AUTO_LEXER,如果Oracle故意将其排除在外,我们可能会发现,因此“bug”非常可能。

最好的办法是在the OTN forum for the product上提出这个问题。 XE团队的成员阅读并回复用户反馈。