jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <asm...@yahoo.com>
Subject Re: TCP lateral cache configuration
Date Wed, 01 Nov 2006 15:43:14 GMT
Your question is very general.  I think the
documentation is fairly clear here.  Please take a
look:  

http://jakarta.apache.org/jcs/LateralTCPProperties.html




--- giriraj <giriraj.vengurlekar@gmail.com> wrote:

> 
> filterByHashCode = true does'nt seem to matter as
> the hashcodes are mostly
> different. I guess the assumption is that the
> hashCode() method is overriden
> for the Objects that are cached and then it would
> matter.
> 
> I also see an intermittent error as attached below -
>  is it a serialization
> issue? 
> 
> 
> 
> 2006-10-31 16:10:40,078 ERROR
> [CacheEventQueue.QProcessor-ProductCache]
> lateral.LateralCache - Disabling lateral cache due
> to error Failed to put
> com.serus.common.model.Key@2473ffe7 to ProductCache
> java.net.SocketException: Software caused connection
> abort: socket write
> error
> 	at java.net.SocketOutputStream.socketWrite0(Native
> Method)
> 	at java.net.SocketOutputStream.socketWrite(Unknown
> Source)
> 	at java.net.SocketOutputStream.write(Unknown
> Source)
> 	at
>
java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown
> Source)
> 	at
>
java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(Unknown
> Source)
> 	at
> java.io.ObjectOutputStream.writeNonProxyDesc(Unknown
> Source)
> 	at
> java.io.ObjectOutputStream.writeClassDesc(Unknown
> Source)
> 	at
>
java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
> 	at java.io.ObjectOutputStream.writeObject0(Unknown
> Source)
> 	at
>
java.io.ObjectOutputStream.writeFatalException(Unknown
> Source)
> 	at java.io.ObjectOutputStream.writeObject(Unknown
> Source)
> 	at
>
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPSender.send(LateralTCPSender.java:214)
> 	at
>
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPService.update(LateralTCPService.java:140)
> 	at
>
org.apache.jcs.auxiliary.lateral.LateralCache.update(LateralCache.java:98)
> 	at
>
org.apache.jcs.engine.CacheAdaptor.handlePut(CacheAdaptor.java:93)
> 	at
>
org.apache.jcs.engine.CacheEventQueue$PutEvent.doRun(CacheEventQueue.java:663)
> 	at
>
org.apache.jcs.engine.CacheEventQueue$AbstractCacheEvent.run(CacheEventQueue.java:582)
> 	at
>
org.apache.jcs.engine.CacheEventQueue$QProcessor.run(CacheEventQueue.java:552)
> 2006-10-31 16:10:40,093 DEBUG
> [CacheEventQueue.QProcessor-ProductCache]
> lateral.LateralCache - update: lateral =
>
org.apache.jcs.auxiliary.lateral.ZombieLateralCacheService@18e4327,
> LateralCacheInfo.listenerId = -1596541265
> 2006-10-31 16:10:40,093 DEBUG [Thread-10]
> lateral.LateralCacheMonitor -
> Cache monitor running.
> 2006-10-31 16:10:40,093 INFO  [Thread-10]
> lateral.LateralCacheMonitor -
> LateralCacheManager.instances.size() = 1
> 2006-10-31 16:10:40,093 INFO  [Thread-10]
> lateral.LateralCacheMonitor - 
>  1- mgr.getCaches().size() = 4
> 
> 
> 
> 
> This is documented on the properties page:
> 
>
http://jakarta.apache.org/jcs/LateralTCPProperties.html
> 
> Set remove on put to true.  Also set filter by hash
> code to true.
> 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/TCP-lateral-cache-configuration-tf2543452.html#a7105837
> Sent from the JCS - Users mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jcs-users-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message