Oracle Connection Cache

Hi Guys,
i�ve just downloaded the ojdbc14.jar library from Oracle Site and i am kind of lost using it.
What i want to do is when a physical connection isn�t in use anymore the application or the connection cache drop that connection.
Can anybody help me !?

I wrote my code like this:
ods = new OracleConnectionCacheImpl(ocpds);
ods.setCacheScheme(OracleConnectionCacheImpl.FIXED_WAIT_SCHEME);
ods.setURL(strURL);
ods.setUser(strUserName);
ods.setPassword(strPassword);
ods.setMaxLimit(2);
ods.setMinLimit(1);
ods.setCacheInactivityTimeout(1);
ods.setCacheFixedWaitIdleTime(1);
I�m not sure in how to use the last two lines (setCacheInactivityTimeout and setCacheFixedWaitIdleTime) and i don�t know if the parameter "1" is one minute or one second.
Thanx in advance.

Similar Messages

  • Oracle 10 Connection Cache (another question)

    Hi all,
    We have a large web app which currently uses JRun connection pooling. This is causing some problems so we'd like to try the Oracle Connection Cache mechanism. The thing is, each time a client gets a database connection, it runs a connection factory which looks up the datasource with jndi then creates the connection. So, in order for the Oracle 10 Connection Cache to work, do I need to change the logic so the datasource is static & we just do the look up once & set the cache-related properties at that point so every connection uses the same datasource object? This seems to me the way to go.
    Thanks very much,
    Jim Greetham

    Perfectly Yes. If we try using Oracle's own Cahceing mechanism, it is out of our control. But if we custom deploy our own cacheing mechanism according to our need like you said, we need to develop our own codes using ojdbc6 driver available from Oracle.

  • Keeping a connection cache alive between program executions (pool)?

    Hey all,
    I am using the Oracle Connection Cache to maintain a connection pool. I have a java application that simply retrieves a document from an Oracle 8.1.7 database during each execution. In order to avoid the overhead of establishing a connection every time this simpe application executes, I'd like to use a connection pool/cache. However, I am not sure how to keep this connection cache "alive" between executions of my program. Basically, I would like to keep a connection cache to the database for an infinite amount of time. Does anyone know how I would do that? This way, my Java application will never have to make a new physical connection to the database in order to retrieve a document. I would really appeciate any help as I have spent a lot of time searching/reading/testing.
    Thanks,
    Marcus

    An application server would be the easiest solution, at least from a high level. Application servers exist to provide services like connection pooling to Java applications-- they're very good at it.
    If we're talking about code that's already been designed and written and whose deployment would be adversely affected by going to an application server, converting the process to a deamon would probably be the easiest approach.
    If you were to go down this road, you'd first have to identify what precisely should trigger the application to run. Perhaps it's a GUI, perhaps it's the creation of a file in a certain directory, etc. Then, you'd need to have a thread that monitored that (or registered as a listner for the appropriate event if we're talking about a GUI) and "woke up" the application.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • Question on Oracle's Connection Cache

    Hi,
    I am using JSP's Javabean to connect to the database using Oracle's OracleConnectionCacheImpl for Connection Cache.
    My question is if I should synchronize the methods to initialize the Cache and to return the Connection object using the the cache? Thanks.

    I am facing problems with using Oracle's Implicit Connection cache and it returns 'null' connection from OracleDataSource when the maxLimit is reached and what I noticed is the OracleConnectionCache doesn't seem to return cached connections between running multi-thread requests.
    Scenario to produce the problem:
    1) Create a sample JSP file that uses 2 connections and close the 2 connections in 'finally' clause (print the active and idle connections before and after the datasource.getConnection()). Make sure you set the connectionCachingEnabled to true on your datasource.
    2) Define the maxLimit and other connectioncache properties in your context.xml file
    3) Run the test plan using JMeter and you can see that the connection becomes 'null' even though you are closing the connections right after its being used.

  • Oracle 9i - Invalid or Stale Connection found in the Connection cache

    Hi all,
    I did the following steps:
    1. Deployed my application in Jboss and started the jboss and my application.
    2. Re-started my database when the application is alive and running.
    3. Tried to login to the application.
    4. I got the following exception:
    NO MORE DATA TO READ
    5. Then i set the Oracle Data Source property DB_VALIDATE_CONNECTION=true via my application.
    6. But still i get the following exception when i log in first time to the application. But not in subsequent attempts. I am able to login to the application except for the first time.
    “java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache”.
    Please let me know why this exception occurs.
    Thanks!!

    The error looks like a generic jdbc/database problem. Will the error go away if you restart mapviewer?

  • Connection Caching and Connection pooling

    Hi,
    I have question its about a concept which has been introduced by oracle called as connection caching (not sure if its a accepted in other app servers). I had a look at it and it is similar to wht a connection pool does. So can anyone out there explain me wht is the actual difference between these ?
    Thanks!

    i would ignore the idea all together, unlessyour
    connection has state or something, here readthis:
    http://nikhilb020875.wordpress.com/2006/05/24/cache-vs
    -pool/Hard to say for sure but I would guess your response
    is meaningless. It certainly isn't clear to me why
    you think that link is relevant.if you had read the first 2 lines from the page..I read the entire link.

  • Invalid or Stale Connection found in the Connection Cache

    Hi, all.
    I try to use Oracle MapViewer 11g to display real-time GPS data - JavaScrip API refreshes FOI every 10 seconds. And I get every 3-4 minutes "Invalid or Stale Connection found in the Connection Cache" error. Does anybody know how to prevent it?
    Thanks,
    Ihor.
    P.S. Here is the stack trace from mapviewer.log:
    24-Nov-2009 2:41:15 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:15 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:18 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:18 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:21 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:21 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:21 PM oracle.lbs.foi.FOIServlet doPost
    SEVERE: MAPVIEWER-06009: Error processing an FOI request.
    Message:Error fetching theme based FOI data.
    Tue Nov 24 14:41:21 EST 2009
    Severity: 0
    Description:
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:46:15 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:46:15 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:46:15 PM oracle.lbs.foi.FOIServlet doPost
    SEVERE: MAPVIEWER-06009: Error processing an FOI request.
    Message:Error fetching theme based FOI data.
    Tue Nov 24 14:46:15 EST 2009
    Severity: 0
    Description:
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:48:04 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:48:04 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:48:04 PM oracle.lbs.foi.FOIServlet doPost
    SEVERE: MAPVIEWER-06009: Error processing an FOI request.
    Message:Error fetching theme based FOI data.
    Tue Nov 24 14:48:04 EST 2009
    Severity: 0
    Description:
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:50:45 PM oracle.lbs.foi.ThemeAbortingThread run
    WARNING: Aborting theme: killing the theme rendering thread forcefully.
    24-Nov-2009 2:50:54 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:50:54 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)

    The error looks like a generic jdbc/database problem. Will the error go away if you restart mapviewer?

  • Connection Cache change from 8.1.6 to 8.1.7?

    We are using Oracle's ConnectionCacheImpl class for our connection cache in an 8.1.6.3 application. When we move the app to 8.1.7.1 it seems like the app is only letting one connection through at a time.
    Are there any changes in connection pooling or cacheing between 8.1.6 and 8.1.7?
    System is SPARC Solaris 8, Thanks!

    I have no any problems after upgrade from 8.1.6 to 8.1.7.
    To ensure correct work of spatial functions, do not forget to validate packages and procedures in MDSYS user after upgrade :)))

  • Forms6i Server (9iAS R1.x) loadbalancing using Oracle Web Cache

    Hello,
    I have read that it's possible to use Oracle Web Cache as a software load balancer between multiple Application Servers.
    We are running Oracle9iAS R1.0.2.2.2a, with Forms/Reports6i servers on 2 Win2k boxes i.e our Forms6i application is deployed on two seperate boxes in two distinct locations. Users at each location, use their respective App Server url.
    Since the application is the same i.e. Forms6i code/fmx is the same for both locations, I am looking into loadbalancing and failover capability that Web Cache might be able to provide.
    So basically all users from both locations will point their browser to this Web Cache and the Web Cache will direct each connection to either of the two boxes. So, if either of the boxes dies, Web Cache will divert the requests to the other box.
    My concern is whether Web Cache supports this for the Forms requests that it will receive from the users. We are using Servlet Deployment of Forms.
    Has anyone done this or has any ideas as to whether it's going to work or not?
    Thanks,
    Manish

    Manish,
    we tested this but came across problem with Webcache that have to do with the jsession Forms uses. This is fixed for Oracle9iAS 9.0.2.x. So if you want to run Forms with Webcache in front, then please do this using the latest version of Oracle9iAS V2 Webcache. For Oracle9iAS V1 and Forms Services we recommend not to use Webcache but do the load balancing via JServ.
    Frank

  • Statement cache  in connection cache

    In my application , i have implemented connection cache mechanism using OracleConnectionImpl class, my application
    gets the connection from connection cache and it makes JDBC calls(SELECT,UPDATE),and returns connection back to connection cache.
    i am doing above steps repedetily, i am trying to implement statement cache mechanism for performance reasons, is statement cache
    mechanism is suitable for above scenario.
    i learned that statement chache is associated with a physical connection, in my case i am getting physical connection instances from a connection cache ,
    using the connection for making JDBC calls and return back to cache. i am using several physical connection instances using connection cache,
    is statement cache suitable for my application?
    i need some help
    thanks

    Hi Elango,
    Thank you, I have downloaded latest jdbc driver (9.2) as u suggested, now it's working well, but i found another problem in my application, as am using CLOB datatypes in my application, when i changed my driver classes to above one i am getting following problem while working with CLOB.
    here i am giving my error stack:
    java.io.IOException: No more data to read from socket
    at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
    at oracle.jdbc.driver.OracleClobWriter.flushBuffer(OracleClobWriter.java:270)
    at oracle.jdbc.driver.OracleClobWriter.close(OracleClobWriter.java:232)
    my application code as follows
    BufferedReader xmlReader = new BufferedReader(new StringReader(clobXML)); //my xml string
    CLOB clob = ((OracleResultSet) dbresultset).getCLOB(1);
    Writer writer = clob.getCharacterOutputStream();
    // writing xml into clob
    String xmlString = "";
    while ((xmlString = xmlReader.readLine()) != null) {
    writer.write(xmlString);
    xmlReader.close();
    writer.close(); //problem here
    when i am trying to close or flush the stream,it's giving above problem, otherwise it's working fine, but no data is stored in database.
    the above code was working fine with my old driver classes.
    any idea?
    Thanks,
    Sasi

  • 10g (10.2.0.2) driver XA Connection Cache / xa connection pooling

    According to this table: http://download-east.oracle.com/docs/cd/B19306_01/java.102/b14355/overvw.htm#BABEAJHG, the XA Connection Cache was implemented in the 10.2 driver. However, I can't seem to get this to work. I noticed another user posted regarding this exact same problem about a month ago. Has anyone had any luck with this? Once I enable caching, I always get this exception:
    SQLException: Can not use getXAConnection() when connection caching is enabled.
    My code follows the code found here: http://download-east.oracle.com/docs/cd/B19306_01/java.102/b14355/concache.htm#CACDBBJI. Basically:
    OracleXADataSource ods = new OracleXADataSource();
    ods.setConnectionCachingEnabled(true);
    ods.setConnectionCacheProperties(properties);
    ods.getXAConnection(); // <---- throws exception

    I would try connecting using an Oracle 8i client. Using a 10g client to connect to an 8i database is asking for trouble.
    For example, someone in the following link got the same error as you, apparently through using an unsupported version of TOAD. It doesn't prove that your error is also due to an incompatible client, but I would start there. If you still get the same error when using an 8i client, we can look at other possibilities.
    http://dbaspot.com/oracle-tools/411067-not-able-create-tables-using-toad.html
    Edited by: karluk on May 12, 2011 3:07 PM

  • Oracle Connection object is not getting instantiated

    We have a Web application developed in .net (code behind vb.net) using Visual Studio 2003 and Oracle Database 10G version 10.1.0.2. We have a test machine which we use to test our Web application with the same version of oracle. Our web application was working fine in that test machine until Oracle got corrupted in the that machine. After that I reinstalled Oracle 10G and when I tried to run the web application it threw an exception saying "Object Reference Not set to instance of an Object". When I went into that problem a bit deeper , I came to know that Oracle Connection Object was not getting instantiated (ie OracleConnection object=nothing). At the same time the web application is working fine in my machine. One of my friend suggested me that I have to register some of the Oracle DLL files using regsvr32 utility. But he is not sure which DLL to be registered. Also we do have a Windows Application developed in .net using the same VS2003 and oracle 10 G which is running fine in the same test machine.

    Thanks for the reply. I was desperately waiting for that.
    I found the following result when I run the gacutil utility on my machine.
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess,version=10.2.0.100, Culture=nuetral, PublicKeyToken=89b483f429c47342, Custom=null
    The cache of ngen files contains the following entries:
    Number of items = 1
    But when I used the same utility on the test machine it resulted as follows
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess,version=10.1.0.200, Culture=nuetral, PublicKeyToken=89b483f429c47342, Custom=null
    The cache of ngen files contains the following entries:
    Number of items = 1
    That is there was change in the version of ODP.net what I use in my machine and Test Machine. But I clearly remember that I have installed Data Access layer DLL's of the web project from my machine to the test machine and were running successfully befor eoracle got re installed on that test machine.

  • Invalid connection cache name error while invoking a bpel process

    while invoking a service via DB adapter ,it gives invalid connection cache name orabpel 00000 error. the JCA connection is set properly and its reffered via jndi name in code. i tested the connection in EM and its working fine.
    Few transactions have passed and thereafter i'm getting this error.
    is there any parameter that needs to be set. Someone can help here!!

    Have got the same problem. Scenario at my end is little different though.
    I am trying to invoke a BPEL process from an ESB Service.
    I am trying to look into it..
    However, would be grateful, if someone can give some insight into this since many are running into this issue without being able to fix.
    Ashish.

  • Oracle Connection Pool failure in COM+

    I am having some trouble trying to get a specific database to work with an application that makes use of a COM+ Application. When we point the application at the UAT database everything seems fine, but when we point it to the production database after a few successful calls it ends up failing at the COM+ application recycles. The event viewer provides the following information:
    Event Type:     Error
    Event Source:     COM+
    Event Category:     Unknown
    Event ID:     4786
    Date:          8/5/2007
    Time:          12:54:46 PM
    User:          N/A
    Computer:     APPL_SERVER
    Description:
    The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
    Component Prog ID: Oracle Connection Pool - tnsnames_alias
    Method Name: IDispenserDriver::CreateResource
    Server Application ID: {30A93CB3-25EB-4258-8C88-5AE103B7B86F}
    Server Application Instance ID:
    {A57C513E-519F-45BD-B46D-DC54B285F534}
    Server Application Name: COM+ Application Name
    The serious nature of this error has caused the process to terminate.
    Exception: C0000005
    Address: 0x7C8327F9
    Call Stack:
    + 0x7c8327f9
    ntdll!RtlFindActivationContextSectionGuid + 0x7d2
    ntdll!RtlInitializeSListHead + 0x175
    ntdll!RtlFindActivationContextSectionGuid + 0x1b7
    msvcrt!malloc + 0x6c
    oracommon9!sktsfMalloc + 0x14
    orageneric9!kpummapg + 0x58
    orageneric9!kghalo + 0xabb
    orageneric9!kghalf + 0x102
    orageneric9!kopo2cpc + 0x61
    orageneric9!kopeini + 0x1d
    orageneric9!kopo2cpc + 0xd2
    orageneric9!kopopgi + 0x117
    OraClient9!koudpnp + 0x712
    OraClient9!koudpnp + 0x101
    OraClient9!kpuinit0 + 0xb19
    OraClient9!kpuinit + 0x38
    OraClient9!OCIEnvInit + 0x1c
    oramts!kpntsrvr::kpntsrvr(class kpntdbid *) + 0x80
    oramts!kpntdbid::allocNewSrvr(struct SIDAND_ATTRIBUTES *) + 0x138
    oramts!kpntdbid::GetSrvr(class kpntsvrl * *,unsigned long) + 0x7df
    oramts!kpntdisp::getNet8conn(class kpntsvrl * *,unsigned long) + 0x41
    oramts!kpntsess::initOCI(void) + 0xec
    oramts!kpntsess::sessionBegin(void) + 0x17b
    oramts!kpntdisp::CreateResource(unsigned long,unsigned long *,long *) + 0xc4
    COMSVCS!DispManGetContext + 0xa3d
    COMSVCS!DispManGetContext + 0x1fee
    oramts!kpntdisp::allocateConnection(class kpntsess * *,unsigned long,class kpntrtyp *) + 0x3c4
    oramts!_kpntsvcgetex + 0x183
    oramts!_kpntsvcget + 0x25
    oramts!kpntctra::getConnectionAndHandles(class kpntrtyp *,struct OCISvcCtx * *,struct OCITrans * *,struct OCIError * *) + 0x87
    oramts!kpntctra::abortBranch(struct xid_t &,class kpntbrnch *,struct BOID *,int,struct BOID *) + 0x15a
    oramts!kpntctra::doAbort(struct BOID *,int,struct BOID *) + 0x454
    oramts!kpntajob::doJob(void) + 0x27
    oramts!kpntjobq::serviceRequest(class kpntjob *) + 0x3e
    oramts!workerThread(void *) + 0xd0
    msvcrt!_endthreadex + 0xa3
    kernel32!GetModuleFileNameA + 0xeb
    Not being an expert in Oracle, I have been able to dig up a little bit of information that might be of use ...
    a) Our tnsnames.ora indicates that the connections are to be DEDICATED and running Toad bares this out -- dllhost ends up with a single connection.
    b) most of the database initial set of parameters seem to be very similar. The only difference I noticed was that the archive log mode and db_cache_advice are ON for production.
    c) We have little control over how the connection strings are being created internally in this COM+ application, but however they are created it works for UAT and doesn't for PROD.
    d) When we go into our web application and hit a page that makes use of the COM+ component to render, it will work the first time but when I do a simple browser refresh it will usually fail on the 2nd or 3rd time. Almost like it is trying to expand the connection pool size and the oracle server is throwing up.
    If I didn't mention earlier the two database instances run on different servers but the application server is exactly the same. We only change the alias we are using for the database (both are defined in tnsnames) and the password used to make its connection.
    Does anyone have any clues on this one? I am really spinning my wheels trying to figure out what could cause this type of situation. Anything at all would be very helpful.

    It appeared to us that the problem was with the Oracle server and that it might have been failing when we were trying to expand our application connection pool size or basically obtain more connections.
    The biggest indicator of this is that we run the same application code against two different databases and one works and one does not work. Having said this, I suppose the problem could be rooted in a data error instead of an oracle server error ...
    Is there a specific trace file on the oracle server that would help me point to any error that is truly an oracle server error? Sorry I am very new to Oracle.

  • Crystal report - and oracle connections

    hi to everyone
    i installed client  of oracle
    and after that - the crystal report 2008 sp3
    when i open new (blank page) - and looking for a oracle connection
    its look like he doesnt exist.
    please if someone know why i cant see the connection to oracle/
    yossi bar

    Hello,
    CR looks for the Oracle \bin folder in the PATH statement. If it can't find it then the option to select Oracle native driver will not show.
    Thank you
    Don

Maybe you are looking for