Lateral TCPCache issue

2006-10-30 Thread giriraj
following error. I am testing with 2 JVMs on same machine but the error comes when i start my first VM. The second VM will only have changes in the TCPListenerPort and TCPServers parameters. -giriraj 2006-10-30 15:50:09,031 ERROR [main] tcp.LateralTCPService - Could not create s nder to

Re: Lateral TCPCache issue

2006-10-30 Thread giriraj
I was able to use the UDPDiscovery mechanism and that worked. -giriraj giriraj wrote: > > Hi > > I am trying to configure a TCP Lateral cache using the following config > parameters > > > jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tc

TCP lateral cache configuration

2006-10-30 Thread giriraj
Hi Once the TCP lateral cache is etup how can i 1. Setup propagation for certain regions only 2. Time the propagation happens - right now i see that its about 30 seconds or so after an update is done. Can i set it to a different value? Thanks -giriraj -- View this message in context: http

Re: TCP lateral cache configuration

2006-10-31 Thread giriraj
Your question is unclear. The lateral cache does not propagate on a schedule. Elements are sent to other laterals when they are added to a region. They are internally queued, of course, but they are processed as soon as possible. Hi Aaron, I was referring to the updates sent to other late

Re: TCP lateral cache configuration

2006-10-31 Thread giriraj
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?

AllowGet v/s Receive

2006-10-31 Thread giriraj
Hi Whats the semantic difference between setting allowGet=true and Receive=true. I am using issueRemioveOnPut=true and what would it imply with the above 2 properties? Thanks -giriraj -- View this message in context: http://www.nabble.com/AllowGet-v-s-Receive-tf2549710.html#a7106525 Sent

Invalidate entire cache

2006-11-02 Thread giriraj
I have a scenario where in at runtime, most of the data gets updated. For this case, instead of sending individual invalidations, is there a way to invalidate the entire lateral cache/s? Or force a reload on them? Thanks -giriraj -- View this message in context: http://www.nabble.com

Programmatic means of changing LTCP

2006-11-06 Thread giriraj
Hi I would like to know if i can programmatically disable UDPDiscovery for a LTCP definition and then enable it? If so, any code snippet would greatly help. Thanks giriraj -- View this message in context: http://www.nabble.com/Programmatic-means-of-changing-LTCP-tf2584602.html#a7205675 Sent

Re: Programmatic means of changing LTCP

2006-11-06 Thread giriraj
our own framework (JMS transport) but would still need a way to programmatically enable disable propagation. Is there a better way? Thanks -giriraj Aaron Smuts wrote: > > JCS provides very few post-initialization > configuration options. After init, it basically looks > like

JCS cache size optimization

2006-12-19 Thread giriraj
Is there a way i can use in memory NIO based mapping for the JCS cache regions? I would like to avoid the GC from impacting the cached objects. -- View this message in context: http://www.nabble.com/JCS-cache-size-optimization-tf2857924.html#a7984516 Sent from the JCS - Users mailing list arc

Disable JCS Cache

2007-01-16 Thread giriraj
I have a cache definition configuration and would like to enable/disable caching using that configuration. Is maxObjects = 0 amount to disable the cache? Thanks -- View this message in context: http://www.nabble.com/Disable-JCS-Cache-tf3024694.html#a8402673 Sent from the JCS - Users mailing li

JCS shutdown question

2007-01-17 Thread giriraj
When my application which uses JCS is shutdown, JCS writes the keys to the disk. This causes the memory to spike up and also sometimes hangs if the cache is quite huge. Is the writing to disk absolutely necessary or can it be avoided? If it can be then how? If the writing to disk is necessary

JCS shutdown causes JVM hang

2007-01-24 Thread giriraj
We have an application that loads up 5.5 gb of cached data. We use LRUMemoryCache. Once the cache is loaded, there is processing that happens on the cached data and that ranges upto 7 gb max memory. ( -Xmx=8gb) When the processing is done, when we do a System.exit() the shutdown hook is called and

RE: JCS shutdown causes JVM hang

2007-01-24 Thread giriraj
S are you using? > >> -Original Message- >> From: giriraj [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, January 24, 2007 2:37 PM >> To: jcs-users@jakarta.apache.org >> Subject: JCS shutdown causes JVM hang >> >> >> We have an application t

RE: JCS shutdown causes JVM hang

2007-01-24 Thread giriraj
S are you using? > >> -Original Message- >> From: giriraj [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, January 24, 2007 2:37 PM >> To: jcs-users@jakarta.apache.org >> Subject: JCS shutdown causes JVM hang >> >> >> We have an application that

RE: JCS shutdown causes JVM hang

2007-01-24 Thread giriraj
a lot of data to write! > > What version of JCS are you using? > >> -Original Message- >> From: giriraj [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, January 24, 2007 2:37 PM >> To: jcs-users@jakarta.apache.org >> Subject: JCS shutdown causes JVM hang

RE: JCS shutdown causes JVM hang

2007-01-25 Thread giriraj
gePatternName=UPDATE > > http://jakarta.apache.org/jcs/RegionProperties.html > > > This property determines how long to try and write to disk on shutdown > before giving up: > > jcs.auxiliary.DC.attributes.ShutdownSpoolTimeLimit=60 > >> -Original Message- >>

RE: JCS shutdown causes JVM hang

2007-01-25 Thread giriraj
che in the > first line of the cache.ccf file. If you don't want to use the disk, > then take it out of the list. > >> -Original Message- >> From: giriraj [mailto:[EMAIL PROTECTED] >> Sent: Thursday, January 25, 2007 1:49 PM >> To: jcs-users@jakarta.ap