ORA-20001: ORA-29902: error in executing ODCIIndexStart() routine

Hi, everyone!
I have an error as follow:
ORA-20001: ORA-29902: error in executing ODCIIndexStart() routine
ORA-06553: PLS-123: program too large
I can get the sql where the procedure through the error, and execute the sql in sqlplus, no error. Does anyone have experience with the error? or have some direction to solve problem? thank you!
My oracle version is 9.2.0.8.0 and sdo version is 9.2.0.8.0, too.

I agree with Omar, However if you want to search using special character, you may want to look into the following example. I am not saying this may be a solution for you, however this may give you a start on how to deal with special character in you search.
In our enviroment we have "N" number of Science & Pharmacy & Chemical clients. They need the ability to search using special character for that we have done the following..
begin
select user into v_username from dual;
ctx_ddl.create_preference('orc_CTX_WLPREF', 'BASIC_WORDLIST');
ctx_ddl.set_attribute('orc_CTX_WLPREF','SUBSTRING_INDEX','TRUE');
ctx_ddl.set_attribute('orc_CTX_WLPREF','WILDCARD_MAXTERMS','2559');
ctx_ddl.Create_Preference('orc_LEXER','BASIC_LEXER');
ctx_ddl.Set_Attribute('orc_LEXER', 'index_themes', 'FALSE');
ctx_ddl.set_attribute('orc_LEXER','printjoins','0123456789%,./?;:<>[]{}\|+=-_()*&^$#@!''"%');
end;
And then siply create the index as follow..
create index index_name on activitylog(columnname)
indextype is ctxsys.context
parameters ('Wordlist CYBERLAB_CTX_WLPREF lexer CYBERLAB_LEXER memory 48M');
then I am able to do something like the following..
select count(*) from ACTIVITYLOG where contains (DESCRIPTION, '<%.htm@') > 0;
hope this helps..

Similar Messages

  • SQL Error: ORA-29902: error in executing ODCIIndexStart() routine

    I am running a SDO_RELATE operation on 2 geometries from 2 different tables. Spatial indexes are already created and the tables are also versioned.
    Below is the spatial meta data for both the geometries in user_sdo_geom_metadata table:
    DIMINFO is :
    MDSYS.SDO_DIM_ELEMENT(MDSYS.SDO_DIM_ELEMENT(Easting,0,700000,0.001),MDSYS.SDO_DIM_ELEMENT(Northing,0,1300000,0.001),MDSYS.SDO_DIM_ELEMENT(Height,-100,2000,0.001))
    SRID is 27700
    When I use SDO_RELATE or ADO_ANYINTERACT on both the geometires, i am getting the below error.
    Error report:
    SQL Error: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13243: specified operator is not supported for 3- or higher-dimensional R-tree
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 333
    29902. 00000 - "error in executing ODCIIndexStart() routine"
    *Cause:    The execution of ODCIIndexStart routine caused an error.
    *Action:   Examine the error messages produced by the indextype code and
    take appropriate action.
    Could you please let me know what should be the root cause for this issue?

    Hi
    Have you checked this posting?
    Re: ORA-13243
    Luc

  • ORA-29902: error in executing ODCIIndexStart() routine

    Hi,
    I have a problem with my text mining application.
    when I start the classification procedure I get the following errors
    Error executing statement: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drcs_query
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at "CTXSYS.DRVODM", line 676
    ORA-01426: numeric overflow
    ORA-06512: at line 1
    After closing and restarting the SQL Navigator, most times it works again, but not every time.
    Here is the procedure I use:
    PROCEDURE sp_classify
    IS
    vc2_sqlcommand VARCHAR2(1000);
    guete DBMS_SQL.number_table;
    branche DBMS_SQL.varchar2_table;
    BEGIN
    vc2_sqlcommand := 'ALTER TABLE ergebnisse MOVE TABLESPACE xxx;
    execute IMMEDIATE vc2_sqlcommand;
    n_matchscore := 20;
    INSERT INTO ergebnisse
    SELECT rt.cat_id, pt.produktions_id, match_score(1) AS MatchScore
    FROM produktionsdaten pt, trainingsregeln rt
    WHERE matches ( rt.rule, pt.geschaeftsgegenstand, 1) > n_matchscore;
    COMMIT;
    vc2_sqlcommand :=
    'CREATE INDEX I_ERG_PRODID ON ERGEBNISSE ' ||
    '( PRODUKTIONS_ID ASC ) ' ||
    'TABLESPACE XXX' ||
    'STORAGE ( INITIAL 64K ' ||
    'NEXT 64K ' ||
    'PCTINCREASE 0 ' ||
    execute IMMEDIATE vc2_sqlcommand;
    Please help me
    Greetz Steffi Schweppe
    Message was edited by:
    user634781

    I agree with Omar, However if you want to search using special character, you may want to look into the following example. I am not saying this may be a solution for you, however this may give you a start on how to deal with special character in you search.
    In our enviroment we have "N" number of Science & Pharmacy & Chemical clients. They need the ability to search using special character for that we have done the following..
    begin
    select user into v_username from dual;
    ctx_ddl.create_preference('orc_CTX_WLPREF', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','SUBSTRING_INDEX','TRUE');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','WILDCARD_MAXTERMS','2559');
    ctx_ddl.Create_Preference('orc_LEXER','BASIC_LEXER');
    ctx_ddl.Set_Attribute('orc_LEXER', 'index_themes', 'FALSE');
    ctx_ddl.set_attribute('orc_LEXER','printjoins','0123456789%,./?;:<>[]{}\|+=-_()*&^$#@!''"%');
    end;
    And then siply create the index as follow..
    create index index_name on activitylog(columnname)
    indextype is ctxsys.context
    parameters ('Wordlist CYBERLAB_CTX_WLPREF lexer CYBERLAB_LEXER memory 48M');
    then I am able to do something like the following..
    select count(*) from ACTIVITYLOG where contains (DESCRIPTION, '<%.htm@') > 0;
    hope this helps..

  • ORA-29902: error in executing ODCIIndexStart() routine ORA-06502: PL/SQL: n

    I'm trying a simple spatial query and this does not work:
    select count(1) from will w,
    t_line_sdo t
    where w.ID = 2 --
    and SDO_relate(T.sdo, W.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE'
    t_line_sdo is indexed on sdo column.
    will is indexed on sdo column
    I get an error in executing ODCIIndexStart() routine.
    But this works:
    select count(1) from will w,
    t_line_sdo t
    where w.ID = 2 --
    and SDO_filter(T.sdo, W.sdo,
    'querytype=WINDOW')= 'TRUE'
    -puzzled

    Hi Will,
    No luck reproducing the error on my 9.2.0.1 system.
    I slightly changed the user_sdo_geom_metadata entries to set the coordinate system bounds/tolerance to:
    -180,180,0.5
    -90,90,0.5
    but I don't think those would have been the difference.
    Another change I made was to the queries to use t_line_sdo instead of t_line.
    If I was writing the query I might make one slight modification though - I'd use the /*+ ordered */ hint:
    select /*+ ordered */ count(1) ALBERTA from will w,
    t_line_sdo t
    where w.CAN_BOR_35_ID = 2
    and SDO_RELATE( t.sdo, w.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE';
    Perhaps this will help you.
    Here is what I did:
    CREATE TABLE WILL
    CAN_BOR_35_ID NUMBER (17) NOT NULL,
    BOR_CODE VARCHAR2(5),
    SDO MDSYS.SDO_GEOMETRY NOT NULL
    --Here's my insert:
    INSERT INTO WILL
    VALUES ( 2, 'ALBT', MDSYS.SDO_GEOMETRY(
    2003, -- 2-dimensional polygon
    8307, -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
    NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1),
    MDSYS.SDO_ORDINATE_ARRAY( -114.05013, 49.00081, -- ALBT1
    -109.98920, 48.98902, -- SASK1
    -110.00531, 49.50556, -- SASK6
    -114.59275, 49.50253, -- ALBT2
    -114.05013, 49.00081) -- ALBT1 -- CLOSE THE LOOP
    COMMIT;
    -- of course I did the insert into the metadata table...
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES (
    'WILL',
    'SDO',
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT('X', -180, 180, 0.5),
    MDSYS.SDO_DIM_ELEMENT('Y', -90, 90, 0.5)),
    8307 -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES (
    'T_LINE_SDO',
    'SDO',
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT('X', -180, 180, 0.5),
    MDSYS.SDO_DIM_ELEMENT('Y', -90, 90, 0.5)),
    8307 -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
    COMMIT;
    CREATE INDEX IDX_WILL
    ON WILL (SDO)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    --And I did the validate:
    select T.BOR_CODE , SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT
    (T.SDO, 0.5)
    from WILL T
    -- Script to create t_line_sdo:
    CREATE TABLE t_line_sdo
    (life_id NUMBER(17,0) NOT NULL,
    feat_code NUMBER(4,0),
    sdo MDSYS.SDO_GEOMETRY)
    INSERT INTO t_line_sdo
    VALUES
    (1994622361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.08714, 49.14799, -112.08772, 49.14847, -112.08851, 49.1492,
    -112.08879, 49.14954, -112.08894, 49.14977, -112.0899, 49.15134, -112.09043, 49.15218)))
    INSERT INTO t_line_sdo
    VALUES
    (1994632361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.09043, 49.15218, -112.09117, 49.15336, -112.09239, 49.15544,
    -112.09338, 49.15718, -112.09408, 49.15835, -112.09495, 49.15992, -112.09542, 49.16066,
    -112.09579, 49.16131, -112.09624, 49.16224, -112.09642, 49.16285, -112.09654, 49.16332,
    -112.09657, 49.16389, -112.09658, 49.16468, -112.0965, 49.16529, -112.09612, 49.16633,
    -112.09594, 49.16677, -112.0945, 49.16904, -112.09403, 49.16984, -112.09326, 49.17102,
    -112.09292, 49.17165, -112.09266, 49.17218, -112.09256, 49.1726, -112.09252, 49.17298,
    -112.0925, 49.17337, -112.09256, 49.17385, -112.09265, 49.17419)) )
    INSERT INTO t_line_sdo
    VALUES
    (1994642361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.09265, 49.17419, -112.09277, 49.17457, -112.09306, 49.1751,
    -112.09385, 49.17636, -112.09511, 49.17845, -112.09728, 49.18187, -112.09832, 49.18355,
    -112.09864, 49.18412, -112.09897, 49.18462, -112.09921, 49.18493, -112.09961, 49.18533,
    -112.10004, 49.18567, -112.10053, 49.18602, -112.10302, 49.18744, -112.11002, 49.19128,
    -112.1151, 49.1941, -112.11592, 49.1946, -112.1164, 49.19497, -112.11687, 49.19545,
    -112.11749, 49.19642, -112.11898, 49.20042, -112.11989, 49.20288)))
    INSERT INTO t_line_sdo
    VALUES
    (1994712361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.06171, 49.1155, -112.0626, 49.11626, -112.06361, 49.11717,
    -112.0661, 49.11924, -112.0673, 49.12028, -112.06886, 49.12156, -112.07009, 49.12263,
    -112.07084, 49.12319, -112.07145, 49.12385, -112.07233, 49.12489, -112.07314, 49.12607,
    -112.07415, 49.12744, -112.07484, 49.12843, -112.07534, 49.12904, -112.07553, 49.12938,
    -112.07574, 49.12968, -112.07603, 49.13043, -112.07624, 49.13107, -112.07832, 49.13632)))
    INSERT INTO t_line_sdo
    VALUES
    (1994722361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.06171, 49.1155, -112.0626, 49.11626, -112.06361, 49.11717,
    -112.0661, 49.11924, -112.0673, 49.12028, -112.06886, 49.12156, -112.07009, 49.12263,
    -112.07084, 49.12319, -112.07145, 49.12385, -112.07233, 49.12489, -112.07314, 49.12607,
    -112.07415, 49.12744, -112.07484, 49.12843, -112.07534, 49.12904, -112.07553, 49.12938,
    -112.07574, 49.12968, -112.07603, 49.13043, -112.07624, 49.13107, -112.07832, 49.13632)))
    INSERT INTO t_line_sdo
    VALUES
    (1994852361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.07832, 49.13632, -112.07849, 49.13678, -112.07912, 49.13847,
    -112.08024, 49.14133, -112.0806, 49.14208, -112.0809, 49.14257, -112.08126, 49.14305,
    -112.08219, 49.14393, -112.0826, 49.14434, -112.08341, 49.14508, -112.08397, 49.14555,
    -112.08591, 49.14708, -112.08714, 49.14799)))
    INSERT INTO t_line_sdo
    VALUES
    (2681482361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.05406, 49.10917, -112.05521, 49.11004, -112.0561, 49.11082)) )
    INSERT INTO t_line_sdo
    VALUES
    (2681492361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.06313, 49.11545, -112.06171, 49.1155)))
    INSERT INTO t_line_sdo
    VALUES
    (2681502361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.0561, 49.11082, -112.05787, 49.11233, -112.05916, 49.11338,
    -112.06171, 49.1155)))
    commit
    create index IDX_T_LINE_SDO on t_line_sdo (sdo)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    --And I did the validate:
    select T.LIFE_ID , SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT
    (T.SDO, 0.5)
    from T_LINE_SDO T
    -- Both of these work
    select count(1) ALBERTA from will w,
    t_line_sdo t
    where w.CAN_BOR_35_ID = 2
    and SDO_RELATE( t.sdo, w.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE';
    -- Works (because it's doing a full table scan???)
    select count(1) ALBERTA from will w,
    t_line_sdo t
    where w.CAN_BOR_35_ID = 2
    and SDO_RELATE( w.sdo, t.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE';

  • Error in executing ODCIIndexStart() routine

    In my application We have sometimes the follow error:
    Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    ORA-00942: table or view does not exist
    Internal Exception: java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    ORA-00942: table or view does not exist
    Error Code: 29902
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:226)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:695)
    at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:506)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:130)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:111)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(CallQueryMechanism.java:193)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.selectAllRows(CallQueryMechanism.java:563)
    at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:421)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
    at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
    at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
    at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
    at oracle.toplink.publicinterface.Session.readAllObjects(Session.java:2416)
    at it.csi.cultura.om.supporto.ObjectManagerFrontoffice.getElencoEventiFiltrati(ObjectManagerFrontoffice.java:1431)
    at it.csi.cultura.backoffice.eventinotizie.ElencoEventi.execute(ElencoEventi.java:125)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
    at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at it.csi.cultura.portal.CustomPortletInstance.render(CustomPortletInstance.java:46)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at it.csi.cultura.portal.UploadFilter.doFilter(UploadFilter.java:61)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Have you any idea???
    Thanks

    Hi,
    A couple of thoughts:
    1. Have you asked in the Oracle Text forum?
    Text
    2. On which text index does this command fail? Have you checked to make sure this text index really does exist?
    Cheers,
    Colin
    PS The singular of 'Indices' is 'Index'.

  • ORA-29902 Error when executing context query

    We sometimes get the following error when executing a search based on keywords entered by a user:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Error generating context stmt ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: interMedia Text error: DRG-50901: text query <HR></BLOCKQUOTE>
    A demonstration of the error can be seen by going to the main
    http://technet.oracle.com technet page and then performing a site search. Type in any of the following search phrases:
    Oracle and not Microsoft
    not Microsoft
    and database
    In my brief experimentation, the presence of any of
    not, and, or
    at the beginning of the keywords, or next to each other 'and not' within the keywords set causes the above oracle error.
    OK, I could train the users not to do this, but with the potential for every net user on the planet using my site, it might take me some time to speak to all of them.
    So how do I stop Intermedia from throwing up the error? I have written a quick parser to try to strip out offending entries, but that is not, imho, a good solution, as I do not know all the rules that will break it.
    tia

    You need to write a text query parser. Check the Query Translator code samples from http://technet.oracle.com/sample_code/products/text/content.html

  • Error in executing ODCIIndexStart()

    I a Search Application,I need to find the documents, where a StringAttribute (Author) contains any of the values in a specified array.
    For this purpose, I use an AnyOf-query (combined with some other queries).
    Alas I keep getting the following error-message.
    oracle.ultrasearch.query.tagext.SearchJspTagException: WKG17019: JDBC-exception: ORA-20000: Oracle Ultra Search error
    User-Defined Exception
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50901: text query parser syntax error on line 1, column 49
    ORA-06512: at "WKSYS.WK_ERR", line 179
    ORA-06512: at line 1
         at oracle.ultrasearch.query.tagext.GetResultTag.doEndTag(GetResultTag.java:228)
    If I use an AllOf query instead, I get the samme error, but if I use a simple Equals-query, everything is fine.
    Has anybody experienced the same problem? Does anyone have a clue of what I might be doing wrong?

    Hi,
    A couple of thoughts:
    1. Have you asked in the Oracle Text forum?
    Text
    2. On which text index does this command fail? Have you checked to make sure this text index really does exist?
    Cheers,
    Colin
    PS The singular of 'Indices' is 'Index'.

  • I am getting ORA-20001: Seed insert error while seed translatable text step

    Hi,
    I am getting this error while English to Arabic translation in the Seed translatable text step
    ORA-20001: Seed insert error: WWV_FLOW_ICON_BAR.ICON_IMAGE_ALT ORA-00001: unique constraint (APEX_030200.WWV_FLOW_TRANSLATABLE_TEXT_PK) violated
    Can i get any suggetion from your side.
    Thanks,
    nar

    Did you ever figure this out. Because I also have this error.

  • Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in data

    I have a page that has a form to my issue table and on the same page, in a different region, I have a tabular report that shows the issue_activity for the specified issue. The primary key on the issue table is the issue_no which is a sequence and the primary key on the issue_activity table is (issue_no,line_no), where issue_no comes from the issue table. A parent-child relationship between issue and issue_activity.
    When I add a row to my tabular form and type in some data, I get a (Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.) error. When I look at the data, everything looks fine.
    The issue_no and line_no are correctly set. My Issue_no and line_no fields on my report are hidden fields.

    I rebuild the report using a tabular form and populated the primary key with a PL/SQL expression and now it appears to be working. P1_ISSUE_NO is the primary key on the issue table and I could not figure how to get it in the issue_no field of the tabular report when a new line was entered I ended up putting the following code in for the default for
    issue_no on the report:
    Begin
    return :P1_ISSUE_NO;
    end
    It works great.

  • Import err: ORA-20001,ORA-02047,alter session set nls_numeric_characters...

    Hi APEX development team,
    I get mad about an APEX import error which occurs maybe one time every second month.
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
    ORA-02047: cannot join the distributed transaction in progress <pre>
    begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||''''; end; </pre>I described the error really detailed inside my APEX blog. The following links will help you understanding what I tried to find a solution for it:
    [APEX error ORA-20001 and ORA-02047 during application import (1)|http://apex-at-work.blogspot.com/2008/11/apex-error-ora-20001-and-ora-02047.html]
    [Again import error ORA-02047: cannot join the distributed... (2)|http://apex-at-work.blogspot.com/2008/11/again-import-error-ora-02047-cannot.html]
    [Solution for APEX import error ORA-20001, ORA-02047 (3)|http://apex-at-work.blogspot.com/2008/11/solution-for-apex-import-error-ora.html]
    Write now I have two options to solve the error:
    1. Restart Oracle Application Server
    2. Wait a couple of days with the import (restart of my client computer) and it works for a while again
    Apex Version: 3.1.2
    DB Version: Oracle XE database under Windows
    Hope there is a chance to get some help about this annoying error.
    King regards,
    Tobias

    Hi Joel, Scott and the rest of the community.
    I went on determine the import problem. It occurred two more times since the last post.
    First time:
    This time was a bit different. I wanted to create a new workspace and got the error "ORA-02047: cannot join the distributed transaction in progress" when I clicked on the button to create a new workspace after I entered all information to it.
    I restarted the OAS and worked again
    Second time:
    During an application import the error occurred again and I tried the following things:
    As data owner (only one db link exist)
    ALTER SESSION CLOSE DATABASE LINK DBMS_CLRDBLINK;Result no open database links to close
    As sys (all database links)
    -- The following script queries the DBA_DB_LINKS view to access link information:
    SELECT * FROM DBA_DB_LINKS;
    -- close of all database links
    ALTER SESSION CLOSE DATABASE LINK username.db_link_name;
    ...Result no database links open. Try of import ended with same error.
    Check of apex_public_user no (open) db_links. No objects locked.
    I had to restart the OAS again.
    Any ideas?
    Regards,
    Tobias

  • USER UPDATE가 안되는 문제 ORA-20001 ORA-06512

    제품 : AOL
    작성날짜 : 2002-11-29
    USER UPDATE가 안되는 문제 ORA-20001 ORA-06512
    =======================================
    PURPOSE
    Problem Description
    SQL> exec fnd_user_pkg.UpdateUser('LGESSO','SEED', 'lgesso2');
    BEGIN fnd_user_pkg.UpdateUser('LGESSO','SEED', 'lgesso2'); END;
    ERROR at line 1:
    ORA-20001: Unabled to change password for user LGESSO for this following
    reason:
    Password was not changed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 51
    ORA-06512: at "APPS.FND_USER_PKG", line 350
    ORA-06512: at line 1
    Workaround
    patch 2426407를 적용해야 한다.
    Solution Description
    FND_USER_PKG.UpdateUser가 유저의 패스워드를 바꿀때 fail이 나는 문제이다.다음과 같은 에러가 난다:
    ERROR at line 1:
    ORA-20001: Unabled to change password for user JFROST for this following
    reason:
    Password was not changed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 51
    ORA-06512: at "APPS.FND_USER_PKG", line 348
    ORA-06512: at line 1
    This is due to a change in FND_WEB_SEC.change_password being defined with a
    pragma of autonomous transaction.
    FND_USER_PKG.UpdateUser calls FND_WEB_SEC.change_password to change a user's
    password.
    Reference Documents
    -------------------

    DBA2008 wrote:
    i disable the trigger messing up tivoli user,& i am able to login fine, wondering if i enable it back it will do the same?If you keep doing the same thing, you can expect the same results.
    Perhaps you should analyze the trigger to figure out
    1) what it was supposed to be doing that is not being done since you disabled it
    2) why it was throwing the error . . .

  • AP Create Accounting - Error ORA-06512, XLA-95103, ORA-20001, ORA-20100

    *Hello all you patient Oracle Champs - I know issues like this are floating around the forum and web but I still can't seem to fine a match.*
    *> OA R12.1.3*
    *> Orcale Database Server 11.2.0.2*
    [010613_011550898][][EXCEPTION] SQLException encounter while executing data trigger....
    java.sql.SQLException: ORA-20001: -: XLA-95103: An internal error occurred.
    Please inform your system administrator or support representative that:
    An internal error has occurred in the program xla_create_acct_rpt_pvt.BeforeReport .
    ORA-20001: -: XLA-95103: An internal error occurred.
    Please inform your system administrator or support representative that:
    An internal error has occurred in the program XLA_CREATE_ACCT_RPT_PVT.print_logfile.
    ORA-20100: Error: FND_FILE failure. Unable to create file, o0104058.tmp in the directory, /usr/tm
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    *> Note the directory path cited: +/usr/tm+*
    *> A later error:*
    Oracle error 20100: java.sql.SQLException: ORA-20100: Error: FND_FILE failure.
    Unable to create file, o0104058.tmp in the directory, /usr/tmp.
    *> Note the directory: +/usr/tmp+*
    SQL> show parameter utl_file_dir
    utl_file_dir
    string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
    $ echo $APPLTMP
    /Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
    *> has read/write permissions (777)*
    $ echo $APPLPTMP
    /usr/tmp
    *> has read/write permissions (777)*
    *> There is plenty of space in /usr, /Develop_Appl*
    *> Patch 10131305 already applied per note: 1392267.1*
    *> SLA: Enable Diagnostics set to a null value (blank)*
    *> the file o0104058.tmp does not exist in either $APPLTMP or $APPLPTMP (i.e. note 460643.1)*
    *> I confirmed that note 749491.1 was not an issue*
    *> note 261693.1 did not seem to apply*
    *> note 148262.1 did not seem to apply*
    I can provide the concurrent & FND debug output if needed.
    Thank you all*
    Zippy the P

    Zippy242 wrote:
    Hi Hussein,
    checked 1252703.1 - it doesn't appear applicable:
    SQL> show parameter utl_file_dir
    utl_file_dir
    string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
    $ echo $APPLTMP
    /Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
    *> has read/write permissions (777)*
    $ echo $APPLPTMP
    /usr/tmp
    *> has read/write permissions (777)*
    checked 760614.1 - not the case:
    no invalid XLA%
    FUN_SEQ_BATCH both package and body are valid.
    Please Advise
    thanks,
    ZipAre you running all the application/database services on one server or multiple ones?
    Thanks,
    Hussein

  • HTMLDB 1.6 fails during plain text upload (ORA-20001 & ORA-01461)

    All
    I'm trying to upload a txt file into HTMLDB 1.6 but it's failing with the following error:ORA-20001: Load csv data error: ORA-01461: can bind a LONG value only for insert into a LONG column
    I don't have any LONG column types but I do have 3 VARCHAR2(2000) columns within the Oracle table. The source file I'm trying to upload comes from an Access2000 table.
    If anyone can advise that would be great...becoming a bit frustrated !!
    David

    Similar problem maybe?
    I have created a page with a tabular form using the wizard. I am trying to create a Function returning Error Text validation for the grid. I can step through the wizard without any problems, but when I hit Create I am getting this error...Not even inserting records yet?
    Is there a limit to the characters that you can enter in the Validation process? I'm verifying quite a bit so the procedure is fairly long. I also have a varchar2(1000) column but no LONG datatypes.
    Any help with this error would be wonderful.
    I am still in HTMLDB 1.6, running against a 10g database.
    Thanks,
    Janel

  • Getting syntax error while executing keyfigure routine BI 7.0

    Hello,
    I am writing a very simple keyfigure routine to calculate sales revune using sales quantity and sales price, I am getting error as follows
    - I am in 'Rules Details' screen and I have selected 'Routine' as the rule type. I enter the following code in routine
         RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU *
         SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC .
    - I hit the check button on the routine page, it says no syntax errors
    - Now I am back in the 'Rules Details' page and I hit the 'Check' button it gives me the following error
    Rule(target IO_VB_REV, group: Standard Group): Syntax error in routine
    Please tell me what is wrong. what should i check

    Hi Vaibhav,
    Here are the details
    - I am loading data from flatfile to an Infocube with 3 keyfigures: IO_VB_PRC (Sales Price) , IO_VB_QU (Sales Quantity), IO_VB_REV (Sales Revune). Getting values for IO_VB_QU and IO_Vb_PRC from flatfile and calculating for IO_VB_REV using routine
    - I created Transformations, and under  Rule Group: Standard Group box I see 'X' sign against 'IO_VB_REV' field, meaning not mapped to any datasource field
    - In rules detail screen, I add two source fields of Rule , IO_VB_QU and IO_VB_PRC. I see IO_VB_REV already added under 'Target fields of Rule' section
    - I then add the only following line to routine
    RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU *    SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC .
    Clicking on check button it gives no syntax error message. I save and exit back to Rule Details page.
    - I specify 'USD' as the Conversion Type and then click on check button it initially gives me 'Incorrect Input'  written in an information message box and then error that Syntax error in routine
    Let me know what is that I am missing
    Thanks for helping

  • ORA-29902 ERROR  on a querry

    We get this error with the following querry:
    SELECT
    DISTANCE FROM DIST_PTS
    WHERE (CLLI = 'CHCGILCL') AND (MDSYS.SDO_NN (GEOLOC,
    MDSYS.SDO_GEOMETRY (2001, NULL,
    MDSYS.SDO_POINT_TYPE (-87.63804626464844, 41.879520416259766, NULL),
    NULL, NULL), 'SDO_NUM_RES=1') = 'TRUE');
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13236: internal error in R-tree processing: [failed to allocate memory]
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 84
    ORA-06512: at line 1
    Our table has 25 million records and we are using Oracle 8.1.7
    We were getting this error with 8.1.6 and were advised to upgrade. We did but we get the same error. Has anyone seen this ?

    I am getting a similar error code trying to run the "Nearest
    Neighbor" sample code:
    error message:
    ORA-29902: error in executing ODCIindexStart()routine
    ORA-13207: incorrect use of the [NO UNITS SUPPORTED] operator
    ORA-06512: at "MYSYS.SDO_INDEX_METHOD" line 83
    partial code:
    v_latlong := v_latlong.findlocation();
    if v_latlong.numTotalCand > 0 then
    v_lat := v_latlong.getLatitude(1);
    v_long := v_latlong.getLongitude(1);
    found3 := FALSE;
    dist := .25;
    while found3 = false loop
    dist := dist + .25;
    select a, b, c INTO r_a, r_b, r_c from atable where
    SDO_WITHIN_DISTANCE(atable.GEOLOC,MDSYS.SDO_GEOMETRY
    (2001,NULL,MDSYS.SDO_POINT_TYPE(v_long,v_lat,NULL),NULL,NULL),
    'distance = dist, Unit=MILE, layer_gtype = POINT')
    = 'TRUE';
    cnt := cnt + 1;
    end loop;
    if cnt >= 2 then
    found3:= TRUE;
    end if;
    The only references I am finding to the ODCI Index is in the
    Oracle Data Cartridge Developers manual. SInce I am not
    developing a Data Cartridge, I am assuming the error is coming
    from either the Oracle Geocoder or the MapInfo implementation of
    that. In either case I do not see how I can correct the
    problem.
    Is the suggestion that there might be a problem with the
    geometry (in my case both are x,y points)?
    Thank you for any help

Maybe you are looking for