Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-237

Remote Cache update makes lot of log entries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • jcs-3.1
    • jcs-3.2.1
    • RMI Remote Cache
    • None

    Description

      Remote Cache update makes lot of warnings as below in the log file. There is no application functionality issue due to this, but still we want to get rid these logs. Also, confirmed that there is no null values is being passed when updating the cache and this log is being written.

      Kindly help us to avoid logging these warnings, as we are not seeing any functionality issues. Already, tried updating the log4j2.xml to log only FATAL, still could these warning in the log file.

      ======================

      2023-09-18 19:17:39,085 WARNING [org.apache.commons.jcs3.engine.AbstractCacheEventQueue] (CacheEventQueue.QProcessor-authCacheThread-317) Error while running event from Queue: PutEvent for key: com.interwoven.cache.model.auth.AuthTokenCacheKey@1f85b856 value: null. Retrying...: java.rmi.RemoteException: Method is not Remote: interface org.apache.commons.jcs3.engine.behavior.ICacheListener::public abstract void org.apache.commons.jcs3.engine.behavior.ICacheListener.handlePut(org.apache.commons.jcs3.engine.behavior.ICacheElement) throws java.io.IOException
        at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:214)
        at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:162)
        at deployment.cache-service.war//com.sun.proxy.$Proxy210.handlePut(Unknown Source)
        at deployment.cache-service.war//org.apache.commons.jcs3.engine.AbstractCacheEventQueue$PutEvent.doRun(AbstractCacheEventQueue.java:281)
        at deployment.cache-service.war//org.apache.commons.jcs3.engine.AbstractCacheEventQueue$AbstractCacheEvent.run(AbstractCacheEventQueue.java:218)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)

      Attachments

        Issue Links

          Activity

            People

              tv Thomas Vandahl
              tmuralimanohar Murali Thirugnanam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: