OCI Error

In the error,
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1291)
at java.lang.Runtime.loadLibrary0(Runtime.java:470)
at java.lang.System.loadLibrary(System.java:778)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:202)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:156)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:231)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:208)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
can anyone tell me in which file from the following list, I should point to to get the OCI stuff working or which file in the following list has the functionality class for the OCI call?
/oracle/app/product/8.1.7/lib: ls
aurora_client.jar libclntsh.sl libmm.a libnzjs8.a libsvrmgrl.a nigtab.o
aurora_server.jar libclntsh.sl.8.0 libn8.a libobk.sl libtrace8.a nnfgt.o
classgen.jar libclntst8.a libnavshr.sl libocijdbc8.sl libtracefe8.a ntcontab.o
clntsh.map libcommon8.a libnbeq8.a libocijdbc8_g.sl libtracepls8.a nvdb_odbc.sl
clntst.lis libcore8.a libncrypt8.a libordsdo8.a libtracepls8.sl oraclexsql.jar
full_orb.jar libcorejava.sl libnent8.a libordts8.a libtracept8.a osntabst.o
http_client.jar libctx8.a libnhost8.a libordvirt8.a libvppdc.sl s0main.o
http_server.jar libctxc8.a libnjni8.sl libowm2.sl libvsn8.a scorept.o
jdev-rt.zip libdbicx8.a libnjssl8.sl libplc8.a libwtc8.a servlet.jar
jndi.jar libdsbtsh8.sl libnl8.a libplp8.a libwtc8.sl smalmain.o
lclasses11.zip libgeneric8.a libnldap8.a libpls8.a libwtcserver8.a sscoreed.o
lclasses12.zip libgslavl8.a libnls8.a libpsa8.a libwwg8.a sysliblist
ldflags libgslber_s8.a libnoname8.a libqsmashr.sl libxml8.a vbjapp.jar
ldflagsO libgsldb8.a libnro8.a libserver8.a libxmlg8.a vbjgk.jar
libJNLSLib3.sl libgslr8.a libnsgr8.a libsgsl_s8.a libzx8.a vbjorb.jar
libJNLSTool.sl libgslsg8.a libnsslb8.a libskgxp8.a mts.jar vbjtools.jar
libWizOSD.sl libgslssb8.a libntcp8.a libskgxpd.a naect.o xmlcomp.jar
libagent8.a libgslssf8.a libntcps8.a libslax8.a naedhs.o xmlparserv2.jar
libagtsh.sl libgx8.a libntns8.a libslpm.a naeet.o xmlplsql.jar
libagtsh.sl.1.0 libjox8.sl libnus8.a libsql8.a nautab.o
libclient8.a libldapclnt8.a libnvbaseshr.sl libsqlplus.a nigcon.o

bump, I got this too
I do have a query that has calls to functions in its select but it worked about an hour ago and it stopped working just now.
Anyone?

Similar Messages

  • ERROR   OGG-01296,OCI Error ORA-01400

    Discarded record from action ABEND on error 1400
    OCI Error ORA-01400: cannot insert NULL into ("SICK"."SI _RECORD"."CARD_TYPE") (status = 1400), SQL <INSERT INTO "SICK"."SI_CARD_RECORD" ("ORG_ID","CARD_NO","MODIFY_TIME","MODIFY_OPERATOR","REMARK") VALUES (:a0,:a1,:a2,:a3,:a4)>
    Aborting transaction on dirdat/EF beginning at seqno 0 rba 7539127
    error at seqno 0 rba 7539127
    Problem replicating SICK.SI_CARD_RECORD to SI.SICK_CARD_RECORD
    Mapping problem with compressed key update record (target format)...
    OS :WINDOWS2008 ORACLE:11.2.0 GOLDEN GATE :11.1.1.0

    The error is self explanatory. GG is trying to insert NULL into a column that doesn't accept NULLS.
    Is the table definition same on source and the target side ?

  • Getting DRG-50858: OCI error: OCI_NO_DATA with user_datastore on 9iR2

    Hi there,
    Created a procedure and mapped it to a user_datastore... getting the following error in the ctx error table:
    DRG-12604: execution of user datastore procedure has failed
    DRG-50857: oracle error in drsinopen
    DRG-50858: OCI error: OCI_NO_DATA
    Created the following preferences:
    begin
    -- set the user datastore procedure
    ctx_ddl.create_preference('ccnews_ud', 'user_datastore');
    ctx_ddl.set_attribute('ccnews_ud', 'procedure', 'ctxsys_ccnews_ustore_idx_prc');
    ctx_ddl.set_attribute('ccnews_ud', 'output_type', 'CLOB');
    ctx_ddl.create_preference('english_lexer','basic_lexer');
    ctx_ddl.create_preference('french_lexer','basic_lexer');
    ctx_ddl.create_preference('global_lexer', 'multi_lexer');
    ctx_ddl.add_sub_lexer('global_lexer','default','english_lexer');
    ctx_ddl.add_sub_lexer('global_lexer','ENGLISH','english_lexer','1');
    ctx_ddl.add_sub_lexer('global_lexer','FRENCH','french_lexer','2');
    end;
    Is it possible that the procedure returns an empty clob for a row which causes this problem?
    The index is running on a table with 28,000 rows, I have to admint that the data integrity is not up to par (ie could be existence of orphaned records) Could this cause the problem?

    An empty clob or even an orphaned record should not cause the problem. It is usually due to a bug in the procedure. Data corruption could be a cause. Please post a copy and paste of a run of create or replace for your procedure, followed by show errors and a copy and paste of a run of a query that produces the error stack.

  • Can't initialize OCI error occured during the login process using TOAD 9.0

    I have installed the Toad 9.0 recently while login using the username & password for oracle 10.0 database , i am getting the error
    Can't initialize OCI Error 1
    But i am able to login using the Sql Plus successfully..
    Thanks in Advance.

    Here's one more reason why this error occurs in Toad. It is when you have more than one Oracle Client installed on your machine. Even when you select the correct Oracle Home in "Connect Using" field of Toad, you still get this error "Can't initialize OCI. Error -1". So, to solve that you need to go to the installation folder of that Oracle Home (e.g. C:\Oracle\ora92\), then go to the BIN folder. Open Oracle.Key in Notepad and confirm that it is showing Registry entry/path to the correct Oracle Home (e.g. HOME0 or HOME1 or whatever).
    I hope this helps.

  • Oci error in report 6i in reports with more than 1000 pages

    hi
    in a report that has more than 1000 page output , run in report 6i while formatting pages an error occurs:
    OCI error.==>SELECT NAME,
    what this means?
    please help me.
    CAROL.

    in reports that i know number of pages for example 1100 pageswhile formatting pages 150-200 this error occurs.
    Did you get the error if total report pages < 1100?
    indeed in another report with about 3500 pages output this error not occurs. Any diff. of setting/limits etc. between your two reports?

  • Resolving OCI error issues

    I have an apex 4.0 app running on 11gr2 oracle that calls an oracle proc that uses an autonomous transaction pragma and then calls a microsoft sql server proc via a db link and heterogenous services. I had an error on the sql server side with the proc (PK insert violation) and then received an OCI error on the apex side. I fixed the issue and verified thatI could run the oracle proc to ms sql proc in toad without error but I am still getting the OCI error in apex. Besides restarting apex, is there anything else that I can do to stop the OCI errors from occuring in apex?
    Edited by: user11201107 on Nov 30, 2010 1:55 PM

    Hello KelGrey,
    I have noticed your post about your Photosmart 7510 showing "offline". I did some research on this issue for you and I have found a troubleshooting document for you to follow to hopefully correct the problem.
    I am going to post a link below for you, you will need to select your operating system first and then select the troubleshooting guide that is titled " Printer is offline " Message Displays on the Computer and the Printer Will Not Print ".
    I hope this helps!
    Take care
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Error: SQL*Loader-926: OCI error while OCIStmtExecute(trigger_hp) for table

    HEllo, i've a problem when i try to load a file, the message is:
    SQL*Loader-926: OCI error while OCIStmtExecute(trigger_hp) for table <table>
    ORA-00904: invalid column name
    what is the solution for this?
    thanks

    The root cause is in the error ora-1426, which you can look up in the online error documentation at http://tahiti.oracle.com . No one knows every error message by heart. This means it is expected you look up the error prior to posting, and you don't expect any volunteer in this forum to look up the error on your behalf.
    Also this is a typical candidate for being a known problem, and known problems can be found on My Oracle Support.
    Sybrand Bakker
    Senior Oracle DBA

  • Can't initialize oci. error 1

    Dear all:
    When I login TOAD, I got this error:
    can't initialize oci. error 1
    but sql*plus login can successfully from my client.
    I've tried to set the NLS_LANG manually in the registry and set the enviroment ORCLE_HOME , but it cannot work.
    my OS client is WINXP SP3 and the DB is : ORACLE 9.2.0.8 64bit
    Regards
    Terry

    DUPLICATE thread
    Cannot login via TOAD with ORA-12705 error

  • OCI Error ORA-01403: no data found in oracle goldengate replication after tts instaniation

    I recently migrated our tg core system from sun solaris(11.1.0.7) to linux (11.2.0.3) environment using goldengate method (transportable tablespace method used for instantiation).
    The initial replication worked with HANDLECOLLISIONS and after I monitor the lag finished, I took Handlecollisions off and noticed discarded report with OCI Error ORA-01403: no data found in two replications.
    I followed every step in the tts migration steps provided by oracle best practice.
    Can anybody provide any clue how do I fix this issue?
    Thank you in advance.

    extract and replicat are on schema level.
    DO I have to do anything for replication on schema level?
    Basic trandata logging enabled on source.

  • GoldenGate: OCI Error during OCIServerAttach

    Hi:
    I follow below mention steps for goldengate:
    1). Install oracle 10g with two database on the same machine. orcl and orcl2 in d:\ drive.
    2). In orcle a user name ggs_owner with employees table with 107 records.
    3). In orcl2 a user ggs_owner2 with black employees table.
    3). Download goldengate 10.4 and put into c:\GG folder after unzip.
    4). Access GGSCI through cmd.
    5). Create directories with "CREATE SUBDIRS" command.
    6). configure mgr file with "EDIT PARAMS MGR" with below mention text.
    [PORT 7809
          USERID ggs_owner@orcl, PASSWORD ggs_owner
          PURGEOLDEXTRACTS C:\GGs\dirdat\ex, USECHECKPOINTS]
    7). Add extract : ADD EXTRACT load1, SOURCEISTABLE
    8). edit params load1
    [EXTRACT load1
         SETENV (NLS_LANG = "AMERICAN_AMERICA.WE8MSWIN1252")
         SETENV (ORACLE_HOME = "D:\Oracle\product\10.2.0")
         SETENV (ORACLE_SID = "orcl")
         USERID ggs_owner@orcl, PASSWORD ggs_owner
         RMTHOST 10.8.11.227, MGRPORT 7809
         RMTTASK replicat, GROUP load2
         TABLE ggs_owner.departments;]
    9). Add extract ADD REPLICAT load2, SPECIALRUN
    10). edit params load2
    [REPLICAT load2
          USERID ggs_owner2@orcl2, PASSWORD ggs_owner2
          ASSUMETARGETDEFS
          MAP ggs_owner.departments, TARGET ggs_owner2.departments;]
    After this setup i am going to run extract process.
    11). start manager.
    12 ). start extract laod1
    after some time it display the ggsci propmt and below mention error in C:\GGS\dirrpt folder.
    [ 2011-03-26 14:07:41  GGS ERROR       182  OCI Error during OCIServerAttach (status = 12154-Error while
    trying to retrieve text for error ORA-12154).
    2011-03-26 14:07:41 GGS ERROR 190 PROCESS ABENDING.]
    Please help in stuck in this process.
    Regards,
    Abhishek

    See if you can connect via SQL*Plus to each database - using tnsnames.
    In SQL*Plus:
    SQL> conn ggs_owner/ggs_owner@orcl
    SQL> conn ggs_owner2/ggs_owner2@orcl2
    The 12154 error is related to Oracle not knowing who/where it is you are trying to connect to.
    The outcome of both of these should show that you are connected. If anything else appears, start fixing from there.

  • Privilege revoked on a table  - SQL*Loader-926: OCI error

    During recent maintainence activity , a table was exported & imported , deleted , truncated & dropped.After the activity an user lost its privilege on the table and a job related to this table has been failing with the below error
    SQL*Loader-926: OCI error while executing delete/truncate (due to REPLACE/TRUNCATE keyword) for table xyz.abc_def
    ORA-01031: insufficient privileges
    The privileges were granted on the table once again and since then the job has been successful , however we are unable to find the root cause which was responsible for the revoking of these privileges.
    Any suggestions and insight into this would be very helpful and much apprciated.

    Please read http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9003.htm#SQLRF01806
    >
    Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters
    >
    Edited by: P. Forstmann on 1 févr. 2011 13:44

  • Ora (OCI) error codes for TAF failure

    Hi,
    I am working on project where in I have to support Transparent Application Failover (TAF) in GUI (using Java). From web (by googling) I found that this is automatically done by JDBC Thick (OCI) drivers.
    I also found in some web site that there are lot of Ora Error Codes for various senarios like SELECT TAF failure(Ora 25401), or for DML command TAF failure(Ora 25402).
    Is there any set/range of Ora(OCI) Error Code which is specifically for all TAF failure senario?
    Thanks
    Ram

    :-)

  • Attunity Error in SSIS - "OCI Error Encouneterd"

    I have SSIS BIDS (SQL Server 2008) (32 bit), and am using Attunity connector to connect to an Oracle DB. A while back we had our systems upgraded to windows 7 64 bit.
    I have installed Oracle 11g client on my machine, added TNS entries for the above Oracle server connection and also pointed this path (path for TNSNames.ORA) in the "PATH" environment variable as well as "TNS_ADMIN" (which I created)
    environment variable.
    Even after doing all this, I get the following error when validating the Attunity Oracle source connector, the error is as follows:
    "OCI Error Encouneterd. ORA-12154: TNS could not resolve the connect identifier specified, Test connection failed".
    I also researched that this might be due to paranthesis in the path for devenv.exe (BIDS).... So I went through the following post, installed JUNCTION, and created a junction pointing to the actual directory for devenv.exe.
    http://danieladeniji.wordpress.com/2011/08/03/microsoft-sql-server-integration-services-attunity-error-oci-error-encountered-ora-12154-tnscould-not-resolve-the-connect-identifier-specified/
    This too has not resolved the problem....
    Any help appreciated!!

    Okay I checked out the solution in the link and tried to implement the same:
    To solve the problem, you have two options:
    Specify the Oracle connection string, instead of the TNS service name in the Oracle Connection Manager Editor, for example, in the following format:host:port/service_name
    Define a dummy registry entry (Z_SSIS) as follows:
    Open the regedit utility.
    Locate the following Key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE.
    Right-Click on ORACLE node and click on New -> Key.
    Call the new key Z_SSIS (to make sure it's the last entry).
    Right-Click on the Z_SSIS node and click on New -> String.
    Name the property ORACLE_HOME.
    Double-Click on the ORACLE_HOME and set it to the location of the Oracle 32Bit installation home directory you want to use
    Option 1 does work , you can do that instead of just giving the TNS Name of the connection. So probably I can use that as a solution for my problem here...
    Option 2 does not work...I tried creating the new registry key, but that has not solved the issue.
    Thank You

  • OCICollAppend(.)  fails &  OCICollSize(.) fails  : OCI Error : 21500, 21560

    Hi,
    My aggregate member function output/OUT parameter is a nested table or collection : table_out1 :
    table_out1 TABLE OF NTAB_TYPE
    Name Null? Type
    EMPNO NUMBER
    SALARY NUMBER
    TST CHAR(10)
    TE CHAR(10)
    And this table_out1 is not part/column of any database table.
    I am just using this table_out1 instance : returnValue : as a empty collection initially and then I am appending elements or objects
    of type : NTAB_TYPE into this collection and then outputting the results(the entire collection items) directly to the sql prompt
    after the completion of the ODCIAggregateTerminate member function. I am creating the new Objects by iterating through a set p :
    and then corresponding creating objects using : OCIObjectNew(...)
    But my problem is the OCICollSize(..) fails and throws an error : ORA-21500 or ORA-21560 .....
    If I still go further and execute the OCICollApend(..) then it fails at that moment and gives me the same ORA-21500 or ORA-21560.
    It fails at the very first element or when I am trying to append for the first time as the collection is empty.
    The elem & elemind of OCICollAppend() : respectively : tmp & tmp_ind in my function ODCIAggregateTerminate are not null as I can check
    them in my code ..So may be I am suspecting that the collection being empty it is throwing the error : but since in my case the collection
    is an OUT/Output parameter so it should successfully append but it is not happening so..
    When I check the OCI Collection size of returnValue : table_out1 : the value is nested_table size : 134580616
    member function ODCIAggregateTerminate(
    self IN OUT MinDistanceImpl, returnValue OUT table_out1,
    flags IN number)
    return number
    as language C
    library custagg name "ODCIAggregateTerminate"
    with context
    parameters (
    context,
    self,
    self INDICATOR STRUCT,
    returnValue ,
    returnValue INDICATOR,
    flags,
    flags INDICATOR ,
    RETURN ),
    typedef OCITable table_out1;
    struct ntab_type
    OCINumber empno;
    OCINumber salary;
    OCIString * tst;
    OCIString * te;
    typedef struct ntab_type ntab_type;
    struct ntab_type_ind
    OCIInd _atomic;
    OCIInd empno;
    OCIInd salary;
    OCIInd tst;
    OCIInd te;
    typedef struct ntab_type_ind ntab_type_ind;
    extern "C" OCINumber * ODCIAggregateTerminate(
    OCIExtProcContext *context,
    MinDistanceImpl * self,
    MinDistanceImpl_ind * self_ind,
    table_out1 * returnValue,
    short * returnValue_ind,
    OCINumber * flags,
    short flags_ind)
    ......Some previous code goes here...................
    ntab_type * tmp = (ntab_type *) 0;
    ntab_type_ind * tmp_ind = (ntab_type_ind *) 0;
    returnValue = (table_out1 *) 0; // Can comment this : as it does not make any difference
    OCIType out_tdo = (OCIType )0;
    set&lt;Outdata*&gt;::iterator it;
    for (it = storedCtx-&gt;l.p.begin(); it != storedCtx-&gt;l.p.end(); it++) {
    fprintf(pFile, " in term set is : salary : %d , s.end : %s", (*it)-&gt;salary, (*it)-&gt;iend);
    fflush(pFile);
    int sal = (*it)-&gt;salary;
    char time = (char )malloc(10*sizeof(char) + 1);
    strcpy(time,(*it)-&gt;iend);
    static sword status = 0;
    if(( status = OCITypeByName(handles.envhp, handles.errhp, handles.svchp, (const text *) "SYS", (ub4) strlen("SYS"),
    (const text *) "NTAB_TYPE", (ub4) strlen("NTAB_TYPE"), (text *)0, (ub4) 0,
    OCI_DURATION_SESSION, OCI_TYPEGET_ALL, &out_tdo)) != OCI_SUCCESS)
    fprintf (pFile, "Ocitypename - Fail\n");
    fflush(pFile);
    checkerr(&handles, status);
    if((status = OCIObjectNew(handles.envhp,handles.errhp,handles.svchp, OCI_TYPECODE_OBJECT, out_tdo, (dvoid *)0,
    OCI_DURATION_SESSION, TRUE, (dvoid**)&tmp)) != OCI_SUCCESS)
    fprintf (pFile, "OCIOBJECTNEW - Fail\n");
    fflush(pFile);
    checkerr(&handles, status);
    OCINumberFromInt( handles.errhp,&sal,sizeof(int),OCI_NUMBER_SIGNED, &tmp-&gt;empno);
    if (checkerr(&handles, OCINumberFromInt( handles.errhp,&sal,sizeof(int),OCI_NUMBER_SIGNED,&tmp-&gt;salary)))
    int success = ODCI_SUCCESS;
    OCINumberFromInt( handles.errhp,&success,sizeof(int),OCI_NUMBER_SIGNED,returned );
    *returnValue_ind = OCI_IND_NULL;
    return returned;
    if (checkerr(&handles, OCIStringAssignText(handles.envhp,handles.errhp, (CONST text *) time, strlen(time), &tmp-&gt;tst)))
    int success = ODCI_SUCCESS;
    OCINumberFromInt( handles.errhp,&success,sizeof(int),OCI_NUMBER_SIGNED,returned );
    *returnValue_ind = OCI_IND_NULL;
    return returned;
    if (checkerr(&handles, OCIStringAssignText(handles.envhp,handles.errhp, (CONST text *) time, (ub2)strlen(time), &tmp-&gt;te)))
    int success = ODCI_SUCCESS;
    OCINumberFromInt( handles.errhp,&success,sizeof(int),OCI_NUMBER_SIGNED,returned );
    *returnValue_ind = OCI_IND_NULL;
    return returned;
    char * ctst1 = (char *)OCIStringPtr(handles.envhp, tmp-&gt;tst);
    char * cte1 = (char *)OCIStringPtr(handles.envhp, tmp-&gt;te);
    fprintf(pFile, "from ctst1 & cte1 values");
    tmp-&gt;tst : %s | tmp-&gt;te : %s | \n", ctst1, cte1);
    fflush (pFile);
    if(tmp_ind==OCI_IND_NOTNULL)
    fprintf(pFile, " Oci tmp_ind not null...\n");
    fflush(pFile);
    else {
    fprintf(pFile, " After OCI tmp_ind is NULL ...\n");
    fflush(pFile);
    sb4 sz;
    if((status = OCICollSize(handles.envhp, handles.errhp,(CONST OCIColl *) returnValue, &sz)) != OCI_SUCCESS)
    fprintf (pFile, "nested_table size error : %d\n", (int)sz);
    fflush(pFile);
    checkerr(&handles, status);
    else {
    fprintf (pFile, "nested_table_returnValue_size : %d\n", (int)sz);
    fflush(pFile);
    if (( status = OCICollAppend(hand*les.envhp, handles.errhp, (CONST dvoid *)tmp, (CONST dvoid *)tmp_ind, (OCIColl *)returnValue))
    != OCI_SUCCESS)
    fprintf (pFile, "OCICollAppend - Fail\n");
    fflush(pFile);
    checkerr(&handles, status);
    writing some status info of the program to the file : ( I deleted few printf statements in the above code..)
    In ODCIAggregateTerminate Function!
    in term set is : salary : 99 , s.end : 1999-10-10 sal value is : 99 After initializing sal is : 99 , time : 1999-10-10
    ******************Ocitypename - successfully done ***********************
    **************before tmp_ind---&gt; oci-ind-null ***********************
    ***************after tmp_ind---&gt; oci-ind-null ***********************
    OCIObjectNew created successfully
    Before OCI Number conversion :
    Before OCIstringassign text convs...terminate para....
    After oci string assign text for tmp.tst...
    After oci string assign text for tmp.tst...
    After oci string assign text for tmp.te...
    from ctst1 & cte1 values-----
    tmp-&gt;tst : 1999-10-10 | tmp-&gt;te : 1999-10-10 |
    Oci tmp_ind not null...
    nested_table size error : 134580616
    ****************************In checkerr module *********************************************!
    OCI error code 21500
    ****************************closing of checkerr module *********************************************!

    Hey,
    Now I am able to append or add elements to the collection(OCITAble *). And it does not throw any error but the collection size is zero and collection is empty even after issuing OCICollAppend(...) .
    I don't understand why is it happening so. I tried looking for almost 2-3 days and could not figure out what was happening....
    Can any one suggest me some thing what is going on ... ...

  • ORA-24330: internal OCI error on OCIStmtFetch2

    I get an internal OCI error when using:
    OCIStmtFetch2(stmt, errhp,(ub4)1, OCI_FETCH_LAST, 0, OCI_DEFAULT);
    And
    OCIAttrGet (stmt, OCI_HTYPE_STMT, (dvoid *) &numrows, (ub4 *) 0, (ub4) OCI_ATTR_CURRENT_POSITION, errhp);
    return 0 in numrows.
    What might be the problem?
    Is There some other way of finding out how many rows there is in a result set before accually fetching them all and counting?

    Answering my own question:
    My linux kernel option for shared memory was set to low.
    With a larger value in /proc/sys/kernel/shmmax the problem went away.

  • OGG-00665  OCI Error executing single row select (status = 4060-ORA-04060:

    Unable to start Replica. Is it Oracle user permission issue ?
    ERROR OGG-00665 OCI Error executing single row select (status = 4060-ORA-04060: insufficient privileges to execute DBMS_STREAMS.SET_TAG
    ORA-06512: at "SYS.DBMS_STREAMS", line 16
    ORA-06512: at line 1), SQL<BEGIN dbms_streams.set_tag(:1); END;>.
    ERROR OGG-01668 PROCESS ABENDING.

    Operating System Version:
    Linux
    Version #1 SMP Sat Feb 25 16:26:29 EST 2012, Release 2.6.18-308.0.0.0.1.el5xen
    Node:
    Machine: x86_64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : unlimited unlimited
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    23,0-1 Top
    Process id: 7662
    Description:
    ** Running with the following parameters **
    2013-05-01 10:06:13 INFO OGG-03059 Operating system character set identified as UTF-8.
    2013-05-01 10:06:13 INFO OGG-02695 ANSI SQL parameter syntax is used for parameter parsing.
    replicat robey
    userid test12, password ********
    Source Context :
    SourceModule : [ggdb.ora.sess]
    SourceID : [*/aime1/adestore/views/aime1_*/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
    SourceFunction : [oci_try]
    SourceLine : [790]
    ThreadBacktrace : [18] elements
    : [*/*/OGGCOREMAINBACKTEST/libgglog.so(CMessageContext::AddThreadContext()+0x26) [0x2af5c09b67f6]]
    : [*/*/OGGCOREMAINBACKTEST/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x28f) [0x2af5c09ae90f]]
    : [/*/*/OGGCOREMAINBACKTEST/libgglog.so(_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC_SQL(CSourceContext*, int, char const*, char const*, char const*,
    CMessageFactory::MessageDisposition)+0x64) [0x2af5c09787d4]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::oci_try(int, char const*, ...)+0x3ee) [0x788aae]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(query_handle::exec_stmt(bool, int)+0x19a) [0x79664a]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::setTag(ggs::gglib::ggunicode::UString const&, bool)+0x25a) [0x787d5a]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::init_context(int, int)+0x410) [0x78f230]]
    : [/*/*/OGGCOREMAINBACKTEST/replicat(DBOCI_init_connection_logon(ggs::gglib::ggapp::CLoginName const&, ggs::gglib::ggapp::CDBObjName<(DBObjType)12>
    const&, char const*, int, int, int, char*)+0x136) [0x76c566]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x740479]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x746f91]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(odbc_param(char*, char*)+0x364) [0x74a5f4]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(get_infile_params(time_elt_def*, time_elt_def*, char**)+0x959f) [0x57af1f]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(replicat_main(int, char**)+0x152) [0x5de8c2]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain()+0x6f) [0x7249af]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0x127) [0x724d57]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(main+0x4a) [0x5dafba]]
    : [lib64/libc.so.6(__libc_start_main+0xf4) [0x3f4da1d994]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x4c70a9]]
    2013-05-01 10:06:13 ERROR OGG-00665 OCI Error executing single row select (status = 439-ORA-00439: feature not enabled: Streams Capture
    ORA-06512: at "SYS.DBMS_STREAMS", line 7
    ORA-06512: at line 1), SQL<BEGIN dbms_streams.set_tag(:1); END;>.
    2013-05-01 10:06:13 ERROR OGG-01668 PROCESS ABENDING.

Maybe you are looking for

  • Direct rule resolution in NW BPM process gateway

    Hi, I am currently reviewing BRM in the area of NW BPM and I am wondering whether it is possible to use a rule as expression in a Exclusive Choice Gateway in NW BPM process? Until today I have just seen tutorials where a rule has been used in a mappi

  • SLD in SAP BI 7.0---- pls Help

    Hello Gurus, Someone can explain me what is the System Landscape Directory !!! And, and.. we have SLD in our Development System, but not in Productiv System.. How can we transport this or insatll this !! What is the risks and the positive things for

  • Refresh Navigation with Appintegrator iViews

    I'm currently working on migrating our existing intranet (using Lotus Notes as a content management system) into SAP portal. I'm planning to use appintegrator iviews to render the site content. My biggest challenge appears to be to figure out how to

  • Error code 1 remote panel close connection

    Good Afternoon, i'am working with the web publishing tool utility of LabVIEW 8.6 to open vi files (front panels) remotely. I've programmed a server in LV that receives querys from a web server/client programmed appart (not in LV).  I got to open the

  • Automatic batch determination in MTO

    Hi, I want to configure the automatic batch determination for make to order deliveries to only take the batch in sales order stock not to take any batch in the stock. Thanks