3 Replies Latest reply on May 4, 2011 9:55 PM by orafad

    11g XE: could not find the given license file

      I'm trying to create a simple full-text index like this:

      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');

      Got error:

      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:
      ORA-06512: at "CTXSYS.DRUE", line 160
      ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
      Using BASIC_LEXER instead of AUTO_LEXER - works without errors

      Is it XE's restrictions or bug?

      centOS, Oracle Database 11g Express Edition Release - 64bit Beta

        • 1. Re: 11g XE: could not find the given license file
          Rodney Barnett
          I asked a question about another Oracle Text problem in this thread: {thread:id=2204216}. The consensus seems to be that there's a likely build problem in the linux version of the beta. However, Oracle hasn't weighed in on the matter so far.

          Also, I get the same error when I try your test.

          • 2. Re: 11g XE: could not find the given license file

            I also think this issue is related to the one reported in Rodney's thread.
            And here's why I think so:
            1. This limitation is not named in the licensing terms.
            2. The "inxight" subdirectory is missing completely in the rpm file.
            3. The error is not ORA-00439 ("feature not enabled"), which would usually the case.

            However, there are two differences to the other issue with Oracle Text:
            a) It doesn't work on Windows either, throwing the same error message, and having the full directory missing.
            b) The AUTO_LEXER is a newly lexer type, whereas AUTO_FILTER worked in 10g.
            On the other hand, the WORLD_LEXER also still works in 11g XE.

            I'm still confident this will be working in the final version.

            • 3. Re: 11g XE: could not find the given license file
              I tried it too, after creating the directories and an empty license.dat. Then it said:

              DRG-00100: internal error, arguments : [50611],[drli.c],[2743],[License Error: your license file is empty],[]

              I agree that, clearly there's some packaging/build problem. But remember it's Beta - and if we keep this up, it'll be a perfect release.