Cache Invalidation using Invalidation Rule -not working

Hi,
I am caching a JSP using servlet caching by specifying it in the cachespec.xml. I am setting a dependency id for the cache entry and have also set an invalidation rule saying if the dependency id comes as a parameter for "xyz" then invalidate the cache. The jsp is getting cached, and the value that I specify as dependency id is also appearing. But when i try to invalidate it by passing the parameter say "http://localhost/wps/myportal/dynacache?xyz=1234", the cache doesnt get invalidated.
Please suggest as what is the issue with this approach? Why is the cache invalidation not happening as per the rule set? Is there any other approach to invalidate it other than TTL? I understand invalidation-generator can only be used for web-service client cache.
Please reply ASAP..
This is my cache entry
<cache>
<cache-entry>
<class>servlet</class>
<name>/_caching/jsp/html/CachingPortletView.jsp</name>
<cache-id>
<component id="Cached" type="attribute">
<required>true</required>
</component>
<component id="locale" type="locale">
<required>false</required>
</component>
<component id="" ignore-value="true" type="pathinfo">
<required>false</required>
</component>
</cache-id>
<dependency-id>test
<component id="Cached" type="attribute">
<required>true</required>
</component>
</dependency-id>
<invalidation>test
<component id="Cached" type="parameter">
<required>true</required>
</component>
</invalidation>
</cache-entry>
</cache>
Regards,
Sariba

This sounds like an application server specific configuration, which is off-topic here. Try a forum devoted to your application server.

Similar Messages

  • Infopath form load rule not working in browser forms but works on Client

    Hi
    I am working on an Infopath form and there are rules on form load. The form load checks for a value in a list, if the username() matches the one in the list, then the form would change its view.
    It works when I open it on client, but on the browser it fails.
    Have anyone encountered such an issue.

    Check below:
    http://stackoverflow.com/questions/16222681/infopath-rule-is-not-running-when-checking-sharepoint-list-field-value
    Ensure that "Include data for the active form only" was checked (I had to separate this field into another data connection because that box could not be checked for another field I was using), and
    Ensure that in the rule I was selecting from the "dataFields" folder under the data connection instead of "queryFields"
    http://sharepoint.stackexchange.com/questions/28554/infopath-form-load-rules-not-working
    if I edit the Infopath form on Infopath 2007, it seems that the rules for the load form will be visible if created.
    This look like a bug. Here are the steps below that will lead you to the bug:
    Step 1: Open the infopath form in Infopath 2010 and create 6 rules for Form Load and Save it as a file.
    Step 2: Open that infopath form that you created in Step 1 in InfoPath 2010 and go to the
    Form Load section. You will only see the first 5 rules. The 6th rules that you created for Step 1 will just "vanish". Now, close that infopath form.
    Step 3: Open that infopath form that you created in step 1 in InfoPath 2007 and select Tools > Form Option. In the
    Open and Save category, click the Rules button and add a new rule in it and save it.
    Step 4: Open that infopath form that you modify as describe in Step 3 in InfoPath 2010. That 6th rule will be visible.
    Therefore, there might be a bug in InfoPath 2010 that restrict Rules to a max of 5 in Form Load and thus if anyone open that form in SharePoint, only the first 5 rules will be executed.
    If this helped you resolve your issue, please mark it Answered

  • Defaulting Rules Not Working for Repair Orders in OM?

    Hi,
    Defaulting Rules have been setup for return line & standard line based on few conditions and it is working fine if we create a sales order directly from OM (Manual SO)?
    But in our project we are using  Depot Repair(Repair Orders), we tried to create a service request and then converted to a sales order here defaulting rules not working for repair orders?
    Please help me to solve this issue ASAP.
    Thanks,
    Kishor

    Hi,
    You have like this:
    1. Price list
    2.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    You have to make
    1. XXOE_DEFAULT_PVT.custom_code
    2. Price list
    3.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    Did you made own custom code to pick currency?
    Regards,
    Luko

  • After installing iPhone Configutilities in my Mac, Personal Hotspot using USB is not working! Please help, I am using 10.7 Lion OS

    After installing iPhone Configutilities in my Mac, Personal Hotspot using USB is not working! Please help, I am using 10.7 Lion OS

    Did you talk to your carrier?

  • Windows Server 2012 - Printing using UNC path not working

    Hi,
    I have a problem printing using the printer's UNC path ("\\Server_Name\Printer_Hostname") to work with a web
    app hosted on IIS 8. With a windows forms application the UNC path is working fine and the app prints.
    With
    the web app I receive an error "The data area passed to a system call is tool small". 
    Also,
    in the event viewer under Applications and Services Logs -> Microsoft -> PrintService -> Operational, I receive the error "The print spooler failed to reopen an existing printer connection because it could not read the configuration information
    from the registry key S-1-5-82-1980832875-2702362896-1795126167-3622310632-1152289074\Printers\Connections. The print spooler could not open the registry key. This can occur if the registry key is corrupt or missing, or if the registry recently became unavailable."

    I have contacted IIS forum support.
    Please review the link: http://forums.iis.net/p/1213109/2079229.aspx?Re+Windows+Server+2012+Printing+using+UNC+path+not+working
    Their final response:
    Printing from ASP.NET using System.Drawing.Printing itself is a horrible approach, as this namespace was designed for Windows Forms only. The designers did not take everything about ASP.NET in mind, so any issue can happen. That can answer why the HP model
    works while the Samsung fails, as the HP one just "happens
    to work",
    http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
    Similarly, System.Printing was designed just for WPF.
    About which printing API to use in ASP.NET/IIS, there is no clear answer so far. Thus, your only resource is Microsoft support, who can perform further analysis (with their dedicate utilities and of course Windows source code) and might come across a solution
    to help you out. This is not a trivial scenario.

  • Where used list is not working for IMG nodes/Document   in solar01

    hi experts
    In template project , we are using same IMG objects in different business processes and subsequent configuration document is attached to each IMG node in configuration tab.  ( like same IMG node  -  define order types used in different business process configuration tab )
    when i use " where used list " from the configuration tab , its not showing the IMG objects  used in different business processes in the same project. whereas its showing the IMG nodes used in the different project.
    I need to find out the same IMG objects/ document  used in the same project using the " Where used list " button.
    Please provide your answers
    Note : we have linked one configuration document to same IMG nodes used in different business. " where used list " also not working for documents as well
    Thanks
    Sol man

    Hello there,
    I just tried some tests and couldn't face any problem with locating other usages for the objects in configuration tab.
    You mentioned a configuration document, so have in mind that the document usage will only be considered if it is a link to the same document and not just a copy.
    e.g:
    Here I created a document in this node:
    Then I added it as a link here:
    and as a copy here:
    When I go back to the original node and use the where-used, it'll only show the original and the link:
    This happens because after copying a document, it is considered as a new one instead of another usage of the original one.
    best regards,
    Fabricius

  • I keep getting a message that my ipad could not be activated because activation server is unavailable and when i try to use itune its not working as well.Plssss help

    i keep getting a message that my ipad could not be activated because activation server is unavailable and when i try to use itune its not working as well.Plssss help

    Has this iPad ever been jailbroken, had the OS rolled back, or used a beta version?

  • Validations using OB28 is not working for GL posting using FB01

    Hi Experts,
    Validations using OB28 for posting using FB01 is not working.
    My requirement is after entering a line items and click post validations should be triggerd.
    i want to block a posting based on document type.
    i have maintained as below..
    Prerequisite.
    ( BKPF-TCODE = 'FB50' OR BKPF-TCODE = 'FB01' ) AND (
    BKPF-BUKRS = '1000' OR BKPF-BUKRS = '0001' OR
    BKPF-BUKRS = '0002' ) AND BKPF-BLART = 'XX'.
    check.
    Used userexit to check sy-ucomm = 'BU'  (for posting).
    entries are maintained in OB28 for relevant company codes.
    it is working for FB50 but not FB01.
    same thing i tried to maintain at header level as well as item level. but it is working only for FB50 but for FB01.
    Please help me.
    Regards.
    Venu.

    Hi Venu,
    Go to GGB0 and expand the navigation till you reach the validation name of line item level and choose menu item *Validation -> Simulate.
    Here you can enter the inputs, those you are entering while doing FB01 and execute it.
    Then in the results, you will have the log for each step of your total validation of line item level.
    Check , whether your questioned STEP's pre requisite is met and check is not fullfilled.
    Accordingly you can make the changes to the STEP.
    This info may help you.
    Regards,
    Srinivas

  • Invalid password - restore does not work

    My son has an Ipod Touch 4th generation.  The password has been forgotten or changed.  I tried to connect to Itunes and do a restore and it will not work.  It starts the process then asks for a password.  I have also tried to hold the home key and power button down and connecting, same thing..it starts the process then asks for a password.  Any suggestions how to get this reset or restored?

    Most likely your iPod hardisk is dying.
    Do a Disk Diagnostic, as posted by tt2
    https://discussions.apple.com/thread/3110831?tstart=240
    This wont fix your problem, but it gives some idea., like getting some professional hardisk repair service or Apps.
    Anyway, it would be a very bad idea, to give someone this problematic iPod as a gift to a friend, I would give it to someone I dont like, and let him feel your frustration.
    Have a nice day!

  • Excel File read using WebUtil does not work. Gives java.lang.NoSuchMethodEr

    We have a form which reads from an Excel File. The form works in development env., but in the live env when we deployed the form it does not work. Form fails @ the 1st call to Client_OLE2 where we set the Excel file to read.
    For both the envs. the values are given here:
    (1.) Client Forms Version : Forms [32 Bit] Version 10.1.2.0.2 (Production)
    (2.) Application Server Version : 10.1.2.0.2
    (3.) AS Linux Version : (Live) RHEL 5.7 Tikanga / (Dev) Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    (4.) Client Sun JRE Version :Version 1.5.0 (build 1.5.0_10)
    (5.) Client Web Browser & Version: I.E 8.0.6001 or Mozilla  3.0.15
    (6.) WebUtil Version: 1.0.6Both envs. are the same except the Linux version.
    Works fine in Dev but does not work in Live. Other Webutil functions like file open dialog box works fine in live, only this Excel read is not working.
    Full Error message
    Java Plug-in 1.5.0_10
    Using JRE version 1.5.0_10 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\dinesha.IIL
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Exception in thread "AWT-EventQueue-3" java.lang.NoSuchMethodError:
    com.jacob.com.Dispatch.put(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
         at
    oracle.forms.webutil.ole.OleFunctions.set_obj_property(OleFunctions.java:1216)
         at
    oracle.forms.webutil.ole.OleFunctions.setProperty(OleFunctions.java:333)
         at oracle.forms.handler.ComponentItem.setCustomProperty(Unknown Source)
         at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)We connected to Live AS server via VPN and ran the Form in a client machine (where the Dev. is working) but same problem.
    Any help would be greatly appreciated.

    Channa,
    I sounds like you might have missed a configuration step on your Linux application server (AS). I recommend you go back through the configuration of your AS and verify each step of the WebUtil Runtime Setup Checklist was completed correctly. Seach the Forms Help system on "Runtime Setup Checklist" for a copy of the checklist.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Agent Determination Rule Not Working

    I have created an new agent determination rule in PFAC.
    The category I used is "Agent Determination: Responsibilities".
    I have also selected the "Terminate if Rule Resolution has no Result" option.
    The container has one element in it which is NOT mandatory called "Clinic".
    I have set up the responsibilities, where there is only one which catches all - In other words, I created a responsibility for Clinic "*". I have also assigned a position as a responsible agent. The position is linked to a person number, and the person has a user-name assigned - All are in the valid period.
    If I test the rule, and do not enter anything for the Clinic, and click the test button, it returns my one agent, which is correct.
    The problem is that in my workflow I have assigned the rule as a responsible agent. At runtime, the workflow falls over saying that the agent determination has failed. This does not make sense, since I have not passed anything in binding to the rule. As mentioned earlier, when testing it works fine. I have tried using the rule with and without binding but it wont work. If I change the step in the workflow to rather use  position, it works.
    Please let me know if you have any ideas - I am really battling with this strange problem.

    I tried deselecting "Terminate if Rule Resolution has no Result" in the rule definition.
    Having done that, the workflow now works correctly - It actually DOES find an agent and the workflow goes on as expected.
    This is really weird, because if the terminate option is selected, it falls over saying that no person was found. Now with the terminate option not selected, it finds the agent - Is this a bug, or am I misunderstanding something???

  • Rule not working in workflow but works in simulation mode

    Hi guys
    i have one more strange issue. I have a rule assigned to one of my task to dtermine the agnet based on a z table which is executed by a z function module in the rule. The rule works fine and gets the desired agent when run in the simulation mode. But when we test it from the workflow it dosent seems to be working. When i check the workflow log it says no agent for this task. any idea what am i missing?
    thanks in advance.

    Hi
    yes both the workflow and the dialog step( in our case a decision step)  is categorized as General task. I also have used the SWU_OBUF to refresh the buffer but still the same results. Rule works fine in simulation but when it is run in a workflow the workflow log says no agent found. any more suggestions? the workflow to rule binding is fine as well. The rule requires 3 parameters and in the binding i am pasing all the 3 elemts to the rule containers. so i am not sure why its not working?

  • Delete rule not working

    I subscribe to a mailing list using a particular email address (not my primary account), all mail for which is redirected into a mailbox. I only want to keep messages from the last five days. I have a Rule which is set as follows:
    If ALL of the following conditions are met:
    Account = <the account>
    Date Received is Greater Than 5 days old
    Perform the following actions:
    Delete Message
    This rule does does not work. It is the first rule in my list of Rules. And it simply does nothing. Why?

    Maxplanar,
    Mail rules only run when the item is first processed. So you are in effect going to delete things only when they are received in an "old" state.
    I would set up a smart mailbox or two. One to only show the 5 days of mail you want to pay attention to. Optionally make another smart mailbox to contain messages older than 5 days. You can just refer to the first mailbox and only see the messages you want. The other mailbox will be there for once a month when you select all the messages and delete them.
    Most macs can handle 5 to 10 thousand messages without even starting to slow down. Perhaps once you have a managable folder that shows you the messages you care to see, you can live with manually cleaning up much less often?

  • Copa derivation rule not working for Discount GL

    Hi All,
    Kindly note that I have a distribution rule where company & plant combination is used where condtion is that customer group 3 should be 018 and then replace distribution channel to 03.However the rule is not working for discount GL posted in the billing document.
    I tried testing it in FB50 but then it does not allows me to enter plant and because of that derivation rule fails. However in my billing doc I do see a plant  against discount GL and still the rule is not getting picked.
    I had raised this issue earlier but the reply where not as expected and so I have rephraised my question.
    Kindly help me on this.
    Regards
    Pranay

    Hi Pranay
    I could not understand your req to a great detail, following are my observations
    1. There should be derivation rule in place 1st of all to derive customer group from billing doc...
    Check if Cust Group is populated in your COPA doc or not.. For this cust group should be a segment level char in KEQ3
    2. Create a derivation rule using method "Derivation".
    Source fields would be Cust Group, Plant and Company code ( I guess you want to change dist channel with this combination)
    Target field would be VTWEG (Dist Channel)....Click on the magnifying lens beside VTWEG and choose relevant radio button "Overwrite if ......."
    CLick on RULE VALUES and maintain the required Values there
    This should work...
    Regards
    Ajay M

  • Load-balancing of transparent cache + IP spoofing + RTSP + MMS not working

    We have already in production an architecture with load-balancing of
    transparent cache + ip spoofing.
    We are unable to do the same for streaming flows (MMS and RTSP).
    We are doing PBR from our core network (2 * C6K) to redirect port 80, 554 and
    1755 toward CSS boxes, same in our access router (2* Ciso7200).
    In this config desired flows are redirected toward the CSS.
    Then CSS should load balance the traffic toward our BlueCoat proxy-cache farm.
    It's working fine for HTTP but we are unable to make it works for MMS and
    RTSP.
    Note that we are requiered to use ECMP to perform IP Spoofing on the CSS, meaning we need 4 routes for each client subnet (one route toward upstream C6K, and 3 routes for each proxy cache). We use acl to get rid off looping condition.
    Anyone who has already put in place Load-balancing of Streaming transparent cache + IP spoofing could give us some hint.
    Many thanks.
    Regards,
    Pierre Viennet

    Gilles, thanks for your input.
    Here where we are at with streaming implementation:
    - HTTP on all type off client is working
    - RTSP: TCP 554 with Real Media client is working
    - RTSP: TCP 554 with WMP not working, but it's due to a bug in Bluecoat implementation, the proxy send an error when he see a request with ( User-Agent: WMPlayer ) for RTSP content.
    - MMS: TCP 1755 not working with IP spoofing enable on the proxy but OK without IP spoofing...
    - UDP 554: not working
    - UDP 1755: not working
    I fully understand the limitation for UDP traffic.
    But I don't see why it's not working for MMS over TCP traffic.
    Note that I have the exact same configuration for RTSP and MMS.
    Why is it not working for MMS with IP spoofing? Are you aware of a difference on the way CSS handle MMS flows? or a specificity of the MMS protocol?
    Below what we can see on the different equipement when trying to launch a MMS over TCP Stream:
    c6k-Faaa#sh mls ip source 195.83.182.72
    Displaying Netflow entries in Supervisor Earl
    DstIP SrcIP Prot:SrcPort:DstPort Src i/f:AdjPtr
    Pkts Bytes Age LastSeen Attributes
    202.3.225.5 195.83.182.72 tcp :1755 :1504 0 : 0
    3 124 17 18:58:12 L3 - Dynamic
    202.3.225.5 195.83.182.72 tcp :1755 :1527 0 : 0
    2 84 3 18:58:20 L3 - Dynamic
    202.3.225.5 195.83.182.72 tcp :554 :1503 0 : 0
    4 360 17 18:58:06 L3 - Dynamic
    c6k-Faaa#
    CSS11503_CORE1# sho flows 202.3.225.5 | grep 1755
    202.3.225.5 38531 195.83.182.72 1755 0.0.0.0 TCP
    2/3 2/1
    202.3.225.5 1527 195.83.182.72 1755 195.83.182.72 TCP
    2/7 2/3
    CSS11503_CORE1# sho flows 202.3.225.5 | grep 1755
    202.3.225.5 38531 195.83.182.72 1755 0.0.0.0 TCP
    2/3 2/1
    202.3.225.5 1527 195.83.182.72 1755 195.83.182.72 TCP
    2/7 2/3
    CSS11503_CORE1# sho flows 202.3.225.5 | grep 1755
    202.3.225.5 38531 195.83.182.72 1755 0.0.0.0 TCP
    2/3 2/1
    202.3.225.5 1527 195.83.182.72 1755 195.83.182.72 TCP
    2/7 2/3
    CSS11503_CORE1#
    TCP 192.168.4.19:1491 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1492 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1493 195.83.182.72:1755 TIME_WAIT
    TCP 192.168.4.19:1502 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1503 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1504 195.83.182.72:1755 TIME_WAIT
    TCP 192.168.4.19:1525 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1526 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1527 195.83.182.72:1755 TIME_WAIT
    Many Thanks for your input.
    Pierre Viennet.

Maybe you are looking for