Skip to main content
3 of 3
added 522 characters in body
rdhaundiyal
  • 1.9k
  • 12
  • 20

RMI cache channel service lost connection

I am using object cache to cache the result obtained from broker database. We are using the cache channel service to invalidate the cache so that user can see the latest content. I am getting the following error in log file and the items are not updated on the website.

ERROR RMICacheChannelConnector - RMI Cache channel connector lost connection, will attempt to reconnect
java.rmi.ConnectException: Connection refused to host: 10.202.5.92; nested exception is: 
    java.net.ConnectException: Connection refused: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source) ~[na:1.6.0_41]
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) ~[na:1.6.0_41]
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) ~[na:1.6.0_41]
    at sun.rmi.server.UnicastRef.invoke(Unknown Source) ~[na:1.6.0_41]
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source) ~[na:1.6.0_41]
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source) ~[na:1.6.0_41]
    at com.sun.proxy.$Proxy46.isAlive(Unknown Source) ~[na:na]
    at com.tridion.cache.RMICacheChannelConnector.validate(RMICacheChannelConnector.java:154) ~[cd_cache.jar:na]
    at com.tridion.cache.CacheChannel$EventThread.processQueue(CacheChannel.java:581) [cd_cache.jar:na]
    at com.tridion.cache.CacheChannel$EventThread.run(CacheChannel.java:628) [cd_cache.jar:na]
    at java.lang.Thread.run(Unknown Source) [na:1.6.0_41]
    at com.tridion.util.LoggingThread.run(LoggingThread.java:117) [cd_core.jar:na]

I have tried restartign the CCS as well as the httpupload but no result. Please advice.

The http uploader is able to connect to cache channel service but getting error when the website application tries to connect to it

 ERROR EventWorker - Could not send message [CacheEvent eventType=Invalidate regionPath=/com_tridion_linking_PageLinkInfo key=80:88832] to listener (65e1cda:13f5fe26756:-7ffdaffffffca55c) Proxy[RemoteCacheListener,RemoteObjectInvocationHandler[UnicastRef [liveRef: [endpoint:[10.202.5.92:38916](remote),objID:[65e1cda:13f5fe26756:-7ffe, -1896972905329995910]]]]] Connection refused to host: 10.202.5.92; nested exception is: 
    java.net.ConnectException: Connection refused: connect
java.rmi.ConnectException: Connection refused to host: 10.202.5.92; nested exception is: 

Adding the configuration setting for CCS

 <ObjectCache Enabled="true">
      <Policy Type="LRU" Class="com.tridion.cache.LRUPolicy">
      </Policy>
      <Features>
        <Feature Type="DependencyTracker" Class="com.tridion.cache.DependencyTracker" />
      </Features>
      <RemoteSynchronization Host="127.0.0.1" Port="1099" Queuesize="128" ServiceMonitorInterval="10000" FlushCacheDuringDisconnectInterval=”0” />                               
    </ObjectCache>
rdhaundiyal
  • 1.9k
  • 12
  • 20