Unable to use Cache connect to oracle

Hi Friends,
I am using TimesTen Cache connect to oracle to connect to Oracle 9i. When I tried to
Command> call ttCacheUidPwdSet('testuser','mypsswrd'); it gave me an error saying
"con1: Command> call ttCacheUidPwdSet('TestUser', 'prashant');
Warning 5105: OCI initialization failed: Error due to failure of ttOCIEnvNlsCre
ate (called from ttBDbEnvAlloc/ttBDbInit).
Warning 5109: Cache Connect general error: BDB connections not open."
can anybody tell me what could be the problem.
And to use cache connect is there a separate installation ? or setting ?
Thanks,
Prashant

What exact version of Oracle client is installed on the TimesTen machine? Are the permissions for the Oracle client directory and files set correctly? Do you have your Oracle environment properly setup (i.e. can you connect to Oracle using SQL*PLUS)? When you installed TimesTen, did the user you used to install it have a valid Oracle environment?
This type of error is almost always due to an unsupported version of the client or an incorrect environment either at runtime or at installation time.
Chris

Similar Messages

  • Does TT cache connect support Oracle 8.1.7.4 as backend database?

    Can TT (702) cache connect support Oracle 8.1.7.4?
    thanks

    No, I'm afraid not. We only support 9.2.0.8 or 10g. There is no longer support for 8i.
    Sorry,
    Chris

  • Oracle Timesten Unable to stat Cache Connect

    Hi,
    Can Anyone help me out with this error
    http://localhost:16004/cache/
    I give DSN,username,password and when I give login , the following error is displayed
    ERROR in ttBackEnd.c, line 887: prepare failed
    ODBC Error/Warning = S1000, Additional Error/Warning = 5221
    TT5221: Oracle syntax error in OCIStmtExecute(): ORA-00923: FROM keyword not found where expected rc = -1 -- file "bdbConnect.c", lineno 1010, procedure "isRACEnabled()"

    What exact version of Oracle client is installed on the TimesTen machine? Are the permissions for the Oracle client directory and files set correctly? Do you have your Oracle environment properly setup (i.e. can you connect to Oracle using SQL*PLUS)? When you installed TimesTen, did the user you used to install it have a valid Oracle environment?
    This type of error is almost always due to an unsupported version of the client or an incorrect environment either at runtime or at installation time.
    Chris

  • Cache connect to oracle

    i have timesten in windows xp. my timesten connect with my oracle database.
    i have more 100 data in my database. if i open with timesten there are 1 or more data miss.
    example i open employees table from user HR. there are 1 missoing data. or i open costumers table from sh.
    no data show in timesten.
    why? and any suggestion?
    thanks before

    1. What kind of cache groups are youy using (READONLY, AWT, SWT etc.)?
    2. When did you initially populate the cache groups from Oracle using LOAD CACHE GROUP?
    3. Has the cache agent been running correctly since you first populated the cache groups?
    4. Where have updates (insert/update/delete) been executed since you populated the cache groups? Oracle? TimesTen? Both?
    Chris

  • Unable to use "easy connect" method to XE database

    All,
    I have an XE database running on Oracle Enterprise Linux. If I create a tnsnames.ora entry I can connect to the server fine. However, if I try to connect via the easy connect method
    sqlplus user@host:port:sid it fails with
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    the hostname I am using is definitely correct and I've also tried with ip address and get same error message. If I change from SID to SERVICE_NAME
    sqlplus user@host:port/service
    I get the following error message
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I've used both XE and xe as service name. The service name in my tnsnames.ora entry that works uses lower case xe for service name.
    Any help out there would be appreciated.

    Maybe this is more significant for you ?
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\User1>sqlplus test/test@xe
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Feb 3 14:05:49 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name: test/[email protected]/xe
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>

  • How to use pool connection run oracle procedure?

    Hi, All:
              I am facing a difficulty I can not find the solution. Maybe you can help
              me.
              I want to call an oracle stored procedure whenever I talk to datebase to
              make the application more efficient. I was able to run the procedure using
              oracle thin driver but not the connection pool using Weblogic jDriver for
              JDBC2.0.
              Please check the following code and see what I did wrong:
              The code in JSP file in Weblogic:
              <%-- JSP page directive --%>
              <%@ page
              import="java.io.*,java.util.*,java.sql.*,weblogic.common.*,weblogic.jdbc20.c
              ommon.*" %>
              <%-- JSP Declaration --%>
              <%!
              protected Connection con = null;
              ResultSet rset = null;
              %>
              <%-- JSP Scriptlet --%>
              <% try {
              Properties props = new Properties();
              props.setProperty("user", "james");
              props.setProperty("password", "aimjames");
              Driver myDriver =
              (Driver) Class.forName
              ("weblogic.jdbc.pool.Driver").newInstance();
              con = myDriver.connect("jdbc:weblogic:pool:hdj2Pool", props);
              String userid = (String)session.getAttribute("user.id");
              int subid =
              Integer.parseInt((String)session.getAttribute("sub.id"));
              String query = "begin pkg_select.sel_req_in_001(" + userid +
              ", " + subid + ", ?); end;";
              weblogic.jdbc.common.OracleCallableStatement cstmt =
              (weblogic.jdbc.common.OracleCallableStatement)con.prepareCall(query);
              cstmt.registerOutParameter(1,java.sql.Types.OTHER);
              cstmt.execute();
              rset = cstmt.getResultSet(1);
              When I run this JSP file, the compilation is fine but the result shows
              nothing. That's means I can not get the ResultSet for some reason.
              The working file when I use oracle thin driver (NOT use a connection pool):
              String userid = (String)session.getAttribute("user.id");
              int subid = Integer.parseInt((String)session.getAttribute("sub.id"));
              String query = "begin pkg_select.sel_req_in_001(" + userid +", " +subid
              +", ?); end ";
              CallableStatement cstmt = con.prepareCall(query);
              cstmt.registerOutParameter(1,OracleTypes.CURSOR);
              cstmt.execute();
              ResultSet rset = (ResultSet)cstmt.getObject(1);
              You may notice that I am trying to bind a parameter to an Oracle cursor. Is
              there anything I did wrong in using weblogic API? I just want to let you
              that in the weblogic JSP file, I also tried to use
              weblogic.jdbc.oci.CallableStatement and
              weblogic.jdbc20.oci.CallableStatement instead of
              weblogic.jdbc.common.OracleCallableStatement, but none of them seems work.
              I did check the bea site at
              http://www.weblogic.com/docs51/classdocs/API_joci.html#1080420 for the
              example to use:
              cstmt.registerOutParameter(1,java.sql.Types.OTHER);
              and I think I followed the exact procedure the example did.
              Please help!
              James Lee
              Artificial Intelligence in Medicine, Inc.
              2 Berkeley Street, Suite 403
              Toronto, Ontario M5A 2W3
              Tel: 416-594-9393 ext. 223
              Fax: 416-594-2420
              Email: [email protected]
              

    Joseph
    Thanks for the suggestion about latest version of Weblogic Server.
    "coding best-practices" is not mentioned in the post.
    In order to make servlet application run significantly faster, my servet how to use connection poo is much moreresonable?
    It is reasonable to expect servlet to run significantly faster with connection pooling.
    Is it true that geting and close a connection whenever
    one time database access finished?
    Already answered. Applications use a connection from the pool then return it when finished using the connection.
    Will the solution affect the servlet performance?
    Yes. Already answered. Connection pooling enhances performance by eliminating the costly task of creating database connections for the application.
    Is there any official document to introduce connection pool program?
    For the latest version
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13726/toc.htm
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13737/jdbc_datasources.htm#insertedID0

  • Using multipool Connections with Oracle 8i OPS Parallel Server

    Does anyone have any experience using multipool JDBC connections with Oracle 8i OPS? During a oracle node failure, we are seeing all of the connections fail. Any help you could give me her would be greatly appreciated!

    hal lavender wrote:
    Hi,
    I am trying to achieve Load Balancing & Failover of Database requests to two of the nodes in 8i OPS.
    Both the nodes are located in the same data center.
    Here comes the config of one of the connection pools.
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db1Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.160:1421:dbinst01" />
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db2Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.161:1421:dbinst01" />
    <JDBCMultiPool AlgorithmType="Load-Balancing" Name="pooledConnection598011"
    PoolList="db1Connection598011,db2Connection598011" Targets="ngusCluster12,ngusCluster34" />
    Please let me know , if you need further information
    HalHi Hal. All that seems fine, as it should be. Tell me how you
    enact a failure so that you'd expect one pool to still be good
    when the other is bad.
    thanks,
    Joe

  • Cache connect for Oracle

    We have an application which calls PL/SQL stored procedures in an Oracle 9 Db. Is there any way to use the cache connector for Oracle where the application will use the TT DB instead of the Oracle DB without needing extensive changes to the application?
    Any help is appreciated!

    Hi user487815,
    The TimesTen IMDB does not support PL/SQL stored procedures. For your application, you should select the performance critical procedures and convert them to either ODBC or JDBC SQL calls.
    -scheung

  • Unable to use share feature in Oracle Linux 6.4

    Hi,
    Please help us to use share feature in Oracle Linux 6.4.
    what extra steps, configuration and functionality needed be to changed in Oracle Linux Environment?
    Regards,
    Arvind 

    Hi Arvind,
    Is this query regarding Azure Files Share feature?
    If yes, I'm Afraid Azure Files is not supported in Oracle Linux 6.4.
    However, a request has been raised with the Product group for this feature and they might consider it in the future.
    Regards,
    Malar.

  • Help : Unable to use Java Beans in Oracle forms 6i

    Hi ,
    I have been trying to run few sample code to understand how to use Java beans in oracle forms 6i .But have been largely unsuccessfull.
    It will be great if somebody can provide me with some simple form( and java code )which uses java beans concept to give some data to the java program and receive some data from it . Pls inform me about the settings that need to be done.
    If you guys know it then pls take the pains of writing a simple form and java code.
    i hope somebody will respond because your reply is very necesary for me to proceed.
    U can email me the code > [email protected]
    Thanks in advance.

    Thanks for your reply Francois.
    Actually i am not facing problem understanding the programming technique.
    I think the problem at my end is more of a cofiguration one.I am using forms version 6i
    on oracle 8.
    Every time i set the imlementation class property of the bean area it gives an error 13010 which translates to that "the class being mentioned is not extending the IView class".
    The class i have written extends VBean so i am not sure why this error is occuring.
    I think if oracle (correctly) finds the java class to use then i will be able to proceed.
    Pls reply.
    If you have some code that is working fine then pls send it to me.And also inform is some environment variables have to be set for its use.

  • Unable to use Internet Connect with my new wireless device

    I just received a new wireless device for my macbook pro. Normally I sign on with Internet Connect, but after setting up the new card, I can only connect using Verizon Manager, which usually doesn't give me good connection, I don't know why.
    I called the Verizon people, they mostly are clueless as to how I was able to sign on using both Internet Connect and Verizon Manager before with my old card. I remember there's a way of setting up manually if you want to use Internet Connect. Problem is, when I went to Systems Preferences and clicked on Network, a pop up prompt saying "your network setting have been changed by another application" keeps popping up even as I keep closing it. ***?!!! How can I get rid of it so I can change network setting manually?
    I just want the option of connecting with Internet Connect with my new wireless device. BTW, when I try connecting with it using my old setting National access/ Broadband access , I get a message saying "the selected communication device does not exist".

    "I just received a new wireless device"
    If not from Verizon, then who? Did it come w/a manual? If not, have you contacted the vendor/manufacturer for instructions?
    ==========
    "A Fix for "Your network preferences have been changed by another application" Error
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting"
    !http://i50.tinypic.com/izvwo1.gif!

  • Unable to establish a connection to Oracle 9I database from Developer Forms

    I've installed the Oracle 9I database in the Windoes NT server with SID = ORA9i. Using the SQL*plus coming with oracle 9I database, I can connect to the database. I've also installed the Developer with Forms 6I and Reports 6I in the same computer. I tried to establish a connection to the Oracle 9I from Developer through "Oracle Net8 Easy Config". After giving the settings, when I do a connection test, it is giving the error "TNS Could not resolve the Service Name".
    the following is the entry in the 'tnsnames.ora' file
    TEST9I.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST = ((PROTOCOL = TCP)(Host = ntserver)(Port = 1521))
    (CONNECT_DATA = (SID = ORA9i))
    Can somebody tell me how to make a connection from Developer (Forms6I and Reports 6I) to Oracle 9I database.
    Thank you.

    hi matz,
    i tried this one too, but it is not working. giving the same error. if i've making a connection thru the 'Oracle Net8 easy config', it is giving the following error at time of connection test.
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    this is the message i'm getting. but i couldn't find any error in the fields i entered.
    if i'm editing the 'tnsnames.ora' file and make the connection, and when i open the Form builder and try to connect to the database, it is giving a memory error.
    the instruction at "0x67614f04" referenced memory at "0x000000160". The memory could not br "written".
    i don't know why it is happening. i can connect from the same forms to Oracle 8i database. is there any additional settings we need for Oracle 9i on windows platform?
    regards
    george

  • Unable to use camera connection kit

    I downloaded IOS5 to my ipad2 and lost my pictures when I try to redownload them using my ipad camera connection kit it tells me it doesn't recogize the device any suggestions?

    Which part of the kit are you using, the cable to camera connection or the SD card reader ? If the SD reader then how are the photos getting onto the card, direct from the camera or from your computer ? If you are adding them to the card then you need to create a DCIM directory off the root of the card, with the photos underneath it, and the photo filenames need to be exactly 8 characters long (no spaces) plus the file extension i.e. in a similar format as if a camera had created/written them

  • TimesTen Cache Connect support for Oracle 11g

    The latest 7.0.5 readme mentioned that "Oracle Release 11gR1 is supported with TimesTen Cache Connect to Oracle on Linux x86 32-bit and 64-bit platforms, and on Windows 32-bit."
    What about Solaris 10? It looks like on Solaris 10 only Oracle 10gR2 being supported. What is so specific about Oracle 11?
    Thank you,
    Alex

    TimesTen 7.0.5 can be used to cache data from different versions of Oracle database.
    The reason why the support for Solaris, AIX, and HP-UX were not at the same time as the Linux platform was because Oracle database 11g was not available on those platforms initially. So TimesTen 7.0.5 was certified to support only the ones available first, and support for other platforms was added as 11g became available on those platforms. It was just timing of the certification, code base is the same.
    Susan

  • Using once created prepared statement with different connections in Oracle

    Can I use same statement cash using different connections in Oracle
    For example I have a prepared statement p1. After its using i close connection (return it to the pool)
    Next time I want use p1 statement using another connection.
    Question : When I creat p1 in second time ,is it returned from cash or created as a new statement. And what I should do to use once prepared statement using differend connections.
    Thaks.

    As far as I know a PreparedStatement lives and dies with the Connection that created it. So, you cannot use a PreparedStatement with other Connection instances than the one that created it.
    You will have to recreate the PreparedStatement for each time you open a connection, or use the same PreparedStatement and NOT close the Connection in between. The last suggestion can be risky though, if you never close the connection...
    Jakob Jenkov
    www.jenkov.com

Maybe you are looking for

  • How do I install Photoshop 4 from XP to 64-bit Windows 7

    My XP machine, on which I used Photoshop 4, has failed.  I've ordered a new PC run by 64-bit Windows. I first obtained Photoshop Ver 3 on a CD/DVD, upgrading to Ver 4 online. How do I now install Ver 4 onto the new Win 7 machine? Regards.....Noel

  • Updates Pixi Problem

    Hi everybody! I'm living in UK and I bought new german O2 palm pixi qwertz without simlock on ebay.co.uk. After update on 1.4.5 didn't work "system sound's" properly (i didn't heard any of them like tap on phone app keys, new sms notice etc). I tried

  • Je n'arrive pas à télécharger sur mon iPad un fichier pdf sur un site web merci pour votre réponse!

    Me manque t'il une application? Qd je clique sur télécharger (sur le site), il ne me propose que la phototèque ou bibliothèque! Pas un fichier sur Adobe Pdf!

  • For Macs next trick: Quicktime 7.6 magically disappears! .

    Who else has had QuickTime 7.6 magically disappear? I updated, it disappeared, I reinstalled it doesn't show up ANYWHERE. I installed from the Mac OSX Install disc AND from the QT  web site. Nothing. The problem started when I went to upgrade to QT 7

  • Ipad calander - seems like a bug

    it seems like a bug: a whole day event in ipad calander appears 1 day earlier than the event day. Whether the event was generated on MS Outlook and was synchronized to the ipad, and wheater the event was generated on the ipad while not connected to t