Using Coherence in the context of BPEL

Hi,
I am planning to try the use of coherence in BPEL to leverage the cache capabilities to improve the performance. I am successfully able to do this in OSB 11.1.1.4 as its achievable much through some simple configuration.
I am trying to do the same from BPEL as well. So do we have a similar way of configuring the BPEL composites as well?
I have seen the forum posts where it was achieved by using java embedding activities. Is this the only way currently in BPEL? Then i had to take care of all the following activities manually using these java embedding activities:
- Caching the result, this result may be simple string or can be entire xml document or variable in BPEL
- Retrieving the result from cache
- Modifying the existing BPEL flow to retrive from the cache first and if not found cache it and then use it.
- Strategy to clear the cache whenever required and the way to do it.
I am using the WLS 10.3.4 where the in-process coherence servers can be administered through admin console of WLS itself. So i want to leverage this feature for my BPEL composites.
Thanks & Regards
Siva

Any updates on this?? Now i am successfully able to put the strings in the cache and able to retrieve them as well. But facing an issue.
Once the BPEL instance is run completely, the corresponding cache is getting cleared. Seems to be this is happening because of the local storage.
So modified the startWeblogic.cmd to include -Dtangosol.coherence.distributed.localstorage=false in java vm parameters.
After this its giving the error saying 'Storage is not defined'. that means the created cache in my BPEL has not joined the already started server.
Am i missing any other settings??

Similar Messages

  • [svn:osmf:] 9829: Extending ILayoutContext with an ' updateIntrinsicDimensions' method, that the ILayoutRender uses to inform the context that context' s intrinsical dimensions may have changed because its children got layed-out .

    Revision: 9829
    Author:   [email protected]
    Date:     2009-08-31 06:38:08 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Extending ILayoutContext with an 'updateIntrinsicDimensions' method, that the ILayoutRender uses to inform the context that context's intrinsical dimensions may have changed because its children got layed-out. Adding implementing code to LayoutContextSprite and LayoutRendererBase.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/ILayoutContext.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutContextSprite.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutRendererBase.as

    A slow boot time can be caused by login items.
    User Login Items:
        Flux
        NoSleep
        ClipMenu
        Canon IJ Network Scanner Selector2
        BetterTouchTool
        USBOverdriveHelper
        TotalFinder
        Gmail Notifr
    Open System Preferences > Users & Groups > Login Items
    Remove one login item noted above then restart your Mac to test. It may be one or multiple items causing the slow boot.

  • Can anyone tell me the  spring context  in bpel

    Hi please can any one tell me how to use the spring context in bpel, and how to connect the spring with jpa in bpel

    You can also take a look at the SOA Suite Developer's guide:
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/sca_spring.htm#BCGCJGDF
    Thanks,
    Navaneeth

  • BPEL Interaction Pattern - Using JMS as the medium

    Objective : Make one MAIN Business Process out of BPEL that would receive the Message from Userinput or some other source and finally after doing all operations inside BPEL process (that would happen using BPEL Sub processes that exchange data using JMS send and receive inside the different queues ). Finally the MAIN Business Process would receive the response from BPEL sub process send it to Database at the end. We would like to develop a single BPEL process that would represent a Business Process say like Order Create and internally we would invoke various Sub BPEL process to work on the payload and give a handshake using JMS as the medium rather than another BPEL process makes a direct handshake to the invoking/calling process.
    Steps Attempted :
    a) BPEL Process receives the message from Input (User input of Purchase Order) and do some transformation later publish the message to Queue by configuring JMS Adapter to Produce it. Next step inside the same BPEL process tries to receive it using the JMS Adapter to consume it. It keeps waiting forever without consuming the message
    b) BPEL Process (A) receives the message from (User input of Purchase Order) and do some transformation later send the message to another BPEL Process (B) that would receive the input message. BPEL Process B writes into the Queue using JMS Adapter. In this case also BPEL Process (A) configured to receive the message from the QUEUE where the BPEL PRocess B has sent. BPEL Process A waits for the message to arrive for ever.
    Some behaviours we noticed ,
    1) Queue messages are being dequeued (JMX Browser in OEM shows no messages). But BPEL console shows the BPEL Process A is waiting for it to arrive. I believe it is consuming the message but unable to kickoff from receive (JMS activity) activity configured in the BPEL.
    2) We ensured that no other BPEL Process is consuming by creating a new Queue by name DemoQueue4 that would be used by the BPELProcess A and BPEL Process B.
    3) BPEL Process A and BPEL Process B are ASYNCHRONOUS Process. BPEL Process B receives the input and writes into the Queue does not call back to BPEL Process A. BPEL Process A would listen to the Queue to receive it inside the BPEL Process A.
    Am I trying something architecturally not possible ?
    Thanks
    Nags.
    Message was edited by:
    cdmnagaraj

    You can register any compliant JMS provider as a foreign jms provider in weblogic and then can access the JMS administered objects (destination and connection factory) from the local weblogic JNDI tree.
    This blog shows how to configure AQJMS as a foreign JMS provider and then configure JMS adapter to access the jms objects.
    http://biemond.blogspot.com/2009/07/using-aq-jms-text-message-in-wls-1031.html
    You can use the above link as a reference on how to setup. You will have to modify the Initial Context Factory, Provider URL, JNDI Properties, foregin connection factories and foreign detsinations section to suit activeMQ.
    Note: Weblogic does not come inbuild with the required jars to connect to ActiveMQ unlike AQJMS, so you need to ensure that the active mq jms client jars are available in the weblogic's classpath.

  • How do I use the context of the column as part of my calculated measure/column?

    Hello,
    I've struggled with this for a week now.
    I need my calculation to take the context of the column that it's in and use that value as part of a lookup/filter with which to do an operation.
    I basically want to add up the "Value" of all the "ORUs" associated to a Manager(MGR).  But since the ORU's are spread across many managers, I need to calculate the Value
    for an "ORU" and multiply by the "Percent" ( of people that who belong to that ORU for that MGR).   The difficulty is that the MGR(and associated Percent) is one table which is connected via the ORU.  There's no way connection
    to the MGR except by the Column Context.  So, how do I get to it for the calculation? 
    I'd like: CALCULATE(SUM(ORUBUMGR[Percent], FILTER (ORUBUMGR, ORUBUMR[MGR]={This column's header value!})
    pseudo-code would be:
    For each cell in the Pivot table
        SUM
           For each ORU
                  Percent= Look up the multiplier for that ORU associated with the Column
                  SUMofValue = Add all of the Values associated with that Column/Row combination
                  Multiply Percent * SUMofValue
    What won't work is:  CALCULATE(SUM(ORUBUMGR[Percent]), ORUMAP)*CALCULATE(SUM(Charges[Value]), ORUMAP)
    because you're doing a sum of all the Percentages instead of the sum of the Percentages which are only associated with MGR (i.e., the column context)
    The alternatives I can think of is doing a cross join between the tables so you end up with a copy of "Charges" for every row in ORUBUMGR...but while that would work for the example, it
    won't scale as my actual Charge table is quite large.  It'll also end up being quite complicated.  Or, having a column for each MGR where the lookup to the Percent is hardcoded into the calculation...but that also seems complicated and won't scale
    when I want to do future changes. 
    I'd appreciate any assistance...even a "that's impossible".
    Kind Regards,
    Alex
    Link to the XLS on onedrive
    _https://onedrive.live.com/redir?resid=67E698690736D027!3358&authkey=!ADU5F41Sg08Ygm0&ithint=file%2cxlsx
    Link to image showing data and what the pivot answer should look like _http://i.imgur.com/2HC7Lk7.png
    Link to image showing the data model  _http://i.imgur.com/KK3b61v.png
    (I'm waiting to be verified..)

    Yes, you're right, my calculation first attempt only works if the ORU and MGR are on the rows. :(
    I came up with a 2 step calc which is similar to the final calc posted by ImkeF although maybe a little cleaner. It uses a many to many pattern to calculate the ChargeAmt and then a SUMX to iterate over the ORUBUMGR table and apply the percentages.
    ChargeAmt:=CALCULATE(SUM(Charges[Value]),ORUMAP)
    Amt2:=SUMX(ORUBUMGR, ORUBUMGR[Percent] * [ChargeAmt])
    You can roll these into a single measure, you just have to wrap the expression from [ChargeAmt] in another calculate so that it does both the many to many calc and the transition from filter context to row context
    Amt3:=SUMX(ORUBUMGR, ORUBUMGR[Percent] *CALCULATE(CALCULATE(SUM(Charges[Value]),ORUMAP)))
    Personally I think I'd go with the two measure approach (even if you end up hiding [ChargeAmt]) as I think it's easier to read and will be easier to maintain.
    http://darren.gosbell.com - please mark correct answers

  • How can I get the context-parm from a web.xml file using struts?

    Hello:
    I need get the context-param from the web.xml file of my web project using struts. I want configurate the jdbc datasource connection pooling here. For example:
    <context-param>
    <param-name>datasource</param-name>
    <param-value>jdbc/formacion</param-value>
    <description>Jdbc datasource</description>
    </context-param>
    and then from any Action class get this parameter.
    Similar using a simple server can be:
    /** Initiates new XServlet */
    public void init(ServletConfig config) throws ServletException {
              for (Enumeration e = config.getInitParameterNames(); e.hasMoreElements();) {
                   System.out.println(e.nextElement());
              super.init(config);
              String str = config.getInitParameter("datasource");
              System.out.println(str);
         public void doPost(HttpServletRequest req, HttpServletResponse res)
              throws ServletException, IOException {
              // res.setContentType( );
              System.out.println("Got post request in XServlet");
              PrintWriter out = res.getWriter();
              out.println("nada");
              out.flush();
              out.close();
    but only this works for init-params, if I use
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <display-name>MyServlet</display-name>
         <servlet-class>myExamples.servlet.MyServlet</servlet-class>
         <init-param>
         <param-name>datasource</param-name>
         <param-value>jdbc/formacion</param-value>
    </init-param>
    </servlet>
    inside my web.xml. I need something similar, but using struts inside the action class for that I can get the context-params and call my database.
    Thank you

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How to read the context node of used component?

    Hi,
    I have component called : SRQM_INCIDENT_H. This component has used component - BTSTATUS.
    Now, I need to read the context node of the BTSTATUS/UserStatus in GET Methods of Context node in SRQM_INCIDENT_H.
    Can you plese help me out.
    Thanks,
    Sandeep

    The component usages can be accessed from the component controller
    You should however assure that the context node is present in comp controlelr of the used component.View context nodes cannot be accessed.
    if not ,then you need to goto the component BTSTATUS ,add the context node  explicitly to comp controller,and do correct bindings to the view context node.
    Once you add the context node to the com controller,yo also need to expose it.
    go to runtime repository->component_interface->interface_controller->context->right click and select ADD CONTEXT NODE, and add you newly creatde context ndoe of comp contorller here.
    Now you cann access it using the code below in your comp SRQM_INCIDENT_H
    data:lr_comp_controller type ref to <ur comp controller class>lr_comp_controller ?= me->comp_controller.
        lr_comp_usage ?= lr_comp_controller->get_component_usage( iv_usage_name = '<name of the comp usage as in runtime repository' ).
        CHECK lr_comp_usage IS NOT INITIAL.
        lr_cnode ?= lr_comp_usage->get_context_node( iv_cnode_name = '<the required context node name>' ).
    Suvidha

  • Using Coherence and Oracle Database as the CacheStore

    We are working on implementing a solution using Coherence and Oracle Database as the CacheStore. We initially implemented the Cache as a distributed-scheme which in turn uses the backing-map-scheme. We are trying to introduce transaction management and I used a scheme-ref in a transactional-scheme to point to an already existing distributed-scheme. However when I bring up the server, my custom coherence-cache-config.xml file is not recognized and Coherence comes up with the default setting. Given below is the snippet of my configuration file.
    1)     I would like to understand why the below configuration doesn’t work and am I doing it the right way? If not, what is the correct way of doing it?
    2)     There are a multiple transaction management options given in the documentation. Which are the ones that will work with a distributed-scheme and read-write-backing-map-scheme?
    3)     If transactional-schemes cannot work with distributed-scheme, what is the best way to have a distributed cache with a oracle database as a cache store?
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>id<cache-name>
    <scheme-name>example-transactional<scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <transactional-scheme>
    <scheme-name>example-transactional</scheme-name>
    <scheme-ref>distributedcustomcache</scheme-ref>
    <thread-count>10</thread-count>
    </transactional-scheme>
    <distributed-scheme>
    <scheme-name>distributedcustomcache</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <internal-cache-scheme>
    <local-scheme>
    <!--scheme-ref>categories-eviction</scheme-ref-->
    <scheme-name>inMemory</scheme-name>
    </local-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>spring-bean:coherenceCacheStore</class-name>
    <init-params>
    <init-param>
    <param-name>setEntityName</param-name>
    <param-value>{cache-name}</param-value>
    </init-param>
    </init-params>
    </class-scheme>
    </cachestore-scheme>
    <!--refresh-ahead-factor>0.5</refresh-ahead-factor-->
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>

    Hi,
    If you look at the documentation for transactional-scheme here: http://docs.oracle.com/cd/E24290_01/coh.371/e22837/appendix_cacheconfig.htm#BHCIABHA
    you will see that it says The transactional-scheme element defines a transactional cache, which is a specialized distributed cache. That means that a transactional-scheme is already a distributed-scheme.
    You will see from the same documentation above that there is no way in a transactional-scheme to configure things like cache-stores or listeners or even the backing-map-scheme as these are not supported on a transactional-scheme - so you cannot use a cache store.
    Personally I would not use transactional-scheme unless you have some really big reason to do so - the restrictions far outweigh any perceived advantage of having a transaction. There are better ways to build applications so they do not require transactions, that is what we have been doing for years with Coherence so far, and there is no real reason to change that.
    JK

  • SharePoint Navigation Error:The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

    Hi,
    I take a exeption  on the  SharePoint 2013 left navigation. 
    Exeption:  "The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)"
    I searched  this exeption keyword on the internet and  I find usualy 3 results
    1)check datetime servers --> I checked datetime for all SP Severs ,DB server and AD server ..there is  no problem
    2)Disabled the WebPageSecurity Validation on CA>General Settings-->I tired  and problem not solved
    3) Reset IIS --> if I restart IIS problem solved  but  after 2-3 hours or anytime  error comes again..
    ULS Log:
    PortalSiteMapProvider was unable to fetch children for node
     at URL: /MySite/MySubSite, message: The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317), stack trace:   
     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)    
     at Microsoft.SharePoint.Library.SPRequest.SetHttpParameters(String bstrHttpMethod, String bstrRequestDigest, UInt32 flags, Guid gTranLockerId, Byte[]& ppsaImpersonateUserToken, Boolean bIgnoreTimeout, String bstrUserLogin, String bstrUserKey, UInt32
    ulRoleCount, String bstrRoles, Boolean bWindowsMode, String bstrAppPrincipalName, Boolean bIsHostHeaderAppPrincipal, String bstrOriginalAppPrincipalIdentifier, ApplicationPrincipalInfo& pAppUserInfo, Boolean bInvalidateCachedConfigurationProperties, Int32
    lAppDomainId, ISPManagedObjectFactory pFactory, Boolean bCallstack, ISPDataCallback pCanaryCallback)    
     at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout,
    Boolean bAsAnonymous)    
     at Microsoft.SharePoint.SPWeb.InitializeSPRequest()    
     at Microsoft.SharePoint.SPWeb.EnsureSPRequest()    
     at Microsoft.SharePoint.SPWeb.get_Request()    
     at Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettings..ctor(SPSite site)    
     at Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettings.GetSiteNavigationSettings(SPSite site)    
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, Boolean trimmingEnabled, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)    
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedHiddenTypes)    
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(PortalSiteMapNode node, NodeTypes includedHiddenTypes)
    Plaase Help.

    Hi Veli,
    Please check the security token timeout value and it is set to 1440 as expected by default. You can check via running the command:
    stsadm -o getproperty -pn token-timeout
    Then check the OOB recycle times of the probkematic web application pool, and add daily recycle times for the problematic web application pool. You can do as the article:
    http://technet.microsoft.com/en-us/library/cc754494(v=WS.10).aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • The context has expired and can no longer be used. (Exception from HRESULT: 0×80090317)

    I have followed the instructions on this blog. http://blog.cloudshare.com/2012/10/22/how-to-fix-sharepoint-2013-web-application-error-the-context-has-expired-and-can-no-longer-be-used/ and
    it fixes the problem for a short time.  I have to keep doing IISResets to get my farm backup.  
    Please Help.

    Have you trid Ajay Khanna's suggestion from the comments field?
    From Central Admin- Select the web application and Select --> Web Application General Settings --> Navigate to 'Web page Security validation', change or disable the timeout field.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • The context has expired and can no longer be used

    I am running across a repeatable error when accessing a specific Site Collection. EVERY TIME the SC is loaded we receive the error 'The context has expired and can no longer be used'.
    I have already validated the SharePoint servers' time zones are all the same and match the web application(s), as well as set the 'Web
    page Security validation' to "Off".
    What else could I be missing? Could this have anything to do with Distributed Cache?
    - Rick

    Hi,
    We just began to have the same error. The servers are also correctly set for the timezone (UTC) as well as the Web Applications.
    The error happens for every site collections, there isn't a specific site where I'm able to reproduce the issue.
    This is the ULS :
    05/27/2014 12:59:05.98 w3wp.exe (0x1524) 0x0780 Web Content Management Publishing Cache ahh6l Verbose CreateListItemFromUrl : Parameters url : '/sitename/SitePages/Home.aspx', enableCheckedOutItem : 'True', checkedOutByCurrentUser 'False' retVal Id = '4618889e-0e1c-4503-a7fb-70fd36e2661d'. 01ff949c-98cc-d0fb-9795-c691c2852f54
    05/27/2014 12:59:05.98 w3wp.exe (0x1524) 0x0780 Web Content Management Publishing Cache ahh6l Verbose CreateListItemFromUrl : Parameters url : '/sitename/SitePages/Home.aspx', enableCheckedOutItem : 'True', checkedOutByCurrentUser 'False' retVal Id = '4618889e-0e1c-4503-a7fb-70fd36e2661d'. 01ff949c-98cc-d0fb-9795-c691c2852f54
    05/27/2014 12:59:06.00 w3wp.exe (0x1524) 0x0780 SharePoint Foundation Runtime tkau Unexpected System.Runtime.InteropServices.COMException: The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317) at Microsoft.SharePoint.Library.SPRequestInternalClass.SetHttpParameters(String bstrHttpMethod, String bstrRequestDigest, UInt32 flags, Guid gTranLockerId, Byte[]& ppsaImpersonateUserToken, Boolean bIgnoreTimeout, String bstrUserLogin, String bstrUserKey, UInt32 ulRoleCount, String bstrRoles, Boolean bWindowsMode, String bstrAppPrincipalName, Boolean bIsHostHeaderAppPrincipal, String bstrOriginalAppPrincipalIdentifier, ApplicationPrincipalInfo& pAppUserInfo, Boolean bInvalidateCachedConfigurationProperties, Int32 lAppDomainId, ISPManagedObjectFactory pFactory, Boolean bCallstack, ISPDataCallback pCanaryCallback) at Microsoft.SharePoint.Library.SPRequest.SetHttpParameters(String bstrHttpMethod, String bstrRequestDigest, UInt32 flags, Guid gTranLockerId, Byte[]& ppsaImpersonateUserToken, Boolean bIgnoreTimeout, String bstrUserLogin, String bstrUserKey, UInt32 ulRoleCount, String bstrRoles, Boolean bWindowsMode, String bstrAppPrincipalName, Boolean bIsHostHeaderAppPrincipal, String bstrOriginalAppPrincipalIdentifier, ApplicationPrincipalInfo& pAppUserInfo, Boolean bInvalidateCachedConfigurationProperties, Int32 lAppDomainId, ISPManagedObjectFactory pFactory, Boolean bCallstack, ISPDataCallback pCanaryCallback) 01ff949c-98cc-d0fb-9795-c691c2852f54

  • The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

    We have a problem with our wiki site collection. Once a day (and sometimes more), we get the following error message :
    The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)
    This message is displayed to everyone, and will stay there for an hour or so before the collection is back to life.
    Doing an iisreset would get the site working but that will last for a day at the most.
    This is what we checked and tried so far :
    1. Our time zones are set and are correct.
    2. Changing the timeout or disabling the web page security validation (followed by an iisreset) didn't work.
    3. All server use the same NTP server for time sync (and they are indeed in sync).
    4. It is happening only on the wiki collection, not the other collections.
    5. We are unable to reproduce the behavior on the staging servers.
    Some particularities :
    1. Regional settings are set to French (Canada)
    2. We have 500+ wiki pages in the site collection
    3. We require page check-out / check-in for editing. Tried without, same problem.
    Any ideas as to what should we try next ?
    Regards,
    homerggg

    Hi,
    I don't think we have changed them from the default, a quick look shows ours are set to:
    Token-timeout = 24hrs
    FormsTokenLifetime = 10hrs
    WindowsTokenLifetime = 10hrs
    LogonTokenCacheExpirationWindow = 10m
    Rob

  • The context has expired and can no longer be used errors making farm unusable

    There are a couple of other posts on this forum about the message "The context has expired and can no longer be used" but they all suggest something related to time and time zone differences. This is not the case in my farm and I have disabled
    the security checking of requests on my web applications. Hopefully someone at Microsoft is very aware of this and is working to resolve it because my farm and many others are unusable like this.
    I have dug through all of the ULS errors when it happens and there is nothing useful. It barely even registers as a message although, I have not turned on verbose logging, which I am about to try. I have SP 1 installed. Just to be clear, this is happening
    on SharePoint 2013 Enterprise.
    I have been fighting this for a month. I can add a few things about the farm I am trying to fix:
    1. It was a WSS 3.0 farm that when through a 2007-2010-2013 migration in short order. 
    2. I believe it is under-powered on the hardware side. All VMs on a host shared with 40 other VMs, some fairly busy. Here's the virtual farm breakdown:
      -1 WFE with 12GB RAM and 2 cores
      -3 app servers with similar resources
      -No paging file on C: on any VM. This is a decision by sysadmin. Paging on D: is system managed. Probably irrelevant.
    3. Rapidly clicking from link to link seems to bring on the failure much sooner.
    Any suggestions even about how to troubleshoot this would be appreciated.

    Ultimately, I think it is a time sync issue across the farm. We still have request management off on all boxes because I cannot get the admins to resolve this issue but, in my lab environment I ran into a similar thing.
    I may turn RM back on later to see if it comes back but here's what I think happens: In production we have 2 ESXi hosts and our SP environment is all AD (of course). The clocks are all out of sync, sometimes beyond 5 minutes. (The time sync for AD is something
    I believe a lot of admins don't understand when running virtual.)
    If you allow ESXi to try to sync the time for all guests you run into problems. Maybe they are more pronounced with SharePoint. Anyway, VMware and AD start fighting over the time (check your event logs) and, for us, the clocks across the domain get out of
    sync beyond the 5 minute allowable window.
    I recommend disabling time sync from host to guest and do what MS recommends: make your domain controller the master time server and configure it to get its time from a reliable source (which can be a single hardware host over NTP). Make other domain controllers
    sync from the PDC. The other windows machines will all sync to the domain when they log in. This will prevent SharePoint from issuing tokens from one machine that are out of sync time-wise with the other machines and thus throwing the "Context has expired
    and can no longer be used" errors.
    Note that disabling host to guest time sync is not as simple as just clearing / un-checking the box in the VSphere client. That doesn't do it. You will need to Google for the 6 or so custom properties you must add to each guest to prevent VMWare from re-synchronizing
    after certain hardware events.

  • The Context has expired and can no longer be used error

    Hello All,
    I am getting ‘The context has expired and can no longer be used.’ error.
    The last thing that was modified on the farm was Distributed Cache Service.
    We stopped it on the application server and only have it run on the two WFE’s servers.
    Also the cache size was changed to 2048MB.
    Is it possible that this change is causing the error?
    We don’t have ‘Default Time Zone’ selected for the web application.
    But we never saw this error till now.
    Any suggestions?
    Thank you,
    Zabcia

    Hi Zabcia,
    Thanks for posting this issue,
    following could be the reason of raising this issue
    1. Security context of your session might be expired
    2. Somebody/you might have change the data time of your server.
    you can follow below mentioned steps to fix this issue
    Just change/update the Date/Time in the SharePoint server
    Increase the Security context in SharePoint central admin. This can be done by following the below steps:
    Go to central admin 
    Go to "Application management section" Go to "Web Application General Settings" 
    Go to "Web page Security validation" section & increase the timeout field. Or, you can simply disable this option.
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to get the context data using java script in interactive forms

    Hi All,
    How to get the context data using java script in interactive forms by adobe,  am using web dynpro java
    thanks.

    Hi venkat,
    Please Refer this link.
      Populating one Drop-Down list from the selection of another Drop-down list
    Thanks,
    Raju.

Maybe you are looking for

  • Report no longer pulls in data

    Hi All,    Very weird thing happened today. I have a report that connects to an ODBC SQL connection. It was pulling in data fine from this connection and producing a report. All of a sudden, the report no longer shows data anymore when I submit the p

  • Reading Item texts of a document (PO) while it is not yet saved

    Hi Team ABAP, i´m a little confused about those item texts. I was searching the Forum on this and found thread according to this i adopted my Coding, but still it wont, work. Maybe one of you guys has an Idea where i go wrong? FORM get_article_basic_

  • How to recover/refresh the discovery system if system crashed.

    Hi, Can someone tell me how to recover the Discovery Sysm if the system crashed? Any recovery image from HP?  Does regular full system backup is good enough for recovery the whole system (Java + ABAP)? Thanks for your help. James

  • HT1766 iPhone photos lost during syncing; are they still available

    Today I decided to sync my iPhone 5 and download the new version of the operation system because of warnings  in the news about security breaches with the older versions. When I plugged the device in and selected it, I was not presented with the opti

  • Iam new to j2ee plz solv my problem

    my priblem is i have tomcat server it works fine.but i have some problem with that first i starts tomcat server.in my system. iam using windows 2000 prof. then i opens the internet explorer and sent the request to server like this http://localhost:80