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.

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.

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

  • Oracle BPEL connection to Caché/MUMPS

    Hello,
    Im looking for any docs on Oracle BPEL connection to Caché/MUMPS, wonder if anyone can assist me.
    Thank you.

    John,
    that's really interesting. Could you explain what was "corrupted" in ns_emails.xml? Do you know why and how it was affecting test connection in JDeveloper for BPEL server connection? And how did you discover this (through which logs, what exception lead you to this issue)?
    Thanks
    Peter

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

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

  • 500 Internal Server Error oracle.apps.fnd.cache.CacheException

    I have been trying to access a new instance using JDEV, but i have been getting this error:
    Can anyone help me ?
    500 Internal Server Error
    oracle.apps.fnd.cache.CacheException at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891) at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1027) at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:223) at OAErrorPage.jspService(_OAErrorPage.java:62) [OAErrorPage.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at runregion.jspService(_runregion.java:193) [runregion.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712) at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802) at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624) at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216) ... 50 moreCaused by: oracle.apps.jtf.base.resources.FrameworkException: An exception occurred in the method CacheAccess.getnullThe base exception is:null Connection at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607) at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585) at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66) at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88) at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202) at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218) at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249) ... 54 more

    Hi Pardeep,
    I was getting the same error. I have copied the JDK 1.5.0_16.zip from other user and unzip in the folder of mine like AB12020 where I have installed the Jdeveloper or might be your DBC file get corrupted.
    Check out..
    Thanks
    Anil Sharma
    PS-Pls marked ur questioned as answered and close the question.
    Edited by: OAFUser on Jan 15, 2009 9:43 PM

  • Oracle.apps.fnd.cache.CacheException while generating Auto Reports

    Hi,
    Please help me in resolving out the ERROR occured while dealing with Automated Report Generation.
    Following is the Error Message:
    Weekly Report Generator starts running at:Tue Jun 24 14:41:47 IST 2008
    connection oracle.jdbc.driver.T4CConnection@789144
    Generating Health Summary Report for: _11_5_1.html
    oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDataba
    seValues(DebugEventManager.java:1149)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(Deb
    ugEventManager.java:1010)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(Debug
    EventManager.java:979)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEv
    entManager.java:946)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEv
    entManager.java:933)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:932)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :917)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :882)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:742)
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:933)
    at uttara.oracle.apps.uttaraimc.reports.jasper.HealthSummaryReportGenera
    tor.getServiceApplicationModule(HealthSummaryReportGenerator.java:110)
    at uttara.oracle.apps.uttaraimc.reports.jasper.HealthSummaryReportGenera
    tor.generateReport(HealthSummaryReportGenerator.java:40)
    at uttara.oracle.apps.uttaraimc.reports.jasper.WeeklyReportGenerator.gen
    erateWeeklyReports(WeeklyReportGenerator.java:75)
    at uttara.oracle.apps.uttaraimc.reports.jasper.WeeklyReportGenerator.mai
    n(WeeklyReportGenerator.java:27)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache
    : java.lang.NullPointerException: null Connection
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:678)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4684)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4507)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    ... 20 more
    Error: Report cannot be created at: /oracle10/oracle/viscomn/java/oracle/apps/me
    dia/CDV/CDVReport/HTML/Auto/Weekly/24_06_2008/ status: false
    Error:oracle.apps.fnd.cache.CacheException
    No. of reports generated:0
    ************************************************************************

    It looks like the reports to be created is trying to use
    /oracle10/oracle/viscomn/java/oracle/apps/media/CDV/CDVReport/HTML/Auto/Weekly/24_06_2008/
    And it can not write in that location. Specify a different folder or check the permisisons/free space avaialable.
    Rajesh Alex

  • Select in Oracle's Connection

    Hi
    I've had two connection, one for Oracle Database and other for SQL Server Database, both it have worked fine and my question is
    How I can show data with one Select in Oracle's Connection for one table in SQL Server ?
    I mean
    Select * from ConnectSQL..dbo.Table ???
    Is it possible ?

    Karthick
    thanks
    I made the DataBase Link but send me this error
    ORA 12541 TNS no listener
    the connection request could no be completed because the listener is no running
    I click in your link, but I can't created the Oracle ODBC ....
    How I can to install the oracle client in my local PC ?

  • Database Table Resource via Oracle RAC connection Manager

    Hello,
    Our current IDM 8.1 syncs off a HR Database Table using the Database Table connector.
    Our DBA's are moving the view into an Oracle RAC environment.
    Question: Is there a way for us to connect and sync off our DB table through an Oracle RAC connection manager.
    I understand that for the IDM repository, this is possible.
    jdbc:oracle:thin@(DESCRIPTION =
    (ADDRESS_LIST =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.ser.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server2.ser.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db.com)
    servers server1 and server2 are oracle connection managers
    Thank you for your input,
    -RC

    We moved the repository to Oracle RAC recently. The syntax to switch to the new databasecluster was something like this:
    lh setRepo -tOracle -ujdbc:oracle:thin:@//dbcluster1.domain:1521/service_idm.oradb.domain -Uwaveset -Pwachtwoord
    For the 'lh setRepo' command the old database had to be up, and we had to use the old ojdb5.jar. After that we switched to ojdb6.jar.
    One of our resources is a database table with HR data in the same database. The following Database Access Parameters work for us:
    Database Type:      Oracle
    JDBC Driver:      oracle.jdbc.driver.OracleDriver
    JDBC URL Template:      jdbc:oracle:thin:@//%h:%p/%d
    Host :     dbcluster1.domain
    Database: service_idm.oradb.domain
    Port: 1521
    Greetings,
    Marijke

  • Oracle 6i connection problem

    Dear All,
    good afternoon:
    i am facing problem with oracle 6i connecting to oracle RAC two nodes cluster. which was working fine from last 3-4 years and there was no issue with application as well as database.
    now i am getting error with oracle 6i forms , sometimg its not connecting with database . when i enabled the trace on 6i sqlnet.ora file.
    i goted the result
    trace file:
    -- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is "C:\ora6i\NET80\ADMIN\trace\conection.trc.trc"
    New trace level is 16
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    [02-MAY-10 12:33:07] nigini: entry
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nrigbi: entry
    [02-MAY-10 12:33:07] nrigbni: entry
    [02-MAY-10 12:33:07] nrigbni: Unable to get data from navigation file tnsnav.ora
    [02-MAY-10 12:33:07] nrigbni: exit
    [02-MAY-10 12:33:07] nrigbi: exit
    [02-MAY-10 12:33:07] nigini: exit
    [02-MAY-10 12:33:07] niqname: Using nnfsn2a() to build connect descriptor for (possibly remote) database.
    [02-MAY-10 12:33:07] nnftboot: entry
    [02-MAY-10 12:33:07] nnftboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfhboot: entry
    [02-MAY-10 12:33:07] nnfhboot: exit
    [02-MAY-10 12:33:07] nncpmlf_make_local_addrfile: construction of local names file failed
    [02-MAY-10 12:33:07] nncpmsf_make_sys_addrfile: system names file is C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpcin_maybe_init: first request sent to name server will have ID 0
    [02-MAY-10 12:33:07] nncpcin_maybe_init: initial retry timeout for all name servers is 1500 csecs
    [02-MAY-10 12:33:07] nncpcin_maybe_init: max request retries per name server is 1
    [02-MAY-10 12:33:07] nngsini_init_streams: initializing stream subsystem, cache size is 10
    [02-MAY-10 12:33:07] nngtini_init_msg: initializing PDU subsystem, initial pool size is 2
    [02-MAY-10 12:33:07] nncpcin_maybe_init: default name server domain is [root]
    [02-MAY-10 12:33:07] nnfun2a: entry
    [02-MAY-10 12:33:07] nnftqnm: entry
    [02-MAY-10 12:33:07] nnfcagmd: entry
    [02-MAY-10 12:33:07] nnfcagmd: Attempting to find metadata for type a.smd
    [02-MAY-10 12:33:07] nnfcagmd: Attribute name a.smd is a predefined meta type, syntax is 4.
    [02-MAY-10 12:33:07] nnfcagmd: exit
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: initial load of names file C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: failure, error stack follows
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NOTE: FILE CONTAINS ERRORS, SOME NAMES MAY BE MISSING
    [02-MAY-10 12:33:07] nnftqnm: Using tnsnames.ora address (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic)))) for name mscdxb
    [02-MAY-10 12:33:07] nnfcraa: entry
    [02-MAY-10 12:33:07] nnfun2a: Obtaining answer records for mscdxb
    [02-MAY-10 12:33:07] nnftans: entry
    [02-MAY-10 12:33:07] nnfcran: entry
    [02-MAY-10 12:33:07] nnfcran: 64 rrs requested, 1 remaining, 1 total
    [02-MAY-10 12:33:07] nnfcran: exit
    [02-MAY-10 12:33:07] nnfotrv1: entry
    [02-MAY-10 12:33:07] nnfotrv1: translated "mscdxb" to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic))))
    [02-MAY-10 12:33:07] nngsdei_deinit_streams: deinit
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    please help me,
    thanks in advance.
    sher khan

    thanks dear this is my tnsfile please check it. if any error can you corect me.
    mscdxb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.3)(PORT = 1521))
    (LOAD_BALANCE = on)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mscdxb)
         (FAILOVER_MODE=
    (TYPE=select)
    (METHOD=basic))     
    thanks,
    sher khan

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

  • Gurus, please help I am getting oracle.apps.fnd.cache.CacheException

    Hi, I am not a newbie to OAF. I have worked good amount on the OAF 9i development. Currently we are on R12.0.4 and Jdev 10g (patch 6908968) But this error really beats me. I believe it could be due to a Apache error, but may be I am doing something wrong here and so hopefully you can provide me some insight. I am trying to configure my JDev 10G for R12 development. I am trying to run supplied HelloWorld page in Tutorial.jpr. I have set the DB connection and provided the username/password with responsibility key and also the DBC file in the Runtime Connections properties for the Project. I have also tried the alternative i.e building a custom HelloWorld, but even with that I get the same error.
    Please let me know if I should be doing anything else.
    Thanks and appreciate your help.
    Rahul
    ---------------------------------------------------Error ------------------------------------------------------------------------
    racle.apps.fnd.cache.CacheException     
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)     
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)     
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)     
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)     
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)     
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)     
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259)     
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114)     
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083)     
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050)     
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037)     
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)     
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941)     
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926)     
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891)     
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1027)     
    at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:223)     
    at OAErrorPage.jspService(_OAErrorPage.java:66)     [OAErrorPage.jsp]     
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)     
    at runregion.jspService(_runregion.java:197)     [runregion.jsp]     
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     
    at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection     at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712)     
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)     
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)     
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)     
    ... 50 moreCaused by: oracle.apps.jtf.base.resources.FrameworkException: An exception occurred in the method CacheAccess.getnullThe base exception is:null Connection     
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)     
    at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)     
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)     
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)     
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)     
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)     
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)     ... 54 more
    -------------------------------------------------------------------------------------------------------------------------------------------------

    I did thought it was a DBC issue before, so I requested the DBC file again from the DBA's. I try the page and get the same error again. This time I looked at the DBC and compared the JDBC string with what I have on the TNSNames. The server name on the DBC file provided to me was slightly off. So, that was the error. The dbc file had imbcdd-d as the server name, whereas in the TNSName it was imbcdd-b. I fixed the DBC and reran and there it goes I get the HelloWorld Page.
    Thanks a bunch to all. I should have it investigated more. Apologize for the siilly post.
    Rahul

  • Exception in thread "main" oracle.apps.fnd.cache.CacheException

    Dear Experts,
    I am getting the below error.
    $AFJVAPRG -classpath $AF_CLASSPATH -Dprotocol=imap \
    -Ddbcfile=$FND_SECURE/TEST.dbc \
    -Dport=993 -Dssl=Y \
    -Dtruststore=/home/applprod/.keystore \
    -Dserver=xxxxxxxxxxxxx \
    [email protected] -Dpassword=pass@word01\
    -Dconnect_timeout=120 -Ddebug=Y \
    -DdebugMailSession=Y oracle.apps.fnd.wf.mailer.MailerException in thread "main" oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:751)
    at oracle.apps.fnd.wf.apps.WorkflowContext.<init>(WorkflowContext.java:31)
    at oracle.apps.fnd.wf.apps.ContextFactory.makeContext(ContextFactory.java:54)
    at oracle.apps.fnd.wf.common.WorkflowContext.<init>(WorkflowContext.java:82)
    at oracle.apps.fnd.wf.mailer.Mailer.main(Mailer.java:4653)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    ... 19 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.get
    null
    The base exception is:
    null Connection
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
    ... 23 more
    Please advise.
    Mohammed. Abdul Muqeet
    Edited by: Mohammed Abdul Muqeet on Jan 21, 2013 7:20 PM
    Edited by: Mohammed Abdul Muqeet on Jan 21, 2013 7:21 PM

    Please post the details of the application release, database version and OS.
    I am getting the below error.
    $AFJVAPRG -classpath $AF_CLASSPATH -Dprotocol=imap \
    -Ddbcfile=$FND_SECURE/TEST.dbc \
    -Dport=993 -Dssl=Y \
    -Dtruststore=/home/applprod/.keystore \
    -Dserver=xxxxxxxxxxxxx \
    [email protected] -Dpassword=pass@word01\
    -Dconnect_timeout=120 -Ddebug=Y \
    -DdebugMailSession=Y oracle.apps.fnd.wf.mailer.Mailer
    Please see (oracle.apps.fnd.cache.CacheException - null connection - on AppsLocalLogin.jsp [ID 414170.1]).
    Thanks,
    Hussein

Maybe you are looking for