10g OCI client certification

we are in process of 10g RAC Certification and Customer Aksed
Would it be correct to assume that the Oracle RAC 10g Certification will include the 10g OCI client certification? I believe this will be necessary for an application to connect to the cluster.
Can any one help to answer this? and how we can do 10g OCI client certification?

I'm not sure what you're asking...
Assuming you need to have the 10g client installed on the middle tier (if your middle tier is a J2EE application server, those folks will probably want to use Oracle's Type 4 (thin) JDBC drivers, which don't require the 10g client), yes, you can install just the 10g client. Depending on the operating system, there may be a separate client-only download or you may have to download the entire database and choose to do a client-only install.
Justin

Similar Messages

  • Oracle 10g OCI Client Certification

    we are in process of 10g RAC Certification and Customer Aksed
    Would it be correct to assume that the Oracle RAC 10g Certification will include the 10g OCI client certification? I believe this will be necessary for an application to connect to the cluster.
    Can any one help to answer this?

    as far as I know, clients connect to rac db the same way they did against a single instance

  • Java 10g OCI connection

    I am not able to connect to oracle 10g from java(j2sdk1.4.2_04) using OCI. I have the basic instantclient10_1 downloaded and I have made my classpath and path point to the instantclient directory. Os used is win2k.
    I think I am able to load the driver because
    Class.forName ("oracle.jdbc.driver.OracleDriver"); given inside try doesn't get caught.
    when I use
    DriverManager.getConnection("jdbc:oracle:oci8:scott/tiger@"); I get runtime error(no compile error)
    Exception in thread "main" java.lang.UnsatisfiedLinkError: t2cGetCharSet
    at oracle.jdbc.driver.T2CConnection.t2cGetCharSet(Native Method)
    at oracle.jdbc.driver.T2CConnection.getCharSetIds(T2CConnection.java:290
    7) and some more lines.
    The same error I get if I use oci instead of oci8 and if I add orcl after @.
    I then tried
    java -classpath %cp% -Djava.library.path=C:\instantclient MyJavaApp
    which gives
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    But I am able to connect using thin client. Please help in setting my oci connection right.

    I just realized after the last post, that not everyone is amiliar with the latin character set.
    I'm refering to ISO 8859-1 Or WE8ISO8859P1
    The default on my pc is
    [AMERICAN_AMERICA.WE8MSWIN1252] which may or may not be what I need.
    But some how for me the following always does the trick nicely.
    AMERICAN_AMERICA.WE8ISO8859P1
    The reall killer in going from UTF to another format or vice versa. The 10g OCI client puts to much faith in Microsoft and defaults you to whatever is in windows.
    -- Checking your NLS:
    From windows, to check the NLS_LANG, you need to open a command prompt and to run sqlplus in command line mode.
    First, check if it's set in the environment:
    SQL> host echo %NLS_LANG%
    If this reports just %NLS_LANG% back, the variable is not set in the
    environment. If it's set it reports something like
    ENGLISH_UNITED KINGDOM.WE8PC850
    If NLS_LANG is not set in the enviroment, you should check the value
    in the registry:
    SQL> @.[%NLS_LANG%].
    If you get something like:
    unable to open file ".[ENGLISH_UNITED KINGDOM.WE8ISO8859P1]."
    the "file name" between the '[]' is the value of the registry parameter.
    (This is NOT an error but just a "trick" to get the NLS_LANG value)
    If you get this as result:
    unable to open file ".[%NLS_LANG%]."
    then the parameter NLS_LANG is also not set in the registry.
    Note: the @.[%NLS_LANG%]. "trick" reports the NLS_LANG known by the sqlplus
    executable, it will not read the registry itself.
    But then you are not sure if the variable is set in the enviroment or in the
    registry. That's the reason of checking with the host commando first.

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

  • Oracle 8.1.5 oci client to oracle 9i database

    Is is supported to use an Oracle 8.1.5 oci client to oracle 9i
    database? If not, will it work?

    Ok,
    so You can follow the migration path that I've indicated before:
    "To do that, the simplest way., is to install 10g r2 software on the Win 2003 machine. Create the DB and create the same accounts of the 8i version.
    On the 8i version, export all the schemas using "exp" utility, w/o using the DIRECT option.
    Copy the generated dump files onto the Win 2003 machine and import them using th "imp" utility,
    Analyze all the objects and that the migration is complete.
    You shouldn't find any problem porting structures and code from 8i to 10g R2
    No matters will occours, cause imp utility of 10g is backward compatible with 8i exp files
    Hop this helps
    Max

  • Oracle 10g OCI based application talking to an Oracle 9i database

    Hi all,
    Got a question. I have an OCI C++ application that is written using the Oracle 10g OCI includes, etc ... This of course is running on a 10g client. The client OS is actually a Windows x64 system since 10g is the only native OCI client right now for 64 bit Windows systems. So this all works fine. Now, I am communicating with an Oracle 9i database server. Is there anything wrong or invalid about this configuration ? I didn't think that there was but I was asked to confirm this, that is having an Oracle 10g client communicating with an Oracle 9i database. Our application is making very straight forward OCI calls, and we are not using any of the newer OCI calls that were introduced in 10g, just the ones that are available in 9i OCI.
    Thanks in advance,
    Nick

    Thanks for the reply.
    Actually I thought that the OCCI forum was for Object oriented OCI, so while I'm using C++, I'm not using the object oriented side of OCI, just using the normal OCI calls. Guess I should have been a little clearer in my original post.
    But my main question really concerned the version of the client and the version of the database which you answered.
    Thanks,
    Nick

  • How to fetch data in Excel throuth oracle forms 10g on client machine

    I am using developer suite 10g forms and i want to fetch data in excel through forms 10g on client machine
    presently i m using OLE for fetching the data in excel , it is working fine but it generates the excel file on server machine and i want get the output excel on the client machine. Is there any parameter to set the destination {Server or Client} which decides the location of output file. If such is the case please let me know or please suggest what should i do. Please help me with proper solution.
    thanks
    Manoj

    If you have an "urgent" issue, I highly encourage you to contact Oracle Support. The forum probably isn't going to be your best source for "urgent" issues.
    http://www.oracle.com/us/support/oracle-support-services-359636.html
    https://support.oracle.com
    This will be especially important if you are new to any of the products as you will likely need documentation and/or product updates in order to ensure the most stable environment possible.
    There are a few publicly available documents which may help to get you started. In any case, these are just examples. They may or may not work to your liking. Further, in some cases they may not work at all. Many of the examples online are often outdated and do not function exactly as documented against other versions. Here is one:
    http://www.oracle.com/technetwork/developer-tools/forms/howto-ole-090332.html
    Additional documentation for using WebUtil is included in the Forms Builder online help. An update to the Builder Help files can be downloaded from here. Be sure to carefully review the included ReadMe before attempting to use them.
    http://docs.oracle.com/cd/B25016_08/doc/dl/web/forms_help/frmhelp_update.zip

  • Compiling against the 10g Instant Client in Linux

    Does anyone know if it's possible to compile and successfully link C++ programs that use the occi header against the 4 shared occi libraries that come with the 10g instant client.
    I dug out the 30 or so header files that come with the full 10g Linux version and stuck them in the /usr/include directory. This allows compilation to get done. And it appears that I am able to link against the shared libraries. At least, after the link there is an executable. This executable seg faults immediately upon a run, so there is obviously something wrong.
    The system administrator is trying to do a full install of 10g so we can compile against an Oracle home, but he's been at it for about a week with no results. He was able to get the Instant Client set up, so I'm looking for a workaround that uses only the IC and the headers.

    Thanks for the feedback.
    We aren't using a 3.xx version of gcc; it's some 2.9x version.
    Are you saying that it should be possible to link up with the shared libs without a full client install? If it is, I'll keep plugging away; but I haven't found anyone anywhere who has at any time gotten it to work.

  • 10G Instant client and import command

    Hi all,
    Am using the 10G instant client and need to use the import command through this client but cannot find it anywhere. Does the 10G instant client provide this functionality or anyone know of a workaround for this.
    All replies much appreciated,
    Tom

    Thats a pity. I thought I read someplace that you dont lose any client functionality by using the instant client as opposed to using the client cd install. Is it just that the instant client replicates the connection functionality of a normal 300mb client install?

  • XMLType inputstream on OCI client

    Hi all, I have a problem using XMLType.createXML in java to create a XMLType to use as parameter in a stored procedure using OCI client (it works with thin client).
    my environment (sorry if I missed something!):
    Oracle db 11.1 on server, Java 1.6 and OCI client 11.1 on Windows on client.
    In my Eclipse project I included the following jars:
    \jdbc\lib\ojdbc6.jar
    \jlib\orai18n.jar
    \RDBMS\jlib\xdb.jar
    \LIB\xmlparserv2.jar
    the java code snippet for calling the stored procedure using the input stream:
    public String putgetXMLInputStream(File testFile) throws SQLException, FileNotFoundException, UnsupportedEncodingException
         // create the input stream from the file containing XML
         InputStream br = new BufferedInputStream(new FileInputStream(testFile));      
    // this statement was tested with no value for "kind" parameter and with these two value too
         // "oracle.xml.parser.XMLDocument.THICK"
         // "oracle.xml.parser.XMLDocument.THIN"
         XMLType xmlDoc = XMLType.createXML(connection, br);
         // set the statement
         CallableStatement cs;
         cs = connection.prepareCall("{?=call MYPACKAGE.TESTUPLOAD(?)}");
    cs.registerOutParameter(1, OracleTypes.VARCHAR);           
         cs.setObject(2, xmlDoc);
    // execute the statement
         cs.execute();
         // return the string
         return cs.getString(1);
    same code with string:
    public String putgetXMLString(File testFile) throws SQLException, FileNotFoundException, UnsupportedEncodingException, IOException
         StringBuilder contents = new StringBuilder();
         try {
         //use buffering, reading one line at a time
         //FileReader always assumes default encoding is OK!
         BufferedReader input = new BufferedReader(new FileReader(aFile));
         try {
              String line = null; //not declared within while loop
              * readLine is a bit quirky :
              * it returns the content of a line MINUS the newline.
              * it returns null only for the END of the stream.
              * it returns an empty String if two newlines appear in a row.
              while (( line = input.readLine()) != null){
              contents.append(line);
              contents.append(System.getProperty("line.separator"));
         } finally {
         input.close();
         XMLType xmlDoc = XMLType.createXML(connection, contents.toString());      
         // set the statement
         CallableStatement cs;
         cs = connection.prepareCall("{?=call MYPACKAGE.TESTUPLOAD(?)}");
    cs.registerOutParameter(1, OracleTypes.VARCHAR);           
         cs.setObject(2, xmlDoc);
    // execute the statement
         cs.execute();
         // return the string
         return cs.getString(1);
    the java code snippet for establish the database connection (I know that with java 1.6 the registerDriver is not
    required, I both tested with and without driver registering and it works in the same way):
    // connection string: comment as required
    // connection string for thin client
    // String connectionString = "jdbc:oracle:thin:@mydbserver:1521:mydb";
    // connection string for oci
    String connectionString = "jdbc:oracle:oci8:@mydbserver:1521:mydb";
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn =DriverManager.getConnection( connectionString, "john", "tiger");
    DatabaseMetaData meta = conn.getMetaData();
    System.out.println("Driver JDBC: " + meta.getDriverVersion());
    The PL/SQL called by java:
    FUNCTION TESTUPLOAD (pDoc IN XMLTYPE) RETURN VARCHAR2 IS
    msgout VARCHAR2(24000);
    doc DBMS_XMLDOM.DOMDocument;
    rootnode DBMS_XMLDOM.DOMNode;
    fchild DBMS_XMLDOM.DOMNode;
    attr1 VARCHAR2(20);
    ns VARCHAR2(200);
    BEGIN
    ns := 'xmlns="http://www.myweb.it/static/xml/def/0.6/ns1.html" xmlns:si="http://www.myweb.it/static/xml/def/0.6/si.html"';
    doc := DBMS_XMLDOM.newDOMDocument(pDoc);
    rootnode := dbms_xmldom.makeNode(doc);
    fchild := DBMS_XMLDOM.GETFIRSTCHILD(rootnode);
    -- dom text
    DBMS_XMLDOM.WRITETOBUFFER(rootnode, msgout);
    -- attribute value
    dbms_xslprocessor.valueOf(rootnode,'/DOC/@TYPENO',attr1, ns );
    -- node name of rootnode first child
    return '(' || attr2 || ' - ' || DBMS_XMLDOM.GETNODENAME(fchild) || ') ' || msgout;
    END TESTUPLOAD;
    Thus, the expected result is a returned varchar2 containing the value of the attribute as per XPath, the name of first child node
    and the whole text of dom.
    This work as expected connecting via OCI and Thin client if I create the XML starting from a string, and only with Thin client if
    I adopt the input stream approach. If I use the input stream with OCI client, no error message is displayed, and no value are provided
    for attribute or fchild name, but the dom text is returned.
    I made test with different charset encoding for the original file (UTF-8, ISO-8859-1, with endofline in windows and linux style).
    What I noticed is that in case of string and input stream with Thin client some kind of parsing occours: the returned text show some
    special characters (i.e. double quote) replaced by html entity and the charset encoding in <?xml tag replaced with ISO-8859-1, more over
    the returned xml is well indented.
    I'm sure that I'm missing something :-)
    Any hints?
    TIA
    GB
    Edited by: user12844059 on 7-mag-2010 6.54

    visit the javasoft.com (sun site) for tutorials and training on all of the technologies you mentioned.
    after understanding them, then review the oracle java roadmap found on technet.oracle.com --> technologies --> java to get an oracle perspective.
    then ask the oracle technology specific questions you have.

  • SetString/executeBatch fails in Oracle 10g OCI JDBC driver

    Hi,
    I am using Oracle 10g OCI jdbc driver for batch updates.
    Following is the the code that I am using
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.jdbc.pool.OracleDataSource;
    public class BatchUpdates
    public static void main(String[] args)
    Connection conn = null;
    Statement stmt = null;
    PreparedStatement pstmt = null;
    ResultSet rset = null;
    int i = 0;
    try
    String url = "jdbc:oracle:oci:@kctutf8";
    try {
    String url1 = System.getProperty("JDBC_URL");
    if (url1 != null)
    url = url1;
    } catch (Exception e) {
    OracleDataSource ods = new OracleDataSource();
    ods.setUser("kctuser");
    ods.setPassword("kana");
    ods.setURL(url);
    conn = ods.getConnection ();
    stmt = conn.createStatement();
    try { stmt.execute(
    "create table mytest_table (col1 number, col2 varchar2(20))");
    } catch (Exception e1) {}
    pstmt = conn.prepareStatement("insert into mytest_table values (?, ?)");
    pstmt.setInt(1, 1);
    pstmt.setString(2, "row 1");
    pstmt.addBatch();
    pstmt.setInt(1, 2);
    pstmt.setString(2, "row 2");
    pstmt.addBatch();
    pstmt.setInt(1, 3);
    pstmt.setString(2, "row 3");
    pstmt.addBatch();
    pstmt.setInt(1, 4);
    pstmt.setString(2, "row 4");
    pstmt.addBatch();
    pstmt.setInt(1, 5);
    pstmt.setString(2, "row 5");
    pstmt.addBatch();
    pstmt.executeBatch();
    rset = stmt.executeQuery("select * from mytest_table");
    while (rset.next())
    System.out.println(rset.getInt(1) + ", " + rset.getString(2));
    catch (Exception e)
    e.printStackTrace();
    finally
    if (stmt != null)
    try { stmt.execute("drop table mytest_table"); } catch (Exception e) {}
    try { stmt.close(); } catch (Exception e) {}
    if (pstmt != null)
    try { pstmt.close(); } catch (Exception e) {}
    if (conn != null)
    try { conn.close(); } catch (Exception e) {}
    When I run this class I get the following output
    1, row 1
    2, row 3
    3, row 5
    4, null
    5,
    But It should have been
    1, row 1
    2, row 2
    3, row 3
    4, row 4
    5, row 5
    The same class runs fine if I use Thin driver.
    Can anyone please help me solve this issue.
    Note: This happens only in case we use setString with Varchar2 in the DB. This works fine if I have two number columns
    Thanks,
    Raja.S

    Please post this question to the Java forum. It is located under "Technologies".

  • Can we run oracle Forms 5 Application with 10G in Client/Server?

    Hi All,
    Can we run oracle Forms 5 Application with 10G in Client/Server
    Mode?
    Regards
    Gaurav

    In theory you can run it 2 tier - which means that you have the client (the machine the user is sitting at) being the same machine in which the forms application server is running. So yes. But specifically, we don't support a client server runtime anymore. 6i was the last version.
    With 10g you will be running through a browser.
    Regards
    grant

  • Does OCI client result cache and oracle UCP work together?

    I'm using Oracle 11.2.1.0. I've set up FCF and enabled OCI result cache on server side, so on client side, I'm using UCP for failover.
    this is my datasource configuration:
    <Resource name="jdbc/MyPool"
    auth="Container"
    factory="oracle.ucp.jdbc.PoolDataSourceImpl"
    type="oracle.ucp.jdbc.PoolDataSource"
    connectionFactoryClassName="oracle.jdbc.pool.OracleDataSource"
    url="jdbc:oracle:oci:@dbhost:1521/myDb"
    user="db_user"
    password="db_password"
    fastConnectionFailoverEnabled="true"
    onsConfiguration=""
    connectionPoolName="dbPool"
    initialPoolSize="5"
    minPoolSize="5"
    maxPoolSize="25"
    connectionWaitTimeout="10000"
    inactiveConnectionTimeout="120000"
    abandonConnectionTimeout="60"
    validateConnectionOnBorrow="true"
    sqlForValidateConnection="select user from dual"
    maxStatements="30"/>
    I've enabled OCI client result cache.
    I use /*+ result_cache */ in my query to take advantage of the result cache.
    so I execute the following scenario:
    i) select /*+ result_cache */ value from myTable where id=1; (this returns a result.)
    ii) update myTable to set a different value for id=1 record;
    iii) run select query again; (this should return a different result. oci result cache gets updated when table changes.)
    if I take out
    "sqlForValidateConnection" and/or "validateConnectionOnBorrow" (i.e. disable sql validation on borrow), the 2nd query after table update doesn't show the latest result. it's still showing the old query result.
    is this a bug? that UCP validation on borrow has an impact on OCI result cache function? this doesn't happen if using dbcp java connection pooling with OCI result cache.

    it turns out I ran the test against an oracle server that doesnt have FCF configured, nor ONS.
    once i switched to a correct oracle cluster, my test passed.

  • Oracle 11g Client Certification Matrix

    hi all,
    Can someone point me to Oracle 11g client certification matrix? I was trying to install it on Windows Server 2008R2, but looks like this platform is unsupported. If I manually verify the options the installer thinks are unsafe, will I create an unsupported environment?
    Please advise.
    Thanks in advance,
    Alla

    Which version of 11g ? 11gR1 is not certified with Win2008
    http://download.oracle.com/docs/cd/B28359_01/install.111/b32306/toc.htm#BABEHGHH
    For 11gR2, pl see MOS Doc 867040.1 (Statement of Direction: Oracle Database 11g Release 2 – Microsoft Windows 7 and Windows Server 2008 R2)
    HTH
    Srini

  • Memory leak using 10.2.0.3 OCI client on Solaris

    Hi,
    We are using OCI client libraries to connect our C++ program to the Oracle Database. The program does a lot of selects, inserts and SP calls.
    Oracle client and Oracle server both are 10.2.0.3.
    We have been observing a memory leak of 4M bytes in the C++ program every few minutes since last few days. On debugging through Purify, libumem, and Sun Studio 12, we finally managed to narrow down the problem to the Oracle client library OCI calls.
    The Sun Studio leak check shows the following -
    Leak #37, Instances = 157, Bytes Leaked = 655004
    kpummapg + 0x00000098
    kghgex + 0x00000648
    kghfnd + 0x000005BC
    kghalo + 0x00000A6C
    kghgex + 0x000003BC
    kghfnd + 0x000005BC
    kghalo + 0x00000A6C
    kghgex + 0x000003BC
    kghfnd + 0x000005BC
    kghalo + 0x00000A6C
    kpuhhalo + 0x00000558
    kpugdesc + 0x00000AD4
    kpugparm + 0x00000374
    COCIResultSet::InterpretData() + 0x000001B4
    COCIResultSet::COCIResultSet(COCIStatement*,OCIStmt*,OCIError*) + 0x000000A4
    COCIStatement::PrepareResult() + 0x00000190
    A select is executed, a resultset is fetched and the resultset is immeidately closed. The same piece of code has been running at various production systems without any problems. Most of the other sites are either 10.2.0.4 or 9i.
    On searching Metalink and various other forums, I found similar issues faced in 10.2.0.1.
    Could someone advise if there are any bugs corresponding to this which have been closed. Would upgrading to 10.2.0.4 solve the problem?
    Thanks.

    Hi,
    Apparently a similar issue is being discussed over here:
    Re: Memory Leak
    Hope it helps.
    Regards,
    Naveed.

Maybe you are looking for