Imp Exp utility in ubuntu 10.4 with oracle instant client 10

Hi,
I have a problem with the imp/exp utility on Ubuntu 10.4.
I have installed the oracle instant client 10, and I have followed this thread
[http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/impexp.htm#CHDDBGDF]
So, I've set env variable in my .bashrc
ORACLE_HOME=/home/lucia/Programmi/instantclient10_1
export ORACLE_HOME
LD_LIBRARY_PATH=/home/lucia/Programmi/instantclient10_1:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
PATH=/home/lucia/Programmi/instantclient10_1:${PATH}
export PATH
SQLPATH=/home/lucia/Programmi/instantclient10_1:${SQLPATH}
export SQLPATH
Sqlplus works fine, but when I try to use the utility exp/imp
exp DB_USER/DB_PW@DB_SCHEMA owner=DB_USER buffer=300000 LOG=DB_USER.log FILE=DB_USER.dmp compress=n
I have the following error:
No command 'exp' found, did you mean:
Command 'xep' from package 'pvm-examples' (universe)
Command 'ex' from package 'vim' (main)
Command 'ex' from package 'nvi' (universe)
Command 'ex' from package 'vim-nox' (universe)
Command 'ex' from package 'vim-gnome' (main)
Command 'ex' from package 'vim-tiny' (main)
Command 'ex' from package 'vim-gtk' (universe)
Command 'axp' from package 'axp' (universe)
Command 'expr' from package 'coreutils' (main)
Command 'expn' from package 'sendmail-base' (universe)
Command 'epp' from package 'e16' (universe)
exp: command not found
(I cannot use data pump exp)
Any suggestions?
thanks in advance.
Lucia

root@laptop:~# /tmp/CVU_11.2.0.1.0_lucia/runfixup.sh
Response file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.response
Enable file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.enable
Log file location: /tmp/CVU_11.2.0.1.0_lucia/orarun.log
[: 845: true: unexpected operator
[: 860: unexpected operator
Any suggestions?
thanks
LuciaHello,
I had the same problem. It was related to the shell script interpreter being used: it is really a bash script asking to be interpreted as sh. For the impatient, the solution was to change the first line of the script orarun.sh to read as:
#!/bin/bash
Explanation:
1. The script runfixup.sh calls orarun.sh. The latter is the one that fails starting at line 845.
2. The script is really a bash script as can be seen from the if syntax used. For example at line 191 we see the double equall sign ==:
if [ "`echo $SET_KERNEL_PARAMETERS | tr A-Z a-z`" == "true" ]
3. The bash man page says:
string1 == string2
string1 = string2
True if the strings are equal. = should be used with the test command for POSIX conformance.
string1 != string2
True if the strings are not equal.
(End of man page excerpt)
Notice in particular that for a bash script to be POSIX it should avoid the == and just use =
4. orarun.sh has on its first line #!/bin/sh. On my Ubuntu system, sh is a softlink to dash and the dash man page says:
s1 = s2 True if the strings s1 and s2 are identical.
s1 != s2 True if the strings s1 and s2 are not identical.
5. So this script script uses bash syntax but is interpreted by dash. It is possible that this worked fine for the Oracle developer if on their system sh was softlinked to bash (which is often the case). Apparently, one should then be very careful to not use idioms that are not POSIX compliant.
6. Another solution is to change the /bin/sh softlink from dash to bash. Personally, I was less comfortable doing this (the possible repercussions were wider than the proposed solution above).
After making the change, the script ran perfectly. I think the best solution is for Oracle to update the script to be POSIX compliant or to identify itself as bash.
Hope that helped,
Mark Gaber
Edited by: user1112514 on Jun 30, 2010 3:28 AM

Similar Messages

  • TOAD 8.5 with Oracle Instant Client 10: ORA-03134

    Hi,
    I have tried TOAD 8.5.0.50 and also TOra 1.3.16 to connect to the database via Oracle Instant Client 10, but I am restricted with this error message:
    "ORA-03134: Connections to this server version are no longer supported."
    Does anyone have any idea what is wrong? Earlier version of TOAD works alright. We are using Oracle 8i. Are there any compatibility issues between Oracle database version with Oracle Instant Client version?
    Thanks.

    Just want to share with everyone. This is a reply that I got from another forum:
    this is a oracle bug!
    connections with the 10g client are supported to 8.1.7.0 and above.
    the bug in the client causes this error.
    you are only able to connect to 8.1.7.4 and above.
    i made a service request but oracle is not able to patch the
    instant client.
    you have to use 10.1.0.3 client or above
    Regards.

  • Error Compiling php 5.1.6 with Oracle Instant Client 10.1.0.5 on Fedora 5

    Hello
    I have Oracle 10.1.0 enterprise database installed on a Windows 2003 server.
    I have another machine that has Fedora Core 5 installed on it. I downloaded:
    Apache 2.2.3
    Php 5.1.6
    OracleInstantClient 10.1.0.5 (base and skdk packages) from technet.oracle.com
    I created a directory called /usr/lib/instantclient10_1 in which I unzipped
    the files for the Oracle Instant Client and the SDK into /usr/lib/instantclient10_1.
    So inside /usr/lib/instantclient10_1 I have:
    all the unzipped filed from the base for the instant client as well as
    a directory called sdk with files inside this subdirectory.
    I compiled and installed Apache.
    I then tried to configure php using the instantclient with the configure option
    --with-oci8=instantclient/usr/lib/instantclient10_1
    The first time I did this I got the error: "link from
    /usr/lib/instantclient10_1/libclntsh.so to libclntsh.so.10
    not found"
    Well I had the libclntsh.so.10 but no such link. So I did the following:
    ln -s libclntsh.so.10.1 libclntsh.so
    I assume this was OK to do but I found it strange that I had to do this.
    Question #1 - why should I have to do this?
    I then tried to configure php again but got an error that I paste in from
    the debug.log. From this debug log you can see the configure options I gave for
    php as well as the error. It says "cannot find -lirc". Now I did put into
    /etc/ld.so.conf the line /usr/lib/gaim since that is where libirc.so is and ran
    ldconfig but it still complained. When I copied libirc.so into /usr/lib it then said there were
    lots of errors in that libirc.so. The only item in the configure options depending on lirc is
    the with-oci8.  Why does with-oci8 depend on lirc?
    I also tried the above on Red Hat AS 4.0 and got the same errors.
    Question #2 -- what do I do?
    Thank You
    Gail Lange
    Here is the debug.log in the case when libirc.so is just in /usr/lib/gaim:
    CONFIGURE: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-track-vars'
    '--enable-inline-optimization' '--with-gd' '--with-zlib' '--enable-debug'
    '--with-oci8=instantclient,/usr/lib/instantclient10_1' '--enable-sigchild'
    CC: gcc
    CFLAGS: -I/usr/include -g -O2
    CPPFLAGS:
    CXX:
    CXXFLAGS:
    INCLUDES: -I/usr/include/libxml2 -I/home/gail/php/php-5.1.6/ext/date/lib
    -I/usr/lib/instantclient10_1/sdk/include
    LDFLAGS: -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1 -L/usr/lib/instantclient10_1
    LIBS: -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl
    -lirc -lclntsh -lxml2 -lz -lm
    DLIBS:
    SAPI: apache2handler
    PHP_RPATHS: /usr/lib/instantclient10_1
    uname -a: Linux localhost.localdomain 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006
    i686 i686 i386 GNU/Linux
    gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1
    -L/usr/lib/instantclient10_1 conftest.c -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm
    -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm 1>&5
    conftest.c: In function 'main':
    conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'
    /usr/bin/ld: cannot find -lirc
    collect2: ld returned 1 exit status
    Thanks

    To be perfectly honest, I'm not sure. Everything I could find on it had to do with IRC or some kind of remote control thing (for controlling audio/media players). Maybe if Ivan stops by he'll know what it means... he knows quite a lot about the inner workings of many of these libraries.
    http://us3.php.net/install.unix was the most useful info I could find.
    There's also this thread:
    Cannot find ld -lirc PHP Linux
    ~Jer

  • ORA-01816 when running with Oracle Instant Client

    good morning
    we are running the same SQL script on 2 computers.
    - native system with DB
    - via Oracle Instant client
    when running via the instant client i get the following error.
    ( select to_char(to_date('1970-01-01') + "DATE" / 86400000, 'YYYY-MM-DD') "CD", logical_name
    ERROR at line 2:
    ORA-01861: literal does not match format string
    thanks for any hint

    It probably works on one and not the other because you have set the NLS_DATE_FORMAT for one system to match the format of the string you are passing in, so Oracle knows how to do the implicit conversion.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Toad with Oracle Instant Client 10.2.0.1.0(not able to locate tnsnames.ora

    Hi,
    I have both Oracle Client 9.2 and Instant Client 10.2.0.1.0 on my laptop. How to make Toad 8.5.1 locate tnsnames.ora file for instant client.
    When I open Toad, and selects "Instant Client 10.2.0.1.0" as installed client, it shows the error message "tnsnames.ora not found!"
    Below is the setting:
    Instant Client - 10.2.0.1.0
    ORACLE_HOME_NAME: C:\Program Files\PHP\
    ORACLE_HOME: C:\Program Files\PHP\
    ORACLE_SID:
    NLS_LANG:
    SQLPATH:
    LOCAL:
    C:\Program Files\PHP\ exists.
    C:\Program Files\PHP\ is in PATH.
    Client DLL: C:\Program Files\PHP\oci.dll
    Client Version: 10.2.0.1.0
    Home is valid.
    Thanks
    Ashutosh

    Sal, your comment is pretty irrelevant to the question :^)
    user570251, since you are restricted to using Windows, it will not be easy for you to use two different Oracle clients on the same machine.
    Basically, you'll have to change TNS_ADMIN whenever you want to change between clients.
    Why do you need two client versions on your computer?
    Yours,
    Laurenz Albe

  • Can I use 9i imp/exp utility after installing 10g

    Hello, all:
    I have two database co-exist in one machine, one is 9i, another one is 10.2, which was just installed recently . Now I need to imp/exp the 9i database, I can't invoke 9i imp/exp utility anymore, even under 9i oracle_home, I can only get 10g's imp/exp screen comes up, can someone help me? Is there anyway that I can use both version of utility in the same machine?
    Thanks a lot in advance.
    wendy

    I can't invoke 9i imp/exp utility anymoreThat might be because the 10G_ORA_HOME\BIN appears first in your PATH environment variable. Either put 9i_HOME\BIN first in your PATH or navigate to the BIN directory of 9i home and run the export/import from there.
    C:\>exp
    Export: Release 10.2.0.1.0 - Production on Wed Oct 25 09:31:50 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: ^C
    C:\>
    C:\>cd Oracle\ora92\bin
    C:\oracle\ora92\bin>exp
    Export: Release 9.2.0.7.0 - Production on Wed Oct 25 09:32:03 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Username: ^C
    C:\oracle\ora92\bin>

  • Install Oracle 9i client on a computer with Oracle 10g Client

    Hello all!!
    I'm using a computer with Oracle 10g client, and I access two databases. One server has Oracle 10g server, and the other server has Oracle 9i server.
    I want to install 9i client, to have it also in my computer. I haver read that I just have to install it in a different ORACLE_HOME, but I have a doubt.
    If I install 9i client, would I be able to use the utilities, (exp, expddp, sqlldr) of both versions, or which version will be used in the command line for the utilities.
    Thanks a lot!!!

    To start with, Home Selector is a "9i thing" (and older), in 10g there's the OUI -> Installed Products... -> Environment tab instead.
    About the 9i dbca with other Oracle products installed. If you use launch.exe to start via dbca start menu shortcut, it uses ora92\assistants\dbca as working directory ("start from"). So when not looking for "numbered dlls" like oracore9.dll, a later/different version will be loaded if earlier in path, since loading goes through jre directories, ora92\assistants\dbca, then the dir's from path variable. From there it may start to link in libraries from different homes (on my laptop, "launch.exe dbca" uses files from 2 additional home paths!)
    But, if you instead use dbca.bat started from ora92\bin, it will look in the right directories first and there's no dll mess-up. (But only when using the correct cwd!)
    Plain and simple: stay very far away from multiple-general-home installs. It is possible to install allright, in different homes and all very nicely, but there will be pain when you decide to use the stuff (perhaps with sql*plus as the only exception, but I've run into bugs with that too).
    Message was edited by:
    orafad

  • Using SQLDriverConnect with special characters in password fails, same info with ODBC (Oracle instant client) works fine

    Hi,
    on a windows 2008 machine that has the Oracle instant client 11_1 installed (11.01.00.06) i am calling SQLDriverConnect in the following way:
    std::string str = "Driver={Oracle in instantclient11_1};Dbq=//10.10.101.66:1521/orcl;;Uid=myUser;pwd=a;b";
    odbcRc = SQLDriverConnect(hdbc, NULL, (SQLTCHAR*)str.c_str(), str.size(), (SQLTCHAR*)szConnStrOut, 1024, &cbConnStrOut, SQL_DRIVER_NOPROMPT)) == SQL_ERROR);
    as long as the password contains no special chars (namely semicolon) it works fine. but when I try to use special chars in the password It stops working, with an invalid username/password error.
    State: 28000 Native error: 1017 Message: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    i tried different variations of adding " (\") over the password, over the entire pwd=a;b or braces { but nothing seems to work.
    the thing is that using ODBC works! what I did was:
    open ODBC, go to System DSN tab, add "Oracle in instantclient11_1", then fill the following information:
    Data source name: Anything
    TNS Service Name: //10.10.101.66:1521/orcl
    User ID: myUser
    then i press test connection, enter the password "a;b"
    and it works!
    I cannot figure out what's my problem.
    Thanks,
    Roy.

    I've created your test table in my Oracle database using this extra character and I'm able to describe it properly.
    SQL> desc test;
    Name Null? Type
    ATTIVITÀ VARCHAR2(40)
    My character set being used is:
    SQL> select * from v$nls_parameters;
    NLS_CHARACTERSET
    WE8ISO8859P15
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_LENGTH_SEMANTICS
    BYTE
    So as long as it doesn't work for you in your native Oracle database I don't think it would work with DG4ODBC. So yes, it would be best to log a service request so that the Oracle database support can check out the NLS issue.
    Edited by: kgronau on Sep 28, 2011 9:21 AM
    To be complete here the describe of the MySQL table native and using DG4ODBC:
    mysql> create table TEST (attività Varchar(40));
    Query OK, 0 rows affected (0.00 sec)
    mysql> desc TEST;
    ---------------------------------------------------+
    | Field | Type | Null | Key | Default | Extra |
    ---------------------------------------------------+
    | attività | varchar(40) | YES | | NULL | |
    ---------------------------------------------------+
    1 row in set (0.00 sec)
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Sep 28 09:20:17 2011
    SQL> desc "gateway"."TEST"@MYSQL_DG4ODBC_EMGTW_1122_DB;
    Name Null? Type
    attività VARCHAR2(80)
    So in general it should work.

  • Php 5.1.2 doesn't seem to recognize the --with-oci8-instant-client option

    I just tried configuring php 5.1.2 with the --with-oci8-instant-client option and could never get phpinfo() to show the oci8 section...
    Finally went back and tried php 5.1.1 and it worked.
    If anyone else could verify this behavior, maybe the PHP folks should be notified??

    Discovered the issue:
    the configure script changed the format of the config option
    in php 5.1.1:
    --with-oci8[=DIR] Include Oracle (OCI8) support using an ORACLE_HOME
    install. The default DIR is ORACLE_HOME
    --with-oci8-instant-client[=DIR]
    Include Oracle (OCI8) support using
    Oracle Instant Client. DIR is the directory with the
    Instant Client libraries. On Linux it will default to
    /usr/lib/oracle/<most_recent_version>/client/lib
    Other platforms will need to have it explicitly specified
    HOWEVER, in php 5.1.2:
    --with-oci8[=DIR] Include Oracle (OCI8) support.
    The default DIR is ORACLE_HOME.
    Use --with-oci8=instantclient,/path/to/oic/lib
    to use Oracle Instant Client installation
    This explains why the --with-oci8-instant-client option is ignored.  The new format is:
    --with-oci8=instantclient,/path/to/libs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • PLease help!! cannot make install php with oci8 instant client

    Cannot make install :
    Installing PHP SAPI module: cgi
    Installing PHP CGI into: /usr/local/bin/
    Installing PEAR environment: /usr/local/lib/php/
    ld.so.1: php: fatal: libnnz10.so: open failed: No such file or directory
    *** Error code 137
    The following command caused the error:
    /home/dmitriy/install/php-4.4.4/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir= -dsafe_mode=0 -dmemory_limit=-1 /home/dmitriy/install/php-4.4.4/pear/install-pear.php -d "/usr/local/lib/php" -b "/usr/local/bin" /home/dmitriy/install/php-4.4.4/pear/packages/*.tar
    make: Fatal error: Command failed for target `install-pear-packages'
    Current working directory /home/dmitriy/install/php-4.4.4
    *** Error code 1
    The following command caused the error:
    if /home/dmitriy/install/php-4.4.4/build/shtool mkdir -p /usr/local/lib/php; then \
    make -s install-pear-packages; \
    else \
    cat /home/dmitriy/install/php-4.4.4/pear/install-pear.txt; \
    exit 5; \
    fi
    make: Fatal error: Command failed for target `install-pear'
    LD_LIBRARY_PATH is set where i unziped oracle client instantclient
    debug.log
    CONFIGURE: './configure' '-with-oci8-instant-client=/home/dmitriy/instantclient_10_2'
    CC: gcc
    CFLAGS: -g -O2
    CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
    CXX:
    CXXFLAGS:
    INCLUDES: -I/home/dmitriy/instantclient_10_2/sdk/include
    LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/dmitriy/instantclient_10_2 -L/home/dmitr
    iy/instantclient_10_2
    LIBS: -lresolv -lm -lnsl -lsocket -lgcc -lclntsh
    DLIBS:
    SAPI: cgi
    PHP_RPATHS: /usr/ucblib /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 /home/dmitriy/instantclient_10_2
    uname -a: SunOS solaris 5.10 Generic_118855-33 i86pc i386 i86pc
    gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/d
    mitriy/instantclient_10_2 -L/home/dmitriy/instantclient_10_2 conftest.c -lresolv -lm -lnsl -lsocket -lgcc -lclntsh 1>&5
    ld.so.1: conftest: fatal: libnnz10.so: open failed: No such file or directory

    Please grab the "re-factored" oci8 code from http://pecl.php.net/package/oci8. The version of oci8 distributed with PHP 4 should be avoided. Replace the PHP 4.4 ext/oci8 directory completely with the new package, run buildconf --force and then configure/make etc.  Note the configure option for instant client has changed:
    --with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib
    -- cj

  • Problem with Oracle 9i client to access multiple oracle databases

    I am having problem setting up oracle client 9i to access multiple oracle db. When I finish installing Oracle 8.x client, I simply replace the tnsnames.ora that the installation created with the ones that I have. I can access three different databases. I only need to add three diffrent entries in the tnsnames.ora file. I cannot be able to do this with Oracle 9i client. I follow the instruction from the CD installation to use local naming method. It appears that Oracle client try to create multiple entries on my tnsnames.ora file but I can only be able to access one db.
    Any help is appreciated.
    Thanks! HD

    the old tnsnames.ora is working with Oracle 8 client. The new tnsnames.ora (if I use the Oracle Net config) have two entries, one is dev and the other is prod.
    Thanks!

  • How to access .dmp data with the Instant Client?

    I'm a total beginner, and am trying to access a .Dmp database. I have installed (on Linux i386):
    Instant Client Basic 11.2 + SDK + SQLPlus
    I'm aware that I have to further set the environment variables ORACLE_HOME and LD_LIBRARY_PATH, and think I know how it should be done.
    The files installed in the oracle directory are as follows:
    $ ls /usr/lib/oracle/11.2/client/lib
    glogin.sql libocci.so libsqlplusic.so ottclasses.zip
    libclntsh.so libocci.so.11.1 libsqlplus.so xstreams.jar
    libclntsh.so.11.1 libociei.so ojdbc5.jar
    libnnz11.so libocijdbc11.so ojdbc6.jar
    $ ls /usr/lib/oracle/11.2/client/bin
    adrci genezi sqlplus
    But this is where I hit the wall. Just a couple of questions:
    How do I make the Client to access the data? I've read a bit about name resolution such as tnsnames.ora and EZConnect, but have no idea what these are, even conceptually.
    How do I actually start/configure the Oracle client? Is there an executable somewhere?
    Can the .dmp file be even read by the client or do I have to use the SQLPlus to make queries (as I've read somewhere)?
    As you see I'm clueless. What are the next steps, or could you point me to a practical tutorial that would show what I need to do.
    Thanks a lot for any help..

    user9020180 wrote:
    Right,
    I browsed the manual, but I didn't understand whether the import utility part of the oracle database software?
    Are there any freely downloadable tools by which I can import the data (and then read with a client?).Everything in the Utilities manual is part of the database software set. If you have a database, you have all of those utilities. If you don't have a database, no third party equivalent to those utilities (if such existed) would be of any value.
    Depending on your database version, the .dmp file could have been created with either 'exp' (export) or 'expdp' (datapump). Unfortunately, by default both utilities produce a file with the .dmp extension, but they are different formats and not interchangeable. You will need to find out exactly how the .dmp file was created. Actually, you need to find out the entire command used to create it, not just which utility, because the options used at export time will affect what options are available and desirable at import time.

  • JVM Crash With Oracle OCI Client

    Hi
    My app is running on Windows 7 64 bit, Jboss 4.2, launched from Eclipse, and runs fine when I use the Oracle thin client (10g, 32bit). However when I try to use the OCI client, I get this:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d906f21, pid=4740, tid=5656
    # JRE version: 6.0_21-b07
    # Java VM: Java HotSpot(TM) Client VM (17.0-b17 interpreted mode windows-x86 )
    # Problematic frame:
    # V [jvm.dll+0x106f21]
    I'll post the contents of the log in another message because it's too long to fit here. Using the thin client is NOT an option unfortunately as the thin driver is missing some functionality that we need to use.
    I've installed the Oracle client in a folder that doesn't contain spaces, or parentheses (c:\oracle\.....) and the JDK is installed in a similar directory (c:\java\...)
    I've tried both 32bit and 64 bit versions of JDK1.6 and the Oracle 10g client. I have also tried mixed mode and interpreted mode JVM (Xint) with the same results.
    ojdbc14.jar is in my JBoss server's lib directory, and ocijdbc10.dll is in my path (c:\windows\system32).
    Anyone any ideas what's going wrong? Been trying to fix this for days now. Appreciate any help.
    Richard

    Sorted it (well, my colleague did anyway). We installed a fresh version (32 bit) JDK (6u21), the Oracle 10g (10.0.3) client (32 bit) and made sure that there were no other OCI DLLs anywhere. I had some in the JBoss bin directory which I had copied in earlier that morning and forgotten about. So, the only OCI DLLs I have now are in Oracle's installation directory. Once we removed those erroneous DLLs from the JBoss directory, the server made the connection successfully. I don't full understand why, because I was getting the error earlier without the erroneous DLLs being present too, so I think there was some additional interaction going on somewhere. One other thing that may have been important is the tnsnames.ora file I had. We found a post that said the tnsnames file generated by the installer, when it only has one entry in it, can include dodgy whitespace at the end which can cause problems. So, just to be on the safe side we added a second entry (to another DB) - maybe that was something to do with it.
    So, the Oracle 10g client and OCI driver DOES work on Windows 7 64 bit (at least for me anyway)

  • IPlanet 6.0 SP6 compatibility with Oracle 11g Client in Windows server 2003

    Hi All,
    We have issues with our classic ASP application when connecting to Oracle 11g. Our application Database is migrating from oracle 10g to oracle 11g, with oracle 10g we don't have any issues but we are facing issues with Oracle 11g database
    We are running iPlanet-WebServer-Enterprise/6.0SP6. And Chilisoft is Sun ONE ASP 4.0 (formerly known as Chili!Soft ASP) on windows 2003 machine for running ASP application.
    The connection we are trying is
    Provider=OraOLEDB.Oracle; Data Source=xxxx;User Id=xxx;Password=xxx;
    The error we are getting is "OraOLEDB error '80004005' "
    Question: Is iPlanet-WebServer-Enterprise/6.0SP6. And Chilisoft is Sun ONE ASP 4.0 is compatible with Oracle Client 11g in Windows 32 bit machine
    Appreciate your quick response
    Thanks,
    Murthy

    I have the same situation. Could you please share your experience if you resolve it? Thanks.

  • Problem with Oracle XE client (erreur 126 in ODBC driver)

    Hello
    When I want connect to the server with SQL (XE Client) I wrote :
    SQL> connect SYS
    password : *********
    ERROR
    ORA-12560: TNS: erreur d'adaptateur de protocole
    SQL>
    When I want to install ODBC Driver (Oracle in XEClient), the system return an error : "System error code 126"
    Whitch is the problem ?
    Please help me !
    Regards,
    Alexandre

    Hello,
    Thank you for your help,
    XE is installed on Linux Server (192.168.19.30) and is started
    XPClient is installed on Windows XP Client (192.168.19.100)
    I can connect to XE using http://192.168.19.30:8080/apex
    The problem is that I can't use ODBC driver
    In other hand, I can connect to the server in SQL command line, using :
    CONNECT SYSTEM/*******@192.168.19.30
    I saw in Oracle documentation that in Windows it's necessarie to use environnement variables to setup XEClient.
    Do you have any idea on how to configure client and ODBC driver ?
    Alexandre

Maybe you are looking for

  • P965 doesn't POST, power flicking on and off

    I have a P965, with an E6600, an Nvidia 8800 GTS(320mb), a OCZ GameXStream 600 watt psu, 2 GB of Patriot Extreme Performance RAM(DDR2 800). I haven't any real trouble with my computer for quite a while, but I recently got a new laptop and haven't use

  • YouTube says there is an "Authorization Error" when I try to get on the site with Firefox. Can I fix this?

    When I try to get onto YouTube, the site is completely white with the words "Authorization Error" in the top left corner. For a while, all I had to do was reload YouTube and it was fine. Now it just won't work at all. I have Internet Explorer on my c

  • Execute query not working  in CALL_FORM

    Hi, I am opening FormA from FormB, when clicking a button, and pass the values to Form B, by using the global variables, and assigned these values in the pre-query of Form B, When clicking button Form B is opening, but nothing displaying, I need to c

  • Dev and QA pointing to Same SLD

    Hi Experts, We have a situation in our landscape. Just want to confirm if it is right approach or will be face any issue in future. We have DEV and QA box of SAP PI in our landscape. (PRD under construction) 1. The DEV PI and QA PI are installed on t

  • Hi Please Suggest on this(DSO).

    Hi ALL,   I want to remove few objects from Key & Data Field in DSO .When i drag to remove it is not working. Please anyone can suggest on this Thanks & Regards Sameer Khan