Cache Listener Issue

How can one invoke multiple listeners listening to the same cache simultaneously with multiple events being triggered ?
To explain my question in a more clear manner I wrote a small Helloworld-Listener program.
public class multipleListenersMDB implements MessageListener {
public void onMessage(Message message) {
// TODO Auto-generated method stub
NamedCache listenerCache = CacheFactory.getCache("listenerCache");
listenerCache.addMapListener((MapListener) new CacheListener(), "1", false);
listenerCache.addMapListener((MapListener) new CacheListener(), "2", false);
listenerCache.addMapListener((MapListener) new CacheListener(), "3", false);
listenerCache.put("1", "1-RexUpdated");
listenerCache.put("2", "2-RexUpdated");
listenerCache.put("3", "3-RexUpdated");
CacheListener
=========
public class CacheListener extends AbstractMapListener{
     private static Logger logger = Logger.getLogger(CacheListener.class.getName());;
     public void entryInserted(MapEvent Event) {
          String keyValue = (String) Event.getNewValue();
          int delay = 20000;
          long stopTime;
          long startTime = stopTime = System.currentTimeMillis();
          System.out.println("Value:" + keyValue + " startTime:" + startTime + " millis");
          while (stopTime - startTime < delay) {
               stopTime = System.currentTimeMillis();
          System.out.println("Value:" + keyValue + " exitTime:" + stopTime + " millis");
Here is the output of this program
Value:1-RexUpdated startTime:1320379443254 millis
Value:1-RexUpdated exitTime:1320379463254 millis
Value:2-RexUpdated startTime:1320379463254 millis
Value:2-RexUpdated exitTime:1320379483254 millis
Value:3-RexUpdated startTime:1320379483254 millis
Value:3-RexUpdated exitTime:1320379503254 millis
What I had expected to see was basically Value:1-Rex, Value:2-Rex and Value:3-Rex listeners to be invoked not one after the other but in parallel.
If you see curently Listener1 for 1-Rex is invoked followed by Listener2 for 2-Rex and then followed by Listener for 3-Rex.
Perhaps this displays my issue clearly and you will be able to use your magic powers to help me.
PS: I have multiple threadcount for the cache configured already
Thanks :)
Edited by: 807103 on Nov 4, 2011 6:06 AM
Edited by: 807103 on Nov 4, 2011 9:54 AM

Hi Reon
The results you are seeing are correct. You can use a listener as a "client" listener or as a backing map listener. Normally, applications only use client listeners where cache events are delivered to the client listener regardless of data location. As you observed, the backing map listener is invoked in the JVM where the data (partition) resides. Backing map listeners are considered and advanced feature, used in special cases, for example when post processing needs to be done within the grid.
Typically, client listeners are registered dynamically, they are not configured in the xml file. This allows you to listen for specific events or events on specific keys, something you cannot do if you register the listener in the configuration file.
Please http://coherence.oracle.com/display/COH35UG/Deliver+events+for+changes+as+they+occur
Paul

Similar Messages

  • Cache update issue??

    Hi Everyone,
    I am implementing simple File to JDBC scenario. The sender file adpater is working fine, but the receiver JDBC adapter seems to be causing a bit of problems.
    I am using MS Access as the data base. Database XI.mdb is in D:/JDBC/XI.mdb
    The parameters in JDBC adapter that i have filled are:
    Connection String: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//132.186.85.184/D:/JDBC/XI.mdb;
    JDBC Adapter: sun.jdbc.odbc.JdbcOdbcDriver
    Persistence: local
    Conflict Resolution: redo
    Interprtation of empty string values: "
    These are the only fields filled up in the receiver JDBC adapter.
    Now the issue is although I am working in Namespace: http://Ashish_File_To_JDBC
    The output in the JDBC receiver communication channel contains the namespace which i was earlier using and not the one it should be:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:JDBC_Vendor xmlns:ns0="<b>http://Ashish_File_to_idoc</b>">
    - <Data_DB>
    - <XI action="INSERT">
      <TABLE>XI</TABLE>
      </XI>
    - <Access>
      <Vendor_Number>320123</Vendor_Number>
      <Last_Name>Rodrize</Last_Name>
      <Search_term>enjoy</Search_term>
      <Currency>USD</Currency>
      <Street>Anothony St</Street>
      </Access>
      </Data_DB>
      </ns0:JDBC_Vendor>
    Is this some kind of cache refersh issue. I have tried refreshing everything.
    Regards,
    Ashish

    Ya i have checked eacha nd every object in IR and ID properly, there is no mistake there for sure.
    ALso cause i am expecting a output:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:JDBC_Vendor xmlns:ns0="<b>http://Ashish_File_to_JDBC</b>">
    - <Data_DB>
    - <XI action="INSERT">
    <TABLE><b>HELLO</b></TABLE>
    - <Access>
    <Vendor_Number>320123</Vendor_Number>
    <Last_Name>Rodrize</Last_Name>
    <Search_term>enjoy</Search_term>
    <Currency>USD</Currency>
    <Street>Anothony St</Street>
    </Access>
    <b></XI></b>
    </Data_DB>
    </ns0:JDBC_Vendor>
    I am getting:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:JDBC_Vendor xmlns:ns0="http://Ashish_File_to_idoc">
    - <Data_DB>
    - <XI action="INSERT">
    <TABLE>XI</TABLE>
    </XI>
    - <Access>
    <Vendor_Number>320123</Vendor_Number>
    <Last_Name>Rodrize</Last_Name>
    <Search_term>enjoy</Search_term>
    <Currency>USD</Currency>
    <Street>Anothony St</Street>
    </Access>
    </Data_DB>
    </ns0:JDBC_Vendor>
    This was my previous output, but since i have made changes to it, the changes are not being reflected in the communication channel output.
    Regards,
    Ashish

  • Httpd.conf requires Web Cache listening port to be defined - Why?

    Can someone tell me why the httpd.conf file requires the Web Cache listening port in its configuration; Port=web_cache_port entry. I.e
    ## httpd.conf -- Apache HTTP server configuration file
    Port 7777
    Listen 7778
    ServiceName http_server.company.com etc...
    The reason behind my question is that I thought Web Cache was a stand alone application that just passed requests through to the http server.
    This question arose when reading page 6-8 of Oracle9iAS Web Cache - Administration and Deployment Guide - Release 2 (9.0.2)

    Thx. Now I know why entering petstore thru' webcache at port 80
    http://blah/petstore/
    returns
    http://blah:7777/petstore/control/....
    where 7777 is OHS listening port.
    Changing PORT to 80 fixed my problem! i,e. back thru webcache
    http://blah/petstore/control/....
    BTW, I managed to killed webcache a couple of times in the last 2 days by changing ports configuration using the Web admin interface at port 4000 and each time I need to reinstall ias903 core on win2k server. How stable is this beast? The EM interface is also very sensitive to editing server.xml etc directly in advanced properties...
    See below for info on PORT.
    Cheers.
    http://httpd.apache.org/docs/mod/core.html#port
    http://httpd.apache.org/docs/mod/core.html#usecanonicalname
    * The Port directive sets the SERVER_PORT environment variable (for CGI and SSI), and is used when the server must generate a URL that refers to itself (for example when creating an external redirect to itself). This behavior is modified by UseCanonicalName.
    The primary behavior of Port should be considered to be similar to that of the ServerName directive. The ServerName and Port together specify what you consider to be the canonical address of the server. (See also UseCanonicalName.)

  • Cache memory issue!

    Hi All,
    we have a report that has around 4000 pages of data, and when i try to print manually to the printer it has going around 3200 pages and can't go further. I am guessing it is a cache memory issue, any suggestions on how to fix this.
    thankz,
    kalyan.

    Hi,
    you have quite an out-of-date version there. Can you consider upgrading to the latest service packs (5) and fix pack (5.5)? You can download the SPs and FixPacks here ( [http://service.sap.com/patches] ) If the problem persists after the upgrade I recommend issuing a support ticket here [http://service.sap.com/support]
    Regards,
    Stratos

  • Cache Monitoring issue

    Hello all.
    I'va the following error when I check the Cache Monitoring in RWB
    for "Integration Server (ABAP Cache)" :
    Communication error
    It's the case for all objects : example for Integration processes
    What is the origin of this issue ?
    If I check "Integration Server (Java Cache)" objects , it's ok !!
    Thnaks in adavance

    hi,
    you always need to start with this doc
    if you have cache related issues:
    https://websmp109.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Slow/choppy playback - cache buffering issue

    On playback, PP6 randomly slows down and plays back choppy on visually complex shots.  It takes repeated stops and starts to clear it out.  I have troubleshot the life out of this, read every relevant thread, and tried everything imaginable to fix it.  Windows 7 pro is fully optimized.  There are no software conflicts (installed a drive with only windows and CS6)  I’ve got plenty of horsepower - 3930K in an asusp9x79pro, gtx 670 w/4mb, 32mb ram, OC to 4.5.  Eric Bowen at ADK has personally tuned the system and done a manual overclock. Memtest confirms the ram is fine. There are no hardware issues. Dropped frame indicator stays green, no dropped frames.  Switching from hardware to software mercury playback does nothing.  Rendering has no effect, nor do any playback settings. It happens with AVCHD and h.264 mp4’s as well, on short clips, not just long ones. It does not happen outside of ppro. Since I have eliminated hardware and software issues, all this leaves is Premiere.
    As Eric explains it, it is a cache buffering issue, related to how the nvidia card and ppro interact, and he sees it frequently enough.  I can't do his explanation justice, but he has offered to jump in and provide more detail if need be.
    Whatever it is, it’s ridiculous.   It is totally unacceptable to play down a sequence and have it intermittently slow down  on a system with this much power that has been properly set up by a pro.  It’s a shame, because it’s the only thing from keeping ppro/cs6 from being the best platform I’ve edited on in my 12 years as an editor.
    I’ve filed a bug report, but gotten no response.  If others are seeing it, and can file a bug report, maybe it will be publicly acknowledged and resolved.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

    Hi,
    I  think I have similair problem. First of all my current specs is:
    Asus Sabertooth z77 mainboard with intel i7 2700K processor
    32 gb (8*4) ram
    120 gb ssd sata3 drive for OS and CS6
    500 gb sata3 7200rpm hd for cache files
    1 tb sata3 7200rpm hd for source video and audio
    and finally Nvidia GeForce GTX 660 Ti with 2gb of memory
    Blackmagic shuttle io card etc
    This system were combined specially for my endless highend compositing needs and it works like a charm with all applications other than Premiere Pro.
    Yesterday I barley finished editing a short (approx 2 minutes) 1080p project that shot with Canon 5D MKII. Without using mercury playback engine application
    works fine but once I activate it all playback became really slow and laggy and sometime it freeze if I move playhead quickly.
    I only use one video and one audio track in timeline so we can say this editing scenario is a fundamental for production grade NLE application.
    My graphic processor has a lot of cuda power but Adobe doesn't support it natively so I have to edit  the famous text file.
    On CS5 and CS5.5 I done lots of 1080p project with my old gtx 480 card and I never encountered any similair problem.
    I hope my favorite and trusted software company Adobe will find the problem and will fix it soon...
    Thanks
    M.Maya

  • Web cache listen ports

    We have set up Web cache on a Windows NT 4.0 box to cache ASP pages served up by another box running IIS.
    Using a listen port of 80 and a application web server with the host port entry set to 80 everything works fine. However we have a number of additional sites running on different ports under IIS - e.g. 84, 85 etc. When I add these ports to the application web server list and create an equivalent entry in the web cache listen ports list I always get the incorrect content served up by web cache.
    For example I request /servername:84/home/main.asp and I get server /servername:85/home/main.asp
    Is there another setting that I have to use to get this to work correctly ?
    Thanks in advance
    Niels Montanana
    Technology Director
    Practical Law Company, London, England

    Try the virutal hosting workaround I documented in a disussion topic titled "Virtual Hosting in Web Cache 2.0.0.x". Note that you will need to change your origin Web Server config to use name-based virtual hosting instead of IP/Port-based virtual hosting.
    The upcoming 9.0.2 release of Web Cache will support a more flexible virtual hosting mechanism.

  • Cache refresh issue with PI Load Balanced HA setup.

    Dear Experts,
    Wei have installed a HA Load Balanced PI Production Server with the below specifications. Its a four node cluster. Two nodes for Application Cluster and another two nodes for Database Cluster.
    Node1
    Physical Hostname  : axsappci
    Virtual Hostname  : axsapp00
    Instances         : CI,SCS and ASCS.
    Node2
    Physical Hostname : axsappdi
    Virtual Hostname   : axsapp00
    Instances          : Dialog instance installed with physical hostname axsappdi
    Node3
    Physical Hostname : axsappd1
    Virtual Hostname   : axsappdb
    Instances  : DB Instance.
    Node4
    Physical Hostname : axsappd2
    Virtual Hostname   : axsappdb
    Instances  : Standby DB Instance (passive).
    Web Dispatcher Hostname : h2h
    Application Switchover : CI,SCS and ASCS to switchover to Node2 and dialog instance Node2 forcing to go down
    Database Switchover : DB Instance switchover to Node2 if Node1 fails.
    We have changed all the parameters according to note 951910 -> NW2004s High Availability Usage Type PI
    I am facing an issue with the cache Notifications in the Integration Repository and Directory. The cache notifications are not happening properly particularly with the ABAP Cache.
    I get the below error in my ID when i try to do the manual cache notification.
    Unable to notify integration runtime (ABAP) of data changes
    Unable to establish http connection "http://h2h:8002/sap/xi/cache?sap-
    client=001"
    Kindly assist.
    Thanks and Regards
    Raghu.

    Hi Srikanth,
    Thanks for the reply.
    I have configured my web disptacher to use default HTTP and HTTPS ports i.e 80 and 443. According to note 951910 i have changed parameters in exchange profile to use these ports.
    Regards
    Raghu.

  • Cache-Storage issues Lion 10.7.2 on a McBkPro 2.2ghz IC2D?

    Hi,
    Back when I purchased my MacBook Pro 2.2 Ghz IntelCore 2 Duo (at that point the best laptop on the market) I was having trouble because the hard drive was filling up on me.  Noob that I was, I was scolded by the "friendly" phone genius that I was not emptying my cache regularly and I was not using Disk uitlity every freakin' day.   I was ok with the scolding because I was clearly a stupid consumer, as I am now.  I religiously dragged the cache to the trash, and ran disk utility.  Smooth sailing until OS X Lion. OSX Lion hid the cache from me, but a call to Apple  made it possible for me to find it and continue my weekly maintenance.
    But now I am "an out of work and out of warantee" stupid consumer of Apple products. Please help me to understand what I am supposed to do now to keep my cache from filling up like crazy when Apple will  not only hide it from me in 10.7.2, but now it has locked it.  OK clearly it is needed by Lion to deal with icloud stuff.  But I edit a lot of video and even with an external Hard drive, I still need some on-board storage.  How do I keep this thing from filling up like crazy? If it's not necessary to dump it, are there other maintenance procedures that I should be doing but because I am a stupid consumer I would not know about them?  Asking humbly for help.  Yes I am a stupid noob flame away, but help me please.

    The USB drive's going off line most likely has nothing to do with the printer. I have both a Fire Wire and USB drive on my 2010 27 inch iMac. The FW drive has no problems... the USB drive however, randomly goes off line.... even when it is in use.
    I have no doubt that Apple has an issue with either the 27 inch iMac's USB design or Lion's implementation of USB.
    My 24 inch iMac (iMac6,1) (which I stll have, and which cannot run Lion) allows my Kensington Trackball to "wake" it up, but the 27 inch (iMac11,3) won't see the track ball until I login.

  • Oracle 8i listener issue:  TNS-01168: Cannot allocate memory

    We have a loader application coded in perl/c which connects to DB to load data from flat files. Whenever we have multiple such loader programs running, the listener dies and loading stops. The listener.log is around 2GB. I opened the loag and got following details:
    Listener Log file (2GB file):
    -- File begining ---
    ECHO is on.
    17-FEB-2005 20:40:20 * service_update * scanview * 0
    17-FEB-2005 20:50:20 * service_update * scanview * 0
    17-FEB-2005 21:00:10 * (CONNECT_DATA=(SERVICE_NAME=scanview)(CID=(PROGRAM=C:\Perl\bin\perl.exe)(HOST=AZSACTAPP107)(USER=grp_scanview))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.164.17)(PORT=2659)) * establish * scanview * 0
    19-FEB-2005 03:14:26 * service_update * scanview * 0
    19-FEB-2005 04:00:09 * (CONNECT_DATA=(SERVICE_NAME=scanview)(CID=(PROGRAM=C:\Perl\bin\perl.exe)(HOST=AZSACTAPP107)(USER=grp_scanview))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.164.17)(PORT=2486)) * establish * scanview * 0
    19-FEB-2005 04:04:27 * service_update * scanview * 0
    19-FEB-2005 04:07:07 * (CONNECT_DATA=(SERVICE_NAME=scanview)(CID=(PROGRAM=C:\Perl\bin\perl.exe)(HOST=AZSACTAPP107)(USER=grp_scanview))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.164.17)(PORT=2644)) * establish * scanview * 0
    19-FEB-2005 04:18:21 * 51
    Error Started at Line #: 2096
    19-FEB-2005 04:18:21 * 51
    NL-00051: internal error code, arguments: [302], [1], [], [], [], [], []
    Above error continued till Line #: 913372
    19-FEB-2005 04:21:15 * 1168
    TNS-01168: Cannot allocate memory
    19-FEB-2005 06:05:30 * 1168
    TNS-01168: Cannot allocate memory
    TNSLSNR for 32-bit Windows: Version 8.1.7.4.0 - Production on 19-FEB-2005 11:13:49
    -- File ended ---
    Is there a known bug and if so what is the resolution? Will upgrading to Net 9i help?
    Let me know if anyone has faced such issue and the resolution.
    Thanks
    Satish

    alll listeners show the TNS-12531 cannot allocate memory message in the listener.log.Only a single listener is required.
    How many listeners run on this system & why more than 1?
    oerr tns 12531
    12531, 00000, "TNS:cannot allocate memory"
    // *Cause:  Sufficient memory could not be allocated to perform the desired
    // activity.
    // *Action:  Either free some resource for TNS, or add more memory to the
    // machine. For further details, turn on tracing and reexecute the operation.

  • Migrating from 3.1 to 3.7 - write through for a custom cache store issues

    We're migrating from 3.1 to 3.7. So far the migration and testing has been fairly uneventful, but there is one issue that came up yesterday that seems like it is going to be tricky to debug.
    We have a set of storage-enabled nodes that use a custom CacheStore to read from and write behind to a mongo database. On another node connected to that caching service, read throughs work just fine. (I can set breakpoints on the CacheStore load method and see the load calls coming through just fine) - but what's not working is when the other node does a Cache.put - the Store method on the CacheStore is never called and so far I don't see anything in the logs indicating there is a problem on either side (I'm going to make sure that the coherence logging is up to the highest level on both the nodes today when I'm doing more testing)
    I can see the cache put start to dive into the coherence jar, but I don't have source jars for coherence so it's fairly opague what might be going wrong after the Cache.put(object, object) call. I can see that it dives into various coherence methods, but
    Any ideas on where to start debugging this?
    This setup worked fine on 3.1, and as best we can tell all the API calls were converted over to their proper coherence 3.7 versions, and the coherence.xml files were migrated to use the new xsd etc.

    it seems that the issue might be related to this:
    2012-08-15 14:19:34.086 Tangosol Coherence 3.7.1.5 <Error> (thread=WriteBehindThread:CacheStoreWrapper(com.foo.cache.MongoCacheStore):Foo.com-CMS, member=13): Failed to store key="assetId=DEFAULT;assetStyle=DEFAULT;initial=c;siteId=foosite;"
    2012-08-15 14:19:34.087 Tangosol Coherence 3.7.1.5 <Error> (thread=WriteBehindThread:CacheStoreWrapper(com.foo.configrepo.cache.MongoCacheStore):Foo.com-CMS, member=13): (Wrapped) java.io.StreamCorruptedException: invalid type: 13
         at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
         at com.tangosol.net.cache.BackingMapBinaryEntry.getValue(BackingMapBinaryEntry.java:124)
         at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.storeInternal(ReadWriteBackingMap.java:5731)
         at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.store(ReadWriteBackingMap.java:4814)
         at com.tangosol.net.cache.ReadWriteBackingMap$WriteThread.run(ReadWriteBackingMap.java:4217)
         at com.tangosol.util.Daemon$DaemonWorker.run(Daemon.java:803)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.io.StreamCorruptedException: invalid type: 13
         at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2303)
         at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
         at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
         ... 7 moreLooks like it is an issue with the serialization? We're primarily using XmlBean, not POF for serialization.
    Any tips on troubleshooting this?
    Edited by: RyanGardner on Aug 15, 2012 7:37 AM
    Edited by: RyanGardner on Aug 15, 2012 7:38 AM

  • PI EHP1 7.1 CACHE UPDATE ISSUE

    Hi All;
    I get an error when I try do a full cache refresh. I've read all the posts have been solved before in sdn for the same issue as same mine but stil there's no help.
    I've checked the sm59 RFC connection test for INTEGRATION_DIECTORY_HMI configuration.
    I've checked the all services about cache in SICF tcode and all off them is active.
    I've started Delta Cache Refreshn in SXI_CHACHE
    Any ideas how to resolve the issue?
    It can be beacuse of the roles of PIDIRUSER?
    The issue is;
    CacheRefresh>
      <Info>CPA cache refresh (mode=full) executed in 33 milliseconds.</Info>
    - <Confirmation>
    - <CacheRefreshError>
      <EngineType>AE</EngineType>
      <EngineName>af.mpi.sapsrv2</EngineName>
      <RefreshMode>F</RefreshMode>
    - <GlobalError>
      <Message>CPA Cache not updated with directory data.</Message>
      <Trace>com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Could not open Directory URL (http://sapsrv2:50400/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=F&consumer=af.mpi.sapsrv2). Reason: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 401: Unauthorized at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:304) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getFullCacheUpdateXML(DirectoryAccess.java:427) at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:454) at com.sap.aii.af.service.cpa.impl.servlet.CacheRefresh.process(CacheRefresh.java:116) at com.sap.aii.af.service.cpa.impl.servlet.CacheRefresh.doGet(CacheRefresh.java:59) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81) at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:124) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:468) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:399) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:388) at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:244) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78) at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60) at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27) at
    thanx a lot
    SEYDA

    Hi;
    Is there anyone can help me please ??
    I try to execute runtime workbench >> cache monitoring >>show cache status table and i got the error log in Central Adapter Engine tab.Cache status  light is red and says inconsistent.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <ConfirmationXML>
       <CacheRefreshError>
          <EngineType>
          AE
          </EngineType>
          <EngineName>
          af.mpi.sapsrv2
          </EngineName>
          <RefreshMode>
          F
          </RefreshMode>
          <GlobalError>
             <Message>
             CPA Cache not updated with directory data.
             </Message>
             <Trace>
             com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Could not open Directory URL (http://sapsrv2:50400/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=F&consumer=af.mpi.sapsrv2). Reason: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 503: Service Unavailable
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:304)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getFullCacheUpdateXML(DirectoryAccess.java:427)
         at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:454)
         at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:291)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:175)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:274)
    Caused by: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 503: Service Unavailable
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:295)
         ... 6 more
             </Trace>
          </GlobalError>
          <GlobalError>
             <Message>
             Confirmation handling failed.
             </Message>
             <Trace>
    Thank you so much
    Bilge

  • Caching Query Issues?

    I have a test(on the server) and a development(localhost) sites so is the oracle database schemas.  Both Oracle database schemas reside on the same server. I have the same datasource name for both schemas in the CF Administrators (local and server). For some reason, it seems to me that the data being pulled only from the test environment database eventhough I run the code on the development(localhost).  I cleared the cache on the CF administrator.   Any advise would be great.  Thanks.

    Soumen Mondal,
    If you are facing this problem from the same client PC and in the same session, it's very strange.. but if there are two sessions running on the same PC this kind of issue may come..
    Something about caching:
    To decide whether to cache a query or not, consider the number of times you intend to run the query in a minute. For data changing in seconds, and queried in minutes, I would recommend not to cache query at all.
    I may give a typical example for query caching in a query on material master cached for 24 hours, where we know that after creating material master, we are not creating a PO on the same day.
    BR,
    SB

  • Oracle 11g listener issue

    Hello,
    I have installed oracle 11g on windows 7. Installation and database creation was successfull but after creating database listener should automatically up and start
    but i am not able to listener in the services window and not able to conntest database using connect string.
    I tried to create new listener using netca but it is hanging ..
    I have downloaded this software from oracle website.
    any idea where can i check to resolve this issue.

    944589 wrote:
    Hi,
    I had the same problem as the OP, and I followed these instructions to try and see which error was raised by the listener when it started.
    Weird thing is, after deleting the listener.ora file and restarting the listener with the "lsnrctl start" command, it worked !
    The only additional thing I did is (as written in some obscure Oracle documentation) create a loopback network adapter (because my PC is DHCP-based).
    Now I have rebooted my PC, and it still works. Go figure...
    I hate Oracle. They shouldn't have been authorized to buy back Sun. My prediction is that Java is going the same way as their DB : it's gonna be a mess... :(Just because you can't make things work and find the documentation obscure doesn't mean things don't work. Its not Access with point-click you see!
    Aman....

  • Error while refreshing the runtime Cache! Issue in SLD

    Hello Experts,
    I am getting a strange issue in Production server due to which messages are ending in error .After every shut down/restart of the PI system ,a technical system for database get created in Production SLD . This is causing cache issue , I need to manually delete it and have to  do cache refresh. And then messages get processed successfully.
    It looks like some basis configuration issue with the System. Any help?
    Appriciate your answer/response  if anyone of you came across similar kind of issue.
    Thanks,
    Pushkar

    Hi,
    Can you tell me which is your Default PI client. Generally when you install PI, the default client will be 001. Later we need to change this to 100 or 110 as per your clients standards. You need to follow Note:940309 to change your default client.
    Also Check these threads for your Cache problems:
    INTEGRATION_DIRECTORY_HMI   failed ?
    Cache Refresh Errors - New Phenomena

Maybe you are looking for

  • OFF TOPIC: Mac Pro fried 2 system drives.

    Sorry to post this in this forum but I find the other forums to be fairly unhelpful. My Mac Pro tower fried my system drive (or it died) so I broke out my backup system drive. After that failed to mount I restarted using the option key. I found the s

  • WRVS4400N Quickvpn Trouble

    I have been using QuickVPN to connect through my WRVS4400N to a RV042 for several weeks. It then stopped connecting. After troubleshooting -> problem hardware is the WRVS4400N. I re-flased the current firmware and double checked all configurations. Q

  • How do I set my text notification to just a vibration?

    Im not even sure if this is possible, but I just want my text notification to be a vibration instead of a sound. I've tried putting the vibrate option on and text sound to 'None', but it doesn't work.

  • External send (5) of GR slip (WE03) outputs slip to spool not sost

    I am trying to get the GR slip to send an external email instead of printing. We already send Purchase Orders in this way, so I know that SCOT is set up correctly. I have made changes in NACE for application ME. Condition record for output type WE03

  • Cleaning Up "Untitled Audio" Files

    I used to not name a project until after i'd recorded multipe tracks, so over the months i've accumulated a lot of "untitled audio" tracks numbered from 1-300 or so. Is there any way to see which files were used for which song so I can properly renam