OCIEnvCreate fails with -1 using Instant Client 10.2.0.1 on Windows XP

I have a working application (using the full Oracle install) and I'm trying to see if I can get it to work using the instant client. I installed the client, changed my path and rebooted. According to the instant client how to install - it should just work but then if everything worked like it was documented then lots of support folks wouldn't have jobs. The only parameter I'm setting is the OCI_THREADED flag. The database is on a different server - but that shouldn't matter I'm not getting that far. I am logged into an administrator account on the client box - so I'm not sure what else could be wrong. Also if anyone knows why we always seam to need administrator accounts that would be a great piece of info too.

It should work if you follow the instructions on the instant client page on OTN:
http://www.oracle.com/technology/tech/oci/instantclient/index.html
Are you able to connect to SQL Plus after setting up instant client ?

Similar Messages

  • Problem using instant client with Win 7

    Hi,
    I have a Powerbuilder application that runs very well with Win XP and Oracle client 8 to 10.
    With new computers (Win 7), we try to use instant client... but there are problems with accents ! In fact, all accents are replaced by a "¿" in the database.
    It only appears when we are using our programs from a Win 7 machine with instant client.
    Do you know if there is something to configure to solve this problem ?
    Best regards.

    user1931557 wrote:
    Hi,
    I have a Powerbuilder application that runs very well with Win XP and Oracle client 8 to 10.
    With new computers (Win 7), we try to use instant client... but there are problems with accents ! In fact, all accents are replaced by a "¿" in the database.
    It only appears when we are using our programs from a Win 7 machine with instant client.
    Do you know if there is something to configure to solve this problem ?
    Best regards.
    If the characters only appear on certain clients, then they are NOT being "replaced ... in the database".  What you are seeing is an issue with presentation, not data.

  • No way to publish a workflow, I get this error: System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.ScopeInactiveException: Scope ... is not in an active state. Its current state is 'Unregistering'

    Hi,
    I'm using Project Server 2013 and I'm not able to publish a workflow in SharePoint Designer 2013, I get this error:
    System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.ScopeInactiveException: Scope '/SharePoint/default/d7feb9ea-ccb2-4ec3-8f89-2a45b6cf3777' is not in an active state. Its current
    state is 'Unregistering'. HTTP headers received from the server - ActivityId: c47ef567-8c54-4ae0-9a1a-1e4fb51320d8. NodeId: TestServer. Scope: /SharePoint/default/d7feb9ea-ccb2-4ec3-8f89-2a45b6cf3777. Client ActivityId : c6e5979c-20f8-e042-1f9d-2cb2a25d7f9e.
    ---> System.Net.WebExceptio
    The thing is that I transferred the databases from a Prod.Env. to the Test Env. and from that moment on the Test Env. stopped working (only workflows), then I
    was thinking that maybe the workflow is not working in the Test Environment because when I transferred the databases from Prod Env to Test Env I didn’t transfer the databases related to workflow, I only transferred:
    WSS_Content
    PWA_ServiceDB
    But I didn’t transfer:
    SBGatewayDatabase
    SBManagementDB
    SBMessageContainer01
    WFInstanceManagementDB
    WFManagementDB
    WFResourceManagementDB
    I didn’t transfer them because, before, when I transferred DB’s in version 2010, these DB’s were not needed, as the workflows were done using another method.
    So, I tried to create a new workflow in the Test Env. but there is no way, I always get that error.
    I've tried to Register again the workflow, and the result looks ok, but it doesn't solve the problem:
    Register-SPWorkflowService
    –SPSite "http://whatever/PWA"
    –WorkflowHostUri "http://TestServer:12291"
    –AllowOAuthHttp -Force
    Do you know how to solve this issue or have an idea to give me some light?
    Thank you for your help and regards,
    José Espases

    Looks like you haven't defined the WF scope or the site where you are trying to deploy the workflow to isn't included in the scope
    Check this article
    http://fangdahai.blogspot.in/2013/04/on-premise-windows-workflow-server.html
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • OCIEnvCreate failed with return code -1

    Ciao a tutti, ho il seguente problema (purtroppo...):
    applicazione asp.net;
    utilizzo odp.net 9.2 per accedere a un db oracle 9i;
    sul server sono state installate in sequenza: oracle client 9, odp.net 10.2, disinstallate odp.net 10.2 e installate odp.net 9.2;
    Alla disinstallazione di odp.net 10.2 è comunque rimasta sotto la root oracle del file system una cartella odac\10.2.0 con le librerie di odp.net 10.2
    Dall'applicazione apro una connessione (utilizzando in modo estemporaneo) la classe OracleConnection di System.Data.OracleClient del framework 2.0
    Al momento dell'apertura mi dà il seguente errore:
    OCIEnvCreate failed with return code -1 but error message text was not available
    Qualcuno sa come fare ? Grazie. Ciao

    I think you deinstall some ..... it will be nice if you can put it in English ;-)
    Ming Man

  • MS SQLServer Linked Server using Instant Client?

    Does anyone have an example of setting up a linked server in SQLServer using instant client ODBC?

    user11273096 wrote:
    Hi All,
    PLease need help urgently....
    Have issue of connecting to a remote oracle server after following several tutorial online from step A-Z. http://www.dbatoolz.com/t/installing-oracle-instantclient-basic-and-instantclient-sqlplus-on-win32.html
    I am the DBA that installed the remote oracle too so every information are right.Either you are mistaken or Oracle is in error.
    I doubt Oracle mis-reports reality!
    >
    These are the errors: ORA-12154 or ORA-12560 TNS: protocol adapter error.ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.

  • Error: OCIEnvCreate failed with return code -1

    I am trying to run a 3rd party software that access Oracle. I have set up the ODBC connections and tested the connections. They tested successfully. But when I try and connect to Oracle using this tool I get the following error: OCIEnvCreate failed with return code -1. Any help would be greatly appreciated. Thanks

    792208 wrote:
    I am trying to run a 3rd party software that access Oracle. I have set up the ODBC connections and tested the connections. They tested successfully. But when I try and connect to Oracle using this tool I get the following error: OCIEnvCreate failed with return code -1. Any help would be greatly appreciated. Thanksif the connection request actually gets to the listener, then it will be logged.
    If no record exists within listener.log file, then the root cause & solution are external to Oracle.

  • Dehydration failed with error: Use introspectWLS12 command to introspect domains

    Hello Experts,
    I am trying to Introspect my Oracle weblogic server Locally to configure appliances on my assembly in Virtual Assembly Builder using command
    # ./abctl introspectWLS -wlsHome /home/punit/Oracle/Infra/wlserver -domainRoot /home/punit/Oracle/Infra/user_projects/domains/base_domain -adminUser weblogic
    but it is getting failed with error:
    Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger..
    Error:  OAB-7105: Introspection failed.
    Caused by: Dehydrate job failed.
    Caused by:  OAB-50008: Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger.
    later I replaced introspectWLS with introspectWLS12  but its throwing   Usage error: Command not found: introspectWLS12.
    Can somebody help me in finding the exact command for version 12.1.2 to by-pass this..
    FYI: I am using fmw_Infra_121200_OVAB.jar binnary  bundled with JRF & FM Components on my OEL-6.0 platform
    Thanks in Advance
    Punit

    Hi,
    Thanks for your reply.
    This icon you provided means "the DHCP server connected but current user does not have the administrative credentials to manage the server."
    That's why "0x80070005. Access is denied" is received.
    DHCP console icons reference
    http://technet.microsoft.com/en-us/library/cc784812(WS.10).aspx
    So, you need to make sure the current user have the administrative credentials to configure DHCP server. Usually members of the DHCP Administrators
    group can view and modify any data at the DHCP server. DHCP Administrators can create and delete scopes, add reservations, change option values, create superscopes, or perform any other activity needed to administer the DHCP server, including export or import
    of the DHCP server configuration and database. DHCP Administrators perform these tasks using the Netsh commands for DHCP or the DHCP console. For more information, see
    DHCP tools.
    DHCP groups
    http://technet.microsoft.com/en-us/library/cc737716(WS.10).aspx
    Hope this helps.
    Thanks,
    Robbin Meng
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked
    post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Oraclle 11g instant client x64 doesn't  work in windows 7 x64

    First of all I've read the software requirements in the installation guides for 11g instant client x64 and no support for Windows 7 is mentioned.. I'm not sure if this is the case any how here is the details of the problem:
    I downloaded instant client (basic) and (sqlplus) and unzipped them on drive E, afterwards I created tnsnames.ora file with the following:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = IGGY) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    and saved it in the instant client directory, afterwards I included the instant client directory in the user variable PATH value, and created system variable TNS_ADMIN and added the location of tnsnames.ora in the value.
    Now the problem starts when I open MS-DOS and type: sqlplus system @ORCL, It then prompts for the password and when I try to enter anything the cursor doesn't move unless I press enter and the result is that I get the following error:
    ORA-12154: TNS: COULD NOT RESOLVE THE CONNECT IDENTIFIER SPECIFIED
    Any idea what the reason of this problem is?

    Hello again,
    I was able to reproduce ORA-12154 and the error raised beacause my DUMMY-HOST was not reachable. Using the correct hostname/IP address solved the issue. Can you check if you are able to ping and to telnet your hostname (IGGY).
    Regards,
    David
    # Reproducing issue
    E:\instantclient_11_1>sqlplus system/manager@//DUMMY-HOST:1521/PROD
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Nov 27 10:37:54 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:
    # Hostname is not pingable
    E:\instantclient_11_1>ping DUMMY-HOST
    Ping request could not find host DUMMY-HOST. Please check the name and try again.
    # Pinging host which is alive
    E:\instantclient_11_1>ping stlin3p
    Pinging stlin3p [192.168.1.123] with 32 bytes of data:
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.123: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.123:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    # Connecting to port 1521 at DUMMY-HOST fails as well
    E:\instantclient_11_1>telnet DUMMY-HOST 1521
    Connecting To DUMMY-HOST...Could not open connection to the host, on port 1521:
    Connect failed
    # Connecting to port 1521 at stlin3p is successful
    E:\instantclient_11_1>telnet stlin3p 1521
    ... connected ...
    # Content of tnsnames.ora
    PROD =
    DESCRIPTION =
    ADDRESS = (PROTOCOL = TCP) (HOST = stlin3p) (PORT = 1521)
    CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PROD)
    # Connecting to DB server using TNS methods is successful
    E:\instantclient_11_1>sqlplus system/manager@PROD
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Nov 27 10:36:40 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    SQL> exit
    Disconnected from Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    # Connecting to DB server using EZCONNECT is also successful
    E:\instantclient_11_1>sqlplus system/manager@//stlin3p:1521/PROD
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Nov 27 10:38:21 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    SQL> exit
    Disconnected from Oracle Database 10g Release 10.2.0.4.0 - 64bit Production

  • 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.

  • Problem using Instant Client 10g with PHP4.3.10-16 on Debian Sarge

    Hello,
    My current email is [email protected]
    I am trying to use PHP on Debian box using Oracle 10gR2 on a RH 4 server. Everything works fine individually, but I cannot get PHP4 to use InstantClient to connect to the Oracle Server. This is what I've done:
    Oracle 10gR2 works fine on the RH 4 server. Listener is running and all required OS security is in place and works (TCP_wrappers, etc.).
    Client machine runs Debian 3.1 (Sarge). It works fine and SSH connectivity to RH4 server works.
    Instant Client 10gR2 installed on Debian client and works fine. Tested SQL*Plus connection to the RH server. I installed Instant Client from the zip file.
    I did have to add libclntsh.so to /etc/ld.so.conf and run ldconfig to get Debian to use it, though.
    Apache2.0.54-5 on Debian client works fine. Web pages on it can be opened in browsers from other machines.
    Installed PHP4.3.10-16 on Debian client using following:
    ./configure --with-oci8-instant-client=<dir of my choice>
    --enable-sigchild
    I first checked ./configure help and the option with-oci8-instant-client was there.
    Configure went well. Log showed checking for Instant Client files.
    Ran make. Saw numerous Instant Client message as words scrolled.
    Ran make install. Successful.
    Restarted Apache2 with following env variables:
    LD_LIBRARY_PATH=<my Instant Client directory)
    TNS_ADMIN=<same directory where I put my sqlnet.ora and tnsnames.ora files).
    SQLPATH=<same directory>
    I know this is correct because Instant Client SQL*Plus can connect.
    Browsers on other machines can view simple php scripts run from the Debian box.
    BUT, phpinfo does NOT show an OCI8 section.
    phpinfo does show the correct extension directory, though.
    Somehow, my PHP4 configure and make is not using the --with-oci8-instant-client option.
    I checked $PHP4HOME/ext/oci8/config.m4 file and the verbiage IS in there to use the --with-oci8-instant-client option, either with the default location or the extension_dir location.
    I tried using the new ZendCore product, even though it is not certified for Debian. It installed okay but I could not get PHP5 to work. I uninstalled it successfully and redid all of the above.
    So, any ideas as to what else I can do here? Other than not use Debian (which is probably the wisest thing to do). And I suppose I could install a thick Oracle client, assuming that Debian would take it. But I prefer the Instant Client.
    I tried the PHP ./configure syntax I've seen several places on this forum.
    ./configure --with-oci8=instantclient,<directory>
    This syntax may work on Red Hat machines but it throws a syntax error on Debian and aborts the configure.
    Thanks for any help.

    Thanks, but that did not work. Configure aborts because it cannot find the required OCI8 libraries. The --with-oci8 option is for the Oracle "thick" client.  I have only the Instant Client...and am not interested in loading the older client.
    I may have my own solution next week, though. I will be loading RH4 on a new server and will then install ZendCore and forget all about using Oracle with Debian.
    Update on trying ZendCore on Debian Sarge:
    I tried installing it again yesterday. The install seemed go to well, and said it was successful.
    It did NOT load PHP5, however. Nor did it load the Instant Client. My previously installed PHP4 and Instant Client remained in my original directories.

  • How to use Instant Client  10G DSN-less feature  with SQLDriverConnect?

    We have been trying to use the DSN-less feature of the latest Instant Client, instantclient10_2, with the ODBC programming interface using SQLDriverConnect.
    We are getting ORA-12560 errors and believe that our connect string isn't correct. The docs don't provide an example or indicate the correct keyword(s) to use.
    The help file's "Format of the Connection String" page doesn't provide any clues and DBQ is definitely not working.
    What format should be used?
    Thanks

    ...So I take it that I'll have to have the server
    export to csv or a db format that will provide a
    connection on a stock xp or vista box.I'm not sure exactly what you're saying here. Are you suggesting that you'd export the data on the server to a CSV file, copy that to a network share, and have your application create an ODBC connection to the CSV file?
    Are you wedded to installing absolutely nothing else? The Oracle Instant Client, for example, just requires copying 3 or 4 DLLs to a directory & setting some environment variables in order to install a minimal Oracle client and ODBC driver (though it won't work with the Microsoft ODBC driver for Oracle). That's normally a pretty minimal burden for an application to include in its installation scripts.
    Justin

  • Unable to connect remote databse via windows XP(using Instant Client)

    I have downlaod instant Client and the PATH env variable automatically is set when I install Instant Client. Then I try to connect using the following(from the path C:/XEClient/bin):
    sqlplus username/passwd@//host:[port][service name]
    I get the following error:
    ORA-12170: TNS: Connect timeout occurred
    When I ping the host I get reply.
    Also I am able to connect to that same database thru perl( so I presume there is no problem with the database not avaiable or port not open etc), where additionally ORACLE_HOME and ORACLE_SID env variable are set to the path in the remote machine. The databse version is Oracle 9.2
    Below is the sqlnet.log:
    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 30-AUG-2006 14:56:03
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: Message 12535 not found; No message file for product=NETWORK, facility=TNS
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Message 505 not found; No message file for product=NETWORK, facility=TNS
    nt secondary err code: 60
    nt OS err code: 0
    Client address: <unknown>
    ===========================================================
    Am I missing some set up.
    Can anybody help please...I have been trying since last 3 days.
    Thanks

    Hi Laurenz,
    Sorry to say...but it still does not connect(incorporated your suggestions), nor is the trace generated. sqlnet.log looks no different. As about any other oracle clients...I did not have any until yesterday evening when we installed the entire 10g oracle...client and database.
    Anyways now too after having installed oracle 10g on D drive, no succes in connecting to remote databse.
    Two questions:
    1. Is XE client compatible with 10g database? As I am trying to connect to 9.2 version as mentioned in my initial query.
    2. When I ping the host I do get reply. BUT when I telnet i.e.
    telnet host port
    ....it says "could not open connection to the host, on port XXX: connect failed"
    Does it mean there is a firewall at the remote end which is preventing the successfull connection? But then how do I connect thru' Perl with no extra info...
    Any other suggestion please let me know...and also do you suggest I uninstall all oracle clients other than XE...or is there any way out ...having multiple clients?
    Another query...hope I can use toad after having set up the XE client?
    Thanks in advance...
    Message was edited by:
    user527367

  • Ssl-handshake fails with scandinavian chars in client certificate

    Hello,
    We've run into a problem with 2-way-ssl and certificates that have scandinavian
    characters in the subject. The problem cert is used as client-certificate for
    authentication and it goes like this:
    1. Client surfs with http in our site, until clicks https-link that will immediately
    start the ssl-handshake
    2. Server presents it's trusted cert-list fine
    3. PIN is being asked fine
    4. Next the request processing stops on the exception below and nothing will happen
    on the client side.
    Certs without these äöå -chars work fine, so our guess is that they cause it,
    but the certs ought to be according to specs: name-fields encoding is UTF-8 according
    to RFC 2459 from year 1999. A failing example-cert is also below.
    Would this be a problem with the certificate rather than BEA-implementation?
    Same behavior on Windows and Solaris Weblogic 8.11 as such and with SP2 (and with
    sp2 + CASE_ID_NUM: 501454 hotfix).
    Best Regards,
    Igor Styrman
    <avalable(): 20303264 : 0 + 0 = 0>
    <write ALERT offset = 0 length = 2>
    <SSLIOContextTable.removeContext(ctx): 1765100>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <Filtering JSSE
    SSLSocket>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <SSLIOContextTable.addContext(ctx):
    6487148>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <SSLSocket will
    be Muxing>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <SSLIOContextTable.findContext(is):
    11153746>
    <SSLFilter.isActivated: false>
    <isMuxerActivated: false>
    <SSLFilter.isActivated: false>
    <21647856 readRecord()>
    <21647856 SSL Version 2 with no padding>
    <21647856 SSL3/TLS MAC>
    <21647856 received SSL_20_RECORD>
    <HANDSHAKEMESSAGE: ClientHelloV2>
    <write HANDSHAKE offset = 0 length = 58>
    <write HANDSHAKE offset = 0 length = 1789>
    <Converting principal: OU=Class 4 Public Primary Certification Authority, O="VeriSign,
    Inc.", C=US>
    <Converting principal: CN=SHP ROOT CA, O=SHP, C=FI>
    <Converting principal: CN=topsel, O=Fujitsu Services Oy, C=FI>
    <Converting principal: CN=GTE CyberTrust Global Root, OU="GTE CyberTrust Solutions,
    Inc.", O=GTE Corporation, C=US>
    <Converting principal: CN=SatShp CA, O=Satakunnan sairaanhoitopiiri, C=FI>
    <Converting principal: OU=Class 1 Public Primary Certification Authority, O="VeriSign,
    Inc.", C=US>
    <Converting principal: [email protected], CN=Thawte Personal
    Basic CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town,
    ST=Western Cape, C=ZA>
    <Converting principal: [email protected], CN=Thawte Personal
    Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town,
    ST=Western Cape, C=ZA>
    <Converting principal: OU=Class 3 Public Primary Certification Authority, O="VeriSign,
    Inc.", C=US>
    <Converting principal: CN=GTE CyberTrust Root, O=GTE Corporation, C=US>
    <Converting principal: [email protected], CN=Thawte Server
    CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western
    Cape, C=ZA>
    <Converting principal: [email protected], CN=Thawte Personal
    Premium CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town,
    ST=Western Cape, C=ZA>
    <Converting principal: [email protected], CN=Thawte Premium
    Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape
    Town, ST=Western Cape, C=ZA>
    <Converting principal: OU=Secure Server Certification Authority, O="RSA Data Security,
    Inc.", C=US>
    <Converting principal: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore,
    C=IE>
    <Converting principal: CN=Fujitsu Test CA, O=Fujitsu Services Oy, C=FI>
    <Converting principal: CN=GTE CyberTrust Root 5, OU="GTE CyberTrust Solutions,
    Inc.", O=GTE Corporation, C=US>
    <Converting principal: CN=PSHP CA, O=Pirkanmaan sairaanhoitopiiri, C=FI>
    <Converting principal: CN=Baltimore CyberTrust Code Signing Root, OU=CyberTrust,
    O=Baltimore, C=IE>
    <Converting principal: OU=Class 2 Public Primary Certification Authority, O="VeriSign,
    Inc.", C=US>
    <write HANDSHAKE offset = 0 length = 2409>
    <write HANDSHAKE offset = 0 length = 4>
    <SSLFilter.isActivated: false>
    <isMuxerActivated: false>
    <SSLFilter.isActivated: false>
    <21647856 readRecord()>
    <21647856 SSL3/TLS MAC>
    <21647856 received HANDSHAKE>
    <HANDSHAKEMESSAGE: Certificate>
    PM EEST> <Error> <Kernel> <> <satshpeduServer> <ExecuteThread: '14' for queue:
    'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-000802> <ExecuteRequest failed
    java.lang.NullPointerException: Could not set value for ASN.1 string object..
    java.lang.NullPointerException: Could not set value for ASN.1 string object.
         at com.certicom.security.asn1.ASN1String.setValue(Unknown Source)
         at com.certicom.security.asn1.ASN1String.setBufferTo(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeString(Unknown Source)
         at com.certicom.security.asn1.ASN1String.decode(Unknown Source)
         at com.certicom.security.pkix.AttributeTypeAndValue.decodeContents(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.asn1.ASN1SetOf.decodeContents(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeSetOf(Unknown Source)
         at com.certicom.security.asn1.ASN1SetOf.decode(Unknown Source)
         at com.certicom.security.asn1.ASN1SequenceOf.decodeContents(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.pkix.Name.decodeContents(Unknown Source)
         at com.certicom.security.asn1.ASN1Choice.decode(Unknown Source)
         at com.certicom.security.pkix.TBSCertificate.decodeContents(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.pkix.Certificate.decodeContents(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.asn1.ASN1Type.decode(Unknown Source)
         at com.certicom.security.cert.internal.x509.X509V3CertImpl.<init>(Unknown Source)
         at com.certicom.tls.record.handshake.MessageCertificate.<init>(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeMessage.create(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
    Source)
         at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
         at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
    Source)
         at com.certicom.net.ssl.CerticomContextWrapper.forceHandshakeOnAcceptedSocket(Unknown
    Source)
         at weblogic.t3.srvr.SSLListenThread$1.execute(SSLListenThread.java:514)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    -----BEGIN CERTIFICATE-----
    MIID+zCCAuOgAwIBAgIDFm/PMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNVBAYTAkZJ
    MRwwGgYDVQQKExNGdWppdHN1IFNlcnZpY2VzIE95MRgwFgYDVQQDEw9GdWppdHN1
    IFRlc3QgQ0EwHhcNMDQwNjAyMTE1MjE4WhcNMDYwNjAyMTIyMjE4WjB3MQswCQYD
    VQQGEwJGSTEQMA4GA1UEChMHRnVqaXRzdTEgMB4GA1UEAwwXSMO2bG3DtmzDpGlu
    ZW4gw4VrZSAwMDExDDAKBgNVBAUTAzAwMTEXMBUGA1UEBAwOSMO2bG3DtmzDpGlu
    ZW4xDTALBgNVBCoMBMOFa2UwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAO44
    Zm31uJb8048/6PByPyXzaW3gCz1mT02TuwVtjMRJ4ObbFCqMGC+YosA2kNKoW0Ef
    C+YlKNqhvaid0bATQefdSHVQhzFL3HFIfZc3ONAJQ/U+I6W69r2JePoCvZppknmC
    YrnCCDx3Ap27B7v57f/XTmdpiB8IdiCTl3PnV78PAgMBAAGjggFEMIIBQDAfBgNV
    HSMEGDAWgBT8T+xYc3T6j89O8cZ4hC9r1e9DojAdBgNVHQ4EFgQUtS4z8K26uW2d
    IeJ3aelDnqnkBnYwCwYDVR0PBAQDAgSwMFMGA1UdEQRMMEqgKwYKKwYBBAGCNxQC
    A6AdDBtha2UuaG9sbW9sYWluZW5AZnVqaXRzdS5jb22BG2FrZS5ob2xtb2xhaW5l
    bkBmdWppdHN1LmNvbTB9BgNVHR8EdjB0MHKgcKBuhmxsZGFwOi8vMjEyLjI0Ni4y
    MjIuMTQyOjM4OS9DTj1GdWppdHN1JTIwVGVzdCUyMENBLE89RnVqaXRzdSUyMFNl
    cnZpY2VzJTIwVGVzdCxDPUZJP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3QwHQYD
    VR0lBBYwFAYIKwYBBQUHAwQGCCsGAQUFBwMCMA0GCSqGSIb3DQEBBQUAA4IBAQAZ
    KV3Og/y6zUOMwZGswUxAne5fe4Ab70bmX+z49MVeA0dfdQwQdR9GwFVF+fcK+q0T
    3Lmcwpm5KiHWYoIOxPb6MqTTWxV7HSXWr7A7P4BbTGxsujpUULcmQGQFAd69R0Ur
    JFDwYnDEP2+4RzrvlP6AWspyHJePYmCt9h3JfxYAqVLTL0suO1uh8hgtStujmqsI
    0WNCfnQ+sURdDzp6WpVFcxFQa5aAcyx9sWWqV5Ta5l6JTCmoHth7qoV3BtUKv4+z
    SqIHKA1ixrvlhqWkjYxg51N6ihbbR5shBRRinAqRIQjTzXmun2wJzwNigt4zWiNg
    tvrGCMOrvrb5QTxVtLNr
    -----END CERTIFICATE-----

    BMPString is another asn1 type that can be used for certificate attributes with
    non-ascii characters. The workaround is simply to use the BMPString instead of
    UTF8String for that subject name attribute in the certificate request. This off-course
    assumes that you can replace the certificate, and have control over what asn1
    type is used for the subject name attributes in the certificate request (via a
    tool options, or by generating the request yourself), so it is probably not applicable.
    Pavel.
    "Ari Räisänen" <[email protected]> wrote:
    >
    Thanks again, Pavel!
    I'm filing a support case about this. You talked about a workaround (BMPString).
    Could you be more spesific? I haven't talked about this issue with Igor
    yet.
    Regards,
    Ari
    "Pavel" <[email protected]> wrote:
    Sounds like a bug in certicom code. It should support UTF8String.
    I'd file a support case.
    You might be able to use BMPString instead as a workaround.
    Pavel.
    "Igor Styrman" <[email protected]> wrote:
    Hello,
    We've run into a problem with 2-way-ssl and certificates that have
    scandinavian
    characters in the subject. The problem cert is used as client-certificate
    for
    authentication and it goes like this:
    1. Client surfs with http in our site, until clicks https-link thatwill
    immediately
    start the ssl-handshake
    2. Server presents it's trusted cert-list fine
    3. PIN is being asked fine
    4. Next the request processing stops on the exception below and nothing
    will happen
    on the client side.
    Certs without these äöå -chars work fine, so our guess is that they
    cause it,
    but the certs ought to be according to specs: name-fields encoding
    is
    UTF-8 according
    to RFC 2459 from year 1999. A failing example-cert is also below.
    Would this be a problem with the certificate rather than BEA-implementation?
    Same behavior on Windows and Solaris Weblogic 8.11 as such and withSP2
    (and with
    sp2 + CASE_ID_NUM: 501454 hotfix).
    Best Regards,
    Igor Styrman
    <avalable(): 20303264 : 0 + 0 = 0>
    <write ALERT offset = 0 length = 2>
    <SSLIOContextTable.removeContext(ctx): 1765100>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <Filtering
    JSSE
    SSLSocket>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <SSLIOContextTable.addContext(ctx):
    6487148>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <SSLSocket
    will
    be Muxing>
    PM EEST><SSLListenThread.Default> <<WLS Kernel>> <> <000000> <SSLIOContextTable.findContext(is):
    11153746>
    <SSLFilter.isActivated: false>
    <isMuxerActivated: false>
    <SSLFilter.isActivated: false>
    <21647856 readRecord()>
    <21647856 SSL Version 2 with no padding>
    <21647856 SSL3/TLS MAC>
    <21647856 received SSL_20_RECORD>
    <HANDSHAKEMESSAGE: ClientHelloV2>
    <write HANDSHAKE offset = 0 length = 58>
    <write HANDSHAKE offset = 0 length = 1789>
    <Converting principal: OU=Class 4 Public Primary Certification Authority,
    O="VeriSign,
    Inc.", C=US>
    <Converting principal: CN=SHP ROOT CA, O=SHP, C=FI>
    <Converting principal: CN=topsel, O=Fujitsu Services Oy, C=FI>
    <Converting principal: CN=GTE CyberTrust Global Root, OU="GTE CyberTrust
    Solutions,
    Inc.", O=GTE Corporation, C=US>
    <Converting principal: CN=SatShp CA, O=Satakunnan sairaanhoitopiiri,
    C=FI>
    <Converting principal: OU=Class 1 Public Primary Certification Authority,
    O="VeriSign,
    Inc.", C=US>
    <Converting principal: [email protected], CN=Thawte
    Personal
    Basic CA, OU=Certification Services Division, O=Thawte Consulting,
    L=Cape
    Town,
    ST=Western Cape, C=ZA>
    <Converting principal: [email protected], CN=Thawte
    Personal
    Freemail CA, OU=Certification Services Division, O=Thawte Consulting,
    L=Cape Town,
    ST=Western Cape, C=ZA>
    <Converting principal: OU=Class 3 Public Primary Certification Authority,
    O="VeriSign,
    Inc.", C=US>
    <Converting principal: CN=GTE CyberTrust Root, O=GTE Corporation, C=US>
    <Converting principal: [email protected], CN=Thawte
    Server
    CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape
    Town, ST=Western
    Cape, C=ZA>
    <Converting principal: [email protected], CN=Thawte
    Personal
    Premium CA, OU=Certification Services Division, O=Thawte Consulting,
    L=Cape Town,
    ST=Western Cape, C=ZA>
    <Converting principal: [email protected], CN=Thawte
    Premium
    Server CA, OU=Certification Services Division, O=Thawte Consultingcc,
    L=Cape
    Town, ST=Western Cape, C=ZA>
    <Converting principal: OU=Secure Server Certification Authority, O="RSA
    Data Security,
    Inc.", C=US>
    <Converting principal: CN=Baltimore CyberTrust Root, OU=CyberTrust,O=Baltimore,
    C=IE>
    <Converting principal: CN=Fujitsu Test CA, O=Fujitsu Services Oy, C=FI>
    <Converting principal: CN=GTE CyberTrust Root 5, OU="GTE CyberTrustSolutions,
    Inc.", O=GTE Corporation, C=US>
    <Converting principal: CN=PSHP CA, O=Pirkanmaan sairaanhoitopiiri,
    C=FI>
    <Converting principal: CN=Baltimore CyberTrust Code Signing Root, OU=CyberTrust,
    O=Baltimore, C=IE>
    <Converting principal: OU=Class 2 Public Primary Certification Authority,
    O="VeriSign,
    Inc.", C=US>
    <write HANDSHAKE offset = 0 length = 2409>
    <write HANDSHAKE offset = 0 length = 4>
    <SSLFilter.isActivated: false>
    <isMuxerActivated: false>
    <SSLFilter.isActivated: false>
    <21647856 readRecord()>
    <21647856 SSL3/TLS MAC>
    <21647856 received HANDSHAKE>
    <HANDSHAKEMESSAGE: Certificate>
    PM EEST> <Error> <Kernel> <> <satshpeduServer> <ExecuteThread: '14'
    for queue:
    'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-000802> <ExecuteRequest
    failed
    java.lang.NullPointerException: Could not set value for ASN.1 string
    object..
    java.lang.NullPointerException: Could not set value for ASN.1 string
    object.
         at com.certicom.security.asn1.ASN1String.setValue(Unknown Source)
         at com.certicom.security.asn1.ASN1String.setBufferTo(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeString(UnknownSource)
         at com.certicom.security.asn1.ASN1String.decode(Unknown Source)
         at com.certicom.security.pkix.AttributeTypeAndValue.decodeContents(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown
    Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.asn1.ASN1SetOf.decodeContents(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeSetOf(Unknown Source)
         at com.certicom.security.asn1.ASN1SetOf.decode(Unknown Source)
         at com.certicom.security.asn1.ASN1SequenceOf.decodeContents(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown
    Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.pkix.Name.decodeContents(Unknown Source)
         at com.certicom.security.asn1.ASN1Choice.decode(Unknown Source)
         at com.certicom.security.pkix.TBSCertificate.decodeContents(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown
    Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.pkix.Certificate.decodeContents(Unknown Source)
         at com.certicom.security.asn1.DERInputStream.decodeStructured(Unknown
    Source)
         at com.certicom.security.asn1.DERInputStream.decodeSequence(Unknown
    Source)
         at com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
         at com.certicom.security.asn1.ASN1Type.decode(Unknown Source)
         at com.certicom.security.cert.internal.x509.X509V3CertImpl.<init>(Unknown
    Source)
         at com.certicom.tls.record.handshake.MessageCertificate.<init>(Unknown
    Source)
         at com.certicom.tls.record.handshake.HandshakeMessage.create(Unknown
    Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
    Source)
         at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
    Source)
         at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
    Source)
         at com.certicom.net.ssl.CerticomContextWrapper.forceHandshakeOnAcceptedSocket(Unknown
    Source)
         at weblogic.t3.srvr.SSLListenThread$1.execute(SSLListenThread.java:514)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    -----BEGIN CERTIFICATE-----
    MIID+zCCAuOgAwIBAgIDFm/PMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNVBAYTAkZJ
    MRwwGgYDVQQKExNGdWppdHN1IFNlcnZpY2VzIE95MRgwFgYDVQQDEw9GdWppdHN1
    IFRlc3QgQ0EwHhcNMDQwNjAyMTE1MjE4WhcNMDYwNjAyMTIyMjE4WjB3MQswCQYD
    VQQGEwJGSTEQMA4GA1UEChMHRnVqaXRzdTEgMB4GA1UEAwwXSMO2bG3DtmzDpGlu
    ZW4gw4VrZSAwMDExDDAKBgNVBAUTAzAwMTEXMBUGA1UEBAwOSMO2bG3DtmzDpGlu
    ZW4xDTALBgNVBCoMBMOFa2UwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAO44
    Zm31uJb8048/6PByPyXzaW3gCz1mT02TuwVtjMRJ4ObbFCqMGC+YosA2kNKoW0Ef
    C+YlKNqhvaid0bATQefdSHVQhzFL3HFIfZc3ONAJQ/U+I6W69r2JePoCvZppknmC
    YrnCCDx3Ap27B7v57f/XTmdpiB8IdiCTl3PnV78PAgMBAAGjggFEMIIBQDAfBgNV
    HSMEGDAWgBT8T+xYc3T6j89O8cZ4hC9r1e9DojAdBgNVHQ4EFgQUtS4z8K26uW2d
    IeJ3aelDnqnkBnYwCwYDVR0PBAQDAgSwMFMGA1UdEQRMMEqgKwYKKwYBBAGCNxQC
    A6AdDBtha2UuaG9sbW9sYWluZW5AZnVqaXRzdS5jb22BG2FrZS5ob2xtb2xhaW5l
    bkBmdWppdHN1LmNvbTB9BgNVHR8EdjB0MHKgcKBuhmxsZGFwOi8vMjEyLjI0Ni4y
    MjIuMTQyOjM4OS9DTj1GdWppdHN1JTIwVGVzdCUyMENBLE89RnVqaXRzdSUyMFNl
    cnZpY2VzJTIwVGVzdCxDPUZJP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3QwHQYD
    VR0lBBYwFAYIKwYBBQUHAwQGCCsGAQUFBwMCMA0GCSqGSIb3DQEBBQUAA4IBAQAZ
    KV3Og/y6zUOMwZGswUxAne5fe4Ab70bmX+z49MVeA0dfdQwQdR9GwFVF+fcK+q0T
    3Lmcwpm5KiHWYoIOxPb6MqTTWxV7HSXWr7A7P4BbTGxsujpUULcmQGQFAd69R0Ur
    JFDwYnDEP2+4RzrvlP6AWspyHJePYmCt9h3JfxYAqVLTL0suO1uh8hgtStujmqsI
    0WNCfnQ+sURdDzp6WpVFcxFQa5aAcyx9sWWqV5Ta5l6JTCmoHth7qoV3BtUKv4+z
    SqIHKA1ixrvlhqWkjYxg51N6ihbbR5shBRRinAqRIQjTzXmun2wJzwNigt4zWiNg
    tvrGCMOrvrb5QTxVtLNr
    -----END CERTIFICATE-----

  • Help Using Instant Client ODBC on Linux

    I am familiar with using ODBC and visual basic under Windows. I would like to use the Oracle instant client ODBC under Red Hat ES3 within a C or C++ program to access an Oracle database.
    Where can I find documentation related to this:
    a) setting up an ODBC connection on Linux
    b) installing the Oracle instant client on Linux
    c) building an application with Oracle instant client ODBC
    Am I correct in assuming that any C/C++ ODBC code examples from windows could also be used on Linux.
    Thanks,
    Werner

    We are also interested in the very same thing. We are using third party compiler called SIMSCRIPT from CACI which has a module called SDBC for database connectivity. SDBC requires ODBC to be installed/configured. Our application is for Linux, therefore we are interested in using the ODBC driver on Linux clients to connect Oracle database servers on Linux and Sparc. I see the odbc related zip (for 10g) and rpm (for 11g) instant client files on the OTN Instant Client download page. How to install/configure odbc instant client? Is there a document/whitepaper/Metalink Note ?
    Thank you

  • 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

Maybe you are looking for

  • Won't read CDs in the DVD drive - Model L305D-S5895

    Bought this laptop in December and tried to open CD-R with pictures, but the files will not open.   I don't even see the CD files listed.   The CD spins for a minute then stops.  No problems with DVDs.    Is there a fix ?

  • Can't load visual basic for applications

    I get this error message when I try to run a macro (I think it is a macro, I'm running Bookends with msword, and I run it off the automator menu).  I just did a custom install from the word disc (2011), for vba.  Any ideas?

  • NAC L2-IP on 6500 . URL Redirection Not working

    Hi, We are testing NAC L2-IP on a Cat 6506 running 12.2(18)SXF9. When configuring for NAC L2-IP, the switch is able to download the required ACL entries. The HTTP Server is enabled in the Switch, however still the HTTP redirection is Not working. Fro

  • 2.0 and 5.1 audio

    I have audio that is 2.0 and 5.1. Both for the MENUS and the single asset(movie). I know how to set up the main asset to select either audio via a set-up page. What I don't know is how to give the viewer the choice to select a 2.0 or 5.1 MENU experie

  • EJB Client in Web App

    Hello All, I have an ear file containing a war for a web app and a jar for an ejb. I am trying to instantiate the EJB in my web app (war file). My question is how does the web app know about the interfaces from the EJB: I want to call the local inter