Instant client AIX library search paths

If you use the AIX "dump -H" command against the various Instant Client libraries, you'll notice that some non-existant paths (from the original build) are included.
For example:
$ dump -H libclntsh.a
shows a library search path of:
/b/114/lib:/usr/lib:/lib
This can create security problems, particulary with set-uid programs which link against such libraries.
When you next build your AIX libraries, you may wish to use the "-bnolibpath" or perhaps an explicit "-blibpath" directive with the loader.
Just a thought. Thanks for providing the Instant Client.

Thanks for the report.
-- CJ

Similar Messages

  • Instant client on windows 2000, path problems

    I have successfully installed the client and all work fine. But from time to time for no apparent reason php script gives an error
    "Warning oci_connect (): OCIEnvNlsCreate () failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries."
    I checked the environment variables, they are correct.
    If you restart Apache, everything starts to work fine. What may be the problem?
    (sorry for my English, it's not my native language)

    I agree, but this is for the QA group and they generally test the app and access the DB using app only but now for some certain modules they want to check the data in the database but they dont know how to write SQL so they decided to use microsoft sql writer (I never used it :) ) and for that they want to setup odbc and for that they need client, so they are not going to use sqlplus and that why I just wanna install instant client on their desktops.
    Daljit Singh

  • Attempting to Run 'Instant Client' via XCode on Mac OS X (v10.4.6)

    Environment: OS X (10.4.6) on G4.
    The Setup:
    I used 'Oracle Instant Client Installer' {http://www.kyngchaos.com/} to install the necessary Oracle libraries here:
    [Users/oracle]ls /usr/local/oracle/lib
    libclntsh.10.1.dylib* libclntsh.so@ libnnz10.dylib@ libocci.dylib.10.1@ libocijdbc.dylib@
    libclntsh.dylib@ libnnz.10.dylib* libocci.10.1.dylib* libociei.dylib* libocijdbc10.dylib@
    libclntsh.dylib.10.1@ libnnz.dylib@ libocci.dylib@ libocijdbc.10.dylib*
    I've read that LD_LIBRARY_PATH is rather "archaic" for the Mac OS X vs a directory of dylibs accessable directly from XCode.
    2) I set the XCode 2.2.1 Library search Path as:
    USER_HEADER_SEARCH_PATHS = /usr/local/oracle/sdk/include
    LIBRARY_SEARCH_PATHS = /usr/local/oracle/lib
    ==============
    So my questions are:
    1) How do I find the available APIs?
    I've looked at an on-line example but don't know what I'm doing.
    I saw some source-code demo on-line so I essentially cut/pasted the following code.
    The following is what I've done within the NSApp's Delegate method:
    #include "/usr/local/oracle/sdk/include/oci.h"
    static OCIEnv *p_env;
    static OCIError *p_err;
    static OCISvcCtx *p_svc;
    static OCIStmt *p_sql;
    static OCIDefine p_dfn    = (OCIDefine ) 0;
    static OCIBind p_bnd    = (OCIBind ) 0;
    int p_bvi;
    char p_sli[20];
    int rc;
    char errbuf[100];
    int errcode;
    @implementation AppDelegate
    - (id)init {
         self = [super init];
         if (self) {
              rc = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0, // Initialize OCI
              (dvoid * (*)(dvoid *, size_t)) 0,
              (dvoid * (*)(dvoid *, dvoid *, size_t))0,
              (void (*)(dvoid *, dvoid *)) 0 );
              // Initialize environment
              rc = OCIEnvInit( (OCIEnv **) &p_env, OCI_DEFAULT, (size_t) 0, (dvoid **) 0 );
              // Initialize handles:
              rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_err, OCI_HTYPE_ERROR,
                             (size_t) 0, (dvoid **) 0);
              rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_svc, OCI_HTYPE_SVCCTX,
                             (size_t) 0, (dvoid **) 0);
         NSLog(@"{Appdelegate} Init.");
         return self;
    } // end init().
    ==============
    What I get is:
    test has exited due to signal 6 (SIGABRT).
    [Session started at 2006-05-20 16:01:28 -0700.]
    ZeroLink: unknown symbol '_OCIInitialize'
    2) Am I on the right track or what am I doing wrong?
    -- Oracle/OS X neopyte.
    Ric.

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • Instant client 10.2.0.3 used with ms sql linked server doesn't work

    Hi,
    instant client version 10.2.0.3 doesn't work as microsoft sql linked server (both 2000, 2005) while 10.2.0.1 does. (tested by overwriting files in instant client directory - basic instalation, then restart mssql services) - the message is, that the oracle client is not installed when running sql (registration of linked server is ok).
    Is it a known issue or is there any workaround?
    (Windows XP, 2003, MS SQL 2005, MS SQL 2000, Oracle 9.2.0.6)
    Thanks,
    Pavel

    I installed oracle-instantclient-basic-10.2.0.3-1.i386.rpm on a redhat box to
    connect oracle database server 9.2.0.8.0 install on win box.Is there any other Oracle software installed on the RedHat machine?
    In which directory did you install Instant Client?
    Can you login with sqlplus?
    On the database server, I defined parameters like this :
    NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    NLS_NUMERIC_CHARACTERS='. 'This will have no effect on your problem - these are client environment variables.
    Before starting apache (lampp) I set Oracle environement like this :
    export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    export NLS_NUMERIC_CHARACTERS='. '
    My application worked very fine.
    BUT a few days ago (1 week), in my application, the date format display wrong,
    I have this format : DD/MON/YYYY even with
    export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    before starting apache.The ancient question: Do you remember what you changed before it stopped working?
    So I stop my apache and try set Oracle environment like this :
    export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/clientAs has been said, do away with that.
    export PATH=$ORACLE_HOME/bin:$PATHYou don't need that either.
    Except is might be nice to have the directory that contains sqlplus in PATH.
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATHNow that surprises me.
    Normally, instant client shared libraries are not installed in a subdirectory.
    Does this "lib" directory exist?
    You should add the directory containing the *.so files to LD_LIBRARY_PATH.
    When I restart apache and test my application, an error php message occurs :
    Ocisessionbegin error while trying TO retrieve text FOR error ora-12705
    I check my oracle_home, I don't think I make a mistake?It seems that Oracle cannot find the instant client shared library libociei.so.
    This library must be found in LD_LIBRARY_PATH.
    In this context it would be interesting to know (as I asked above) if any other Oracle products are installed on this machine.
    Yours,
    Laurenz Albe

  • Information on ODAC11.2.0.3.0 with EF running under Instant Client

    Hi folks
    Does anyone know if this is doable? Running the latest ODAC with EF and deploying with Oracle Instant Client. I would appreciate any information or if anyone can point me in the right direction as to the 'how to'.
    cheers

    I installed oracle-instantclient-basic-10.2.0.3-1.i386.rpm on a redhat box to
    connect oracle database server 9.2.0.8.0 install on win box.Is there any other Oracle software installed on the RedHat machine?
    In which directory did you install Instant Client?
    Can you login with sqlplus?
    On the database server, I defined parameters like this :
    NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    NLS_NUMERIC_CHARACTERS='. 'This will have no effect on your problem - these are client environment variables.
    Before starting apache (lampp) I set Oracle environement like this :
    export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    export NLS_NUMERIC_CHARACTERS='. '
    My application worked very fine.
    BUT a few days ago (1 week), in my application, the date format display wrong,
    I have this format : DD/MON/YYYY even with
    export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
    before starting apache.The ancient question: Do you remember what you changed before it stopped working?
    So I stop my apache and try set Oracle environment like this :
    export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/clientAs has been said, do away with that.
    export PATH=$ORACLE_HOME/bin:$PATHYou don't need that either.
    Except is might be nice to have the directory that contains sqlplus in PATH.
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATHNow that surprises me.
    Normally, instant client shared libraries are not installed in a subdirectory.
    Does this "lib" directory exist?
    You should add the directory containing the *.so files to LD_LIBRARY_PATH.
    When I restart apache and test my application, an error php message occurs :
    Ocisessionbegin error while trying TO retrieve text FOR error ora-12705
    I check my oracle_home, I don't think I make a mistake?It seems that Oracle cannot find the instant client shared library libociei.so.
    This library must be found in LD_LIBRARY_PATH.
    In this context it would be interesting to know (as I asked above) if any other Oracle products are installed on this machine.
    Yours,
    Laurenz Albe

  • Instant Client 10.1.0.5 and ORA-12640 with External Authentication

    I am using v10.1.0.5 of Instant Client on Windows 32bit. I have hit bug 5114330 (ANO: ORA-12640 authentication adapter initialization fails if Operating System User does not have admin rights). This was fixed in patch 12 of 10.1.0.5. I copied the updated files from patch 28 that related to the instant client files and I am still hitting the same problem. How do I patch my instant client install to overcome this bug? Using v10.2 of instant client is not an option as it is not compatible with our application.
    Kind regards,
    Steve

    I guess that if you know what you are doing, that approach should work fine; the "standard procedures" are there to guide people who have little experience and to provide a cookbook for how to do it.
    I am not sure about version 10.1, but in Instant Client 10.2 everything except for the Instant Client shared library (in 10.1 that is oraociei10.dll) is the same as the regular client. The Instant Client shared library contains messages and similar, so probably has no influence on a code bug as you experience it.
    What I would do in your case is to install the regular client on a test machine, apply the patch there and see if the problem is fixed there.
    If not, you have a better case for Oracle support, because they understand the regular client much better.
    If it works there, replace the Instant Client shared libraries with the files from the regular client and see if it works.
    In the case that the error persists, I guess there's no way around a Service Request, because nobody except for Oracle can look into the code.
    Yours,
    Laurenz Albe

  • Win7 x64 - how to configure 32-bit Instant Client

    I am having difficulty getting Instant Client to establish an ODBC link to Excel 2007, a 32-bit app.  My OS is Windows 7 Professional x64 on a Windows 2008 domain.
    I installed Oracle 11g Client 64-bit (11.2.0.3.0), Instant Client Basic 64bit, and Instant Client ODBC 64bit.  Path and TNSNAMES parameters were set correctly, and I was able to use Windows Admin Tools to successfully establish a connection to PowerSchool's Oracle database.  So far, so good.
    When I tried to use this connection in Excel 2007, I got an error message stating that "the specified DSN contains an architecture mismatch between the Driver and Application."  More research led me to conclude that I need to install 32-bit Instant Client Basic and ODBC.
    So I downloaded the appropriate versions of both of these, installed it into c:\ora\<username>\product\11.2.0\client32 (a sibling to the 64-bit client_2 folder), and now I'm stumped.  Running windows\sysWOW64\odbcad2.exe, I see what I think is the 64-bit client, which gives an error message about incompatible architecture (again, 64 vs 32 bit).
    What parameters need to be set with odbcad2.exe, and how?  Do I need to run the odbcconf.exe program in sysWOW64?  I tried adding the ...\client32 folder to PATH; no effect.  Is this described in excruciating detail anywhere?

    Ferdimar,
    This problem sounds like the server is incorrectly configured. You can try verifying that it is setup correctly for the TNS listener.

  • Instant client libraries 32-11.1.0.6.0

    I install Oracle 11g (windows 32 bit platform) on windows 2003. It installed successfully and is up.
    From another windows 2003 machine, I am trying to connect from a windows application to that oracle server using instant client libraires.
    I had downloaded instantclient-basic-win32-11.1.0.6.0 for windows. I also downloaded instantclient-odbc-win32-11.1.0.6.0.zip
    to the same location say C:\instantclient. Also I installed odbc_instant.exe from this folder. It said "ODBC installed successfully".
    and added this path (C:\instantclient) to path variable. I set this path for TNS_Admin also in system environment.
    When I try to install my application, when I select oracle connectivity, I had to give path for odbc drivers.
    I selected this path "c:\instantclient" for oracle client libraries where I had downloaded the client libraires.
    It gives error "Could not find required ORACLE Instant Client Libraries in the path specified"
    Please help how to get these client libraries to connect to the oracle db server 11g.
    thanks in advance,
    Prema S

    I would recommend two things.
    1. Open an SR and ask support where to find what you are looking for.
    2. Move your company to 64bit because 32bit is a terminally ill and the respirator will be removed very soon.

  • AIX 64-Bit Instant Client

    Why does the instant client download only include libclntsh.a and libocci.a for the Client Code Library and the OCCI Library respectively? Where are the .so dynanimc link libraries with the instant client? I see those with the full Oracle install in the $ORACLE_HOME/lib directory on AIX 64-Bit.
    Does that mean that to build instant client compatible apps, I can only statically link libclntsh.a and libocci.a? I'm a little confused since the documentation suggests otherwise.

    That one is easy, and I will explain it in a second.
    What really is mysterious is that "polittba" gets an error on "ar -t libclntsh.a", but that may be due to a corrupted file...
    For what it is worth, libclntsh.a from 10.2.0.4 yields the following checksum:
    $ cksum libclntsh.a
    1526887592 24719097 libclntsh.a
    To your problem: The error message is misleading. "ldd" can find libc.a fine, the "Cannot find" is an incomplete error message for a different library that "ldd" cannot find.
    Very annoying, and I would say that this is a bug in AIX' implementation of "ldd".
    The "Cannot find" is actually because it cannot find libclntsh.a
    See for yourself: if you set LIBPATH correctly to point to your instant client directory, you get:
    $ LIBPATH=/wherever/instantclient_10_2 ldd libociei.so
    libociei.so needs:
    /wherever/instantclient_10_2/libclntsh.a(shr.o)
    /usr/lib/libc.a(shr_64.o)
    /usr/lib/libpthreads.a(shr_xpg5_64.o)
    /usr/lib/libdl.a(shr_64.o)
    /usr/lib/libodm.a(shr_64.o)
    /usr/lib/libperfstat.a(shr_64.o)
    /unix
    /usr/lib/libcrypt.a(shr_64.o)
    /usr/lib/libcfg.a(shr_64.o)
    /usr/lib/liblvm.a(shr_64.o)
    Yours,
    Laurenz Albe
    PS: I just notice that Instant Client 10.2.0.4 for AIX ships with both libclntsh.a and libclntsh.so.
    That is a bit confusing because - as I said some postings above - the former is a shared library.
    But then what is libclntsh.so?
    "file" will tell you it is a shared object.
    Now look:
    $ ar -t libclntsh.a
    shr.o
    Ah, this shared library contains exactly one shared object. Let's extract it:
    $ ar -x libclntsh.a shr.o
    Now compare shr.o and libclntsh.so:
    $ ls -l shr.o libclntsh.so
    -rwxrwxr-x 1 laurenz staff 24140392 May 10 20:36 libclntsh.so
    -rwxrwxr-x 1 laurenz staff 24140392 Oct 24 08:59 shr.o
    $ cksum shr.o libclntsh.so
    1406909702 24140392 shr.o
    1406909702 24140392 libclntsh.so
    They are the same!
    So Oracle ships the same thing twice: once as shared library AIX style (*.a) and once as shared object.
    I assume that this is to cater to those people who come from other UNIXen and look for *.so as a shared library.
    Or ported tools that do the same.
    You can use both the shared library *.a and the shared object *.so for dynamic linking.
    The linker "ld" will search for both if you pass "-lclntsh" and will take the first one it finds.
    If both are in the same directory, "ld" will use the *.a library, but you can change that preference with the "-brtl" flag.
    Sorry for the long rant that probably is not interesting to most, but I feel that there is much misunderstanding of shared libraries on AIX amoung people who come from - say - Linux.
    And one more attempt to clear that up can't hurt.

  • Registering Instant Client path

    To install Instant Client in my windows2000 server PC I followed these instruction steps:
    1. I have downloaded Instant Client Basic
    2. unzipped files to c:\Ora_instacli directory. The files in this directory are two .jar files and some .dll files
    Step 3 says " Set the library loading path in your environment to the directory in Step 2". What are the correct steps to do this?
    I have a directory c:\program files\oracle with Inventory,jre and oui folders inside it, installed sometime ago. Must I delete it?. I deleted c:\OraHome1 and changed the registry entries pointed to this to point to Ora_instacli.

    We have a system which uses OCCI to connect to a
    database. The database connection is optional for the
    system. As it is an optional module, we didn't want
    our clients to install something on their OS which is
    only needed by our system. Therefore, we thought that
    distributing the occi instant client would be a good
    solution. We deliver the libraries which are provided
    by the instant client along with our application. The
    libraries and the executable are in the same
    directory so that the application can access those
    dlls. This is sufficient if there is no oracle client
    installed on the system.
    But if there is already an oracle client
    installation, things get somehow mixed. I found out
    that even if I uninstall the existing oracle client,
    there will be some registry entries used.
    This is why I asked for the possibility to use the
    instant client parallel to the existing installation.
    If you could provide me the things to be considered,
    that would be really great.I see. I'll try to compile a list of problems we encountered and things to consider, but it might not be a complete list and I take no responsibility :^)
    The following assumes that we are on Windows.
    - Make sure that only one client is in the PATH environment variable. There is a bug (fixed, I think, in 10.2.0.3) that may cause a mix of shared libraries from both clients to be loaded if both are in the PATH.
    - If you want to run the instant client, make sure that no Oracle environment variables are set except for TNS_ADMIN and maybe LDAP_ADMIN or any of the NLS_* variables. Do not set ORACLE_HOME, ORACLE_SID and the like.
    - Make sure there is no "oracle.key" file in your Instant Client directory.
    In your case, you could modify the environment before you start Oracle Instant Client and make sure that PATH does not include another Oracle client.
    Yours,
    Laurenz Albe

  • When Instant Client for AIX 5L 32 and HP-UX PA-RISC 32 are released?

    Does anyone know when Instant Client for AIX 5L 32 might be release?
    and also, Instant Client for HP-UX PA-RISC 32 ?

    There isn't much to check. This is the Instant Client and it was downloaded specifically for the 32-bit PA-RISC platform. The "documentation" simply says I should set the "LD_LIBRARY_PATH" environment variable to include the directory where I unzipped the files. It is obviously looking at the libraries when I load my application, otherwise I would get a different type of error message along the lines of "missing Oracle client". FYI, This is not one of the newer 8x00 chips which support 64-bit addressing, but that is the point of the 32-bit option. I assumed this was compiled for my platform (which more specifically is an HP PA-RISC 7300LC 160MHz processor with 768MB RAM). I know this isn't the most modern box, but I would like to have a simple lab environment for my ERP application and save the hassle and additional expense of aquiring a 64-bit compatible workstation. I figure what I have works well with my application, and there is no 9i 32-bit client...so why not try the 10g Instant Client which should be backwards compatible with my database. BTW, the database is not running on this box, it's on a remote server which does support 64-bit and happens to be running Oracle 9.2.0.4.

  • TNS_ADMIN (path to tnsnames.ora) using Instant Client IGNORED

    Hi,
    I developed a simple utility which uses OCCI LIB from 10g release. I'm deploying it with Oracle Instant Client lite libraries.
    Everything works fine when tnsnames.ora is present in the same dir. When I move it somewhere else and set TNS_ADMIN to that directory, it doesn't work anymore:
    C:\uplob>set TNS_ADMIN=c:\tns;
    C:\uplob>echo %tns_admin%
    c:\tns;
    C:\uplob>uplob u/p@xe 15 input.dat
    Exception:12154 ORA-12154: TNS:could not resolve the connect identifier specif
    ied
    This seems very simple, but I still cannot determine why TNS_ADMIN is not being taken into account.
    Thank you for any help with this issue,
    david

    I think for Windows ,
    You may have to set this in MY-COMPUTER-->Advanced-Env-Variables
    and reboot to take effect.
    rgds

  • Segment violation in instant client library

    Hi,
    I have the following problem:
    A Jboss/Java application accesses a database over JDBC. We use the OCI driver and Instant Client 10.2.0.1 connected to a two node Oracle RAC.
    After several days continuous operation this application crashes with a segment violation, either in libclntsh.so.10.1 or in libocijdbc10.so.
    In the mean time the RSS of the process has grown from about 1 GB to 2.5 to 2.7 GB but all Java heap space (and other allocations) are clearly within their set boundaries.
    Does anybody now if there is a memory leak in the native code in instant client or elsewhere?
    Operating system is Red Hat ES 3, Instant Client is version 10.2.0.1 and Java's version is 1.5.0_06.
    regards
    Börje Jonsson

    Hi,
    There is something log or trace erros files that was
    generated ?
    CheersI have trace files from two appservers, the first one here:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x650327ec, pid=2793, tid=1714793392
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # C [libclntsh.so.10.1+0x4db7ec] nlolgserv+0x1a0
    --------------- T H R E A D ---------------
    Current thread (0x675321a8): JavaThread "http-0.0.0.0-8080-36" daemon [_thread_in_native, id=3243]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
    Registers:
    EAX=0x00000000, EBX=0x658e06c4, ECX=0xffffffff, EDX=0x4ca53ac0
    ESP=0x66352668, EBP=0x663527a8, ESI=0xbee1e408, EDI=0x00000000
    EIP=0x650327ec, CR2=0x00000000, EFLAGS=0x00210246
    Top of Stack: (sp=0x66352668)
    0x66352668: 6172736d 00000063 00000001 658e06c4
    0x66352678: 6635274c 65590000 08400000 6635005a
    0x66352688: 00000000 00000000 658e06c4 00000000
    0x66352698: 6580a16c 09289560 00000000 0000005a
    0x663526a8: bbec9fc0 bd687b54 66352f64 be0e5ca8
    0x663526b8: 658e06c4 66352708 b75d7baa 00000081
    0x663526c8: 69979527 66352b9c 658e06c4 69978ccd
    0x663526d8: be047c96 bbeeedd1 00000001 650dec84
    Instructions: (pc=0x650327ec)
    0x650327dc: 4d d8 89 45 c4 8b 11 8b f8 b9 ff ff ff ff 33 c0
    0x650327ec: f2 ae 83 c7 ff 8a 02 83 c2 01 88 07 83 c7 01 84
    Stack: [0x6633a000,0x6635b000), sp=0x66352668, free space=97k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libclntsh.so.10.1+0x4db7ec] nlolgserv+0x1a0
    C [libclntsh.so.10.1+0x4dbf2c] nlolgobj+0x552
    C [libclntsh.so.10.1+0x3d3cf0] nnfun2a+0x17c
    C [libclntsh.so.10.1+0x3d38e4] nnfsn2a+0x66
    C [libclntsh.so.10.1+0x413b39] niqname+0x16f
    C [libclntsh.so.10.1+0x340340] kwfnran+0x554
    C [libclntsh.so.10.1+0x3090a4] kwfcinit+0xfe
    C [libclntsh.so.10.1+0x16d0ee] kpuatch+0x7e0
    C [libclntsh.so.10.1+0x286d09] OCIServerAttach+0x81
    C [libocijdbc10.so+0x5a30]
    C [libocijdbc10.so+0x7270] Java_oracle_jdbc_driver_T2CConnection_t2cLogon+0x17c
    C [libocijdbc10.so+0x70c1] Java_oracle_jdbc_driver_T2CConnection_t2cCreateState+0x13f
    j oracle.jdbc.driver.T2CConnection.t2cCreateState([BI[BI[BI[BISI[S[B[B)I+0
    ... a lot more rows ...
    And the second one:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x683a5e57, pid=23266, tid=1699470256
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # C [libocijdbc10.so+0x11e57]
    --------------- T H R E A D ---------------
    Current thread (0x5c2eddf0): JavaThread "http-0.0.0.0-8080-68" daemon [_thread_in_native, id=7837]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
    Registers:
    EAX=0x00000000, EBX=0x683ae67c, ECX=0x0000000c, EDX=0x0000000c
    ESP=0x654bb158, EBP=0x654bb200, ESI=0x683ad210, EDI=0x0000166c
    EIP=0x683a5e57, CR2=0x00000000, EFLAGS=0x00210206
    Top of Stack: (sp=0x654bb158)
    0x654bb158: 00000000 683ae67c 683a5d47 00000000
    0x654bb168: 00000000 0000000c 683a3060 00000000
    0x654bb178: 00000000 0000000c 654bb190 5e739f5c
    0x654bb188: 5e739f60 5e739f60 b704f488 5e739f5c
    0x654bb198: 683ae67c 247fd514 0000000a 0076f4c4
    0x654bb1a8: 0098b380 00000003 5655d348 00000014
    0x654bb1b8: 00000028 b6d24772 0000166c 0000000c
    0x654bb1c8: 654bb258 b6d1d088 0000000a ffffffff
    Instructions: (pc=0x683a5e57)
    0x683a5e47: dc 89 42 e0 89 42 e4 89 42 e8 89 42 ec 89 42 f0
    0x683a5e57: 89 42 f4 89 42 f8 89 42 fc 8b 44 24 0c 5e 5b c3
    Stack: [0x6549d000,0x654be000), sp=0x654bb158, free space=120k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libocijdbc10.so+0x11e57]
    C [libocijdbc10.so+0xe29a] Java_oracle_jdbc_driver_T2CStatement_t2cDefineFetch+0x90
    j oracle.jdbc.driver.T2CStatement.t2cDefineFetch(JI[S[BII[Loracle/jdbc/driver/Accessor;[BI[CI[SI[J)I+0
    ... a lot more rows ...

  • What OCCI library to link to for debug mode in Instant Client 11.2.0.4?

    In the manual on OCCI it says that
    Applications that link to MSVCRTD.DLL, a debug version of Microsoft C-Runtime, /MDd compiler flag, should link with these specific OCCI libraries:oraocci11d.lib and oraocci11d.dll.
    However, Instant Client SDK version 11.2.0.4 does not contain either oraocci11d.lib or oraocci11d.dll, but only oraocci11.lib and oraocci11.dll. So what should I do to be able to run an OCCI application in Visual Studio in debug mode?
    Thanks,
    Rikke

    If I remember correctly, you may need to install the full Oracle client.

  • Windows 7 64 Bit machine with Instant Client and 32Bit application

    Hello everybody,
    the last days a tried to get a 32Bit application to run on a Windows 7 SP1 64 Bit machine ... unfortunately with no success. The application runs on XP Pro and Vista Pro 32 Bit machines against a 11g RDBMS for years. As a refenence we use SQLTools from sqltools.net. It has nearly the same behaviour like the application, because it is a 32 bit application too.
    First thing was to install a 64 bit environement to verify if the connection is allright.
    - Downloaded instantclient-basic-windows.x64-11.2.0.2.0.zip an instantclient-sqlplus-windows.x64-11.2.0.2.0.zip
    - Unpacked both packages into C:\oracle so that they reside in C:\oracle\instantclient_11_2
    - Made a directory C:\oracle\tnsnames with tnsnames.ora in it, because the app uses it
    - Set the environement variables TNS_ADMIN to point to C:\oracle\tnsnames and added C:\oracle\instantclient_11_2 in front of the path variable
    - Restarted the machine
    - Opened a commnd shell and startet sqlplus user/password@sid
    Everything was allright, I was able to connect to the database as expected
    Second thing was to start SQLTools, but as I feard it quitted with an error message when trying to access oci.dll of the instant client.
    So i decided to switch to a 32 bit environement as a third thing.
    - Downloaded instantclient-basiclite-nt-11.2.0.2.0.zip and instantclient-sqlplus-nt-11.2.0.2.0.zip
    - Deleted the old C:\oracle\instantclient_11_2
    - Unpacked both 32 bit packages into C:\oracle so that they reside in C:\oracle\instantclient_11_2
    - Didn't change anything in the environement, because nothing changed from the view of the system
    - Opened a commnd shell and startet sqlplus user/password@sid
    But now I wasn't able to connect and got the following error
    ORA-28547: connection to server failed, probable Oracle Net admin error
    SQLPlus was able to start now, but when trying to connect to the database I got the same error like when connecting with sqlplus.
    Does anybopdy have an idea how to manage to get a 32 bit application to run on a Windows 7 64 Bit machine?
    Thanks in advance
    My packages:
    Windows 7 64 bit SP1
    Oracle Instant Client basic lite 11.2.0.2.0
    SQLPlus 1.5 22D

    Have you tried WOW64 ? I have not used this emulator for sqlplus but it works for other 32 bit applications.
    http://msdn.microsoft.com/en-us/library/aa384249%28v=VS.85%29.aspx
    Thanks

Maybe you are looking for

  • IPhoto 11 file structure

    I had my laptop stolen recently and have my iPhoto library backed up using Carbonite. I have been trying to restore it from Carbonite, however, at the rate it is restoring it will take months to restore. I have a locally backed up version of my iPhot

  • GTK Theme :: X-Forwarding :: gnome-settings-daemon

    Just wondering if anyone else has come across an error like this.  Every GTK application I run using X-Forwarding looks really bad (small fonts, old boxy gnome 2.0 theme).  When I attempt to start gnome-appearance properties (also over ssh, as there

  • Regarding item header printing in the  script

    HI,   i am working on Goods issue script. In my script there 2 pages. For printing the header for items i have taken a new window from the second page onwards.The item header is printing in all the pages from the second pages onwards. But if there is

  • Symbol __mt_MasterFunction_: referenced symbol not found

    I am trying to build a matlab s-function using Sun Studio 10 compilers. The program compiles but when I try to load it into matlab I get ??? Invalid MEX-file '/export/ford/sl0473/u/jmccall4/+Work/GMP_data/Release_tests_6/gmp_cf_4_state_gui_redo/gmp_4

  • Tree label editable

    hi, i would like to edit the labels in the tree... i put menu on the left side of the node, and when i choose edit, i make the tree editable, but it focuses on the first node, not on the selecteditem, can anyone felp me on this? tnx..