webMethods

 View Only
  • 1.  Terracotta errors in server.log

    Posted Fri August 30, 2024 07:26 AM

    Product/components used and version/fix level:

    webMethods 10.11,terracotta-
    Terracotta Enterprise 4.3.10.0.68

    Detailed explanation of the problem:

    I’m getting below error,not sure what is the root cause of this issue,terracotta license files are also placed correctly.

    Error messages / full error message screenshot / log file:

    Could not save session 259a329ea9984ef9877961e683b07d5 to the session cache. net.sf.ehcache.constructs.nonstop.NonStopCacheException: put timed out at org.terracotta.modules.ehcache.store.nonstop.ExceptionOnTimeoutStore.put(ExceptionOnTimeoutStore.java:114) at org.terracotta.modules.ehcache.store.nonstop.NonStopStoreWrapper.put(NonStopStoreWrapper.java:828) at net.sf.ehcache.Cache.putInternal(Cache.java:1620) at net.sf.ehcache.Cache.put(Cache.java:1546) at net.sf.ehcache.Cache.put(Cache.java:1511) at com.wm.app.b2b.server.SessionManager.cacheSession(SessionManager.java:190) at com.wm.app.b2b.server.SessionManager.saveSession(SessionManager.java:590) at com.wm.app.b2b.server.StateManager.saveContext(StateManager.java:124) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:951) at com.wm.util.pool.PooledThread.run(PooledThread.java:127) at java.base/java.lang.Thread.run(Thread.java:829).

    Question related to a free trial, or to a production (customer) instance?


    #webMethods
    #Terracotta
    #Integration-Server-and-ESB


  • 2.  RE: Terracotta errors in server.log

    Posted Fri August 30, 2024 10:45 AM

    Hi,
    Are you seeing any long GC related error in “terracotta-server.log” file? Also this NonStopCache exception is usually thrown when there is less timeout setting configured in cache configuration file. You can update the fine tune the below timeout setting in cache configuration file.

    <nonstop immediateTimeout="true"
    timeoutMillis="45000"/>
    

    Thanks,
    Yogesh


    #Integration-Server-and-ESB
    #webMethods
    #Terracotta


  • 3.  RE: Terracotta errors in server.log

    Posted Mon September 02, 2024 08:07 AM

    Can you let me know what does GC mean,also where is the cache configuration file location,I am new to terracotta,so I am not sure what they are referring to.


    #Integration-Server-and-ESB
    #webMethods
    #Terracotta


  • 4.  RE: Terracotta errors in server.log

    Posted Mon September 02, 2024 08:38 AM

    Hi Barney/Elsa,

    GC stands for GarbageCollection, internally used by the JVM to clean up unused objects and freeing heap space for new objects.
    You will have to introspect your installation directory where Terracotta is installed to find this cache configuration file.

    I myself have never worked with Terracotta.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB
    #Terracotta


  • 5.  RE: Terracotta errors in server.log

    Posted Mon September 02, 2024 09:08 AM

    This is error in terracotta-server.log file,2024-08-10 03:11:36,880 [WorkerThread(l2_state_change_stage, 0)] INFO com.tc.objectserver.API.GarbageCollectionManager - Doing an inline DGC cleanup.
    2024-08-09 03:28:20,682 [WrapperStartStopAppMain] INFO com.tc.runtime.TCMemoryManagerImpl - GarbageCollector: G1 Old Generation these are related to GC

    can you let me know exact file name of the above configuration you mentioned,i tried looking into Terracotta directory


    #webMethods
    #Integration-Server-and-ESB
    #Terracotta


  • 6.  RE: Terracotta errors in server.log

    Posted Mon September 02, 2024 09:45 PM

    Here is the path for Cache configuration file in Integrations server.

    <INSTALL_DIR>/IntegrationServer/instances/default/config/Caching/

    Thanks,
    Yogesh


    #webMethods
    #Integration-Server-and-ESB
    #Terracotta


  • 7.  RE: Terracotta errors in server.log

    Posted Tue October 15, 2024 04:04 AM

    Can you let me know which cache name, how many milliseconds in SoftwareAG-IS-Core.xml file needs to be updated?for all cache names by default,it is having immediateTimeout=“true”
    timeoutMillis=“45000”/> in SoftwareAG-IS-Core.xml under location which you mentioned.


    #Integration-Server-and-ESB
    #Terracotta
    #webMethods


  • 8.  RE: Terracotta errors in server.log

    Posted Tue October 15, 2024 06:07 PM

    OK, based on the error, it looks like you are running Integration Server in a stateful cluster using distributed caching, and it’s timing out trying to sync the SessionStore. In this case, one of two things is most likely happening.

    1. One of the Terracotta servers is unreachable. If this is the case, the "immediateTimeout=“true” times the remote put out immediately. You can use the Terracotta Management Console to check the TSA cluster servers.
    2. It’s actually taking longer than 45 seconds for Terracotta to sync session state. If this is the case, the underlying reason for the extremely long lag time needs to be investigated.

    By the way, there is no reason to edit the config files directly. All the settings can be viewed / edited in the admin UI under Settings > Caching.


    #Terracotta
    #webMethods
    #Integration-Server-and-ESB