Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 18681 invoked from network); 20 Jun 2007 07:41:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 07:41:22 -0000 Received: (qmail 24752 invoked by uid 500); 20 Jun 2007 07:41:25 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 24595 invoked by uid 500); 20 Jun 2007 07:41:24 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 24584 invoked by uid 99); 20 Jun 2007 07:41:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 00:41:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.87.50.39] (HELO swets-vw.swets.nl) (192.87.50.39) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 20 Jun 2007 00:41:17 -0700 Received: from swets-xch-a1.swets.nl ([172.16.0.187]) by swets-xch-gtw.swets.nl with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Jun 2007 09:40:54 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: jcs 1.2.7.9.2 remote cache server UnmarshalException Date: Wed, 20 Jun 2007 09:40:54 +0200 Message-ID: <881320C6C58C3644A653C7852B252E8C04540E58@swets-xch-a1.swets.nl> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: jcs 1.2.7.9.2 remote cache server UnmarshalException Thread-Index: AceyihbYvPJOjzg+RriKy34I0ZXz9gAKSAlAABYJKiA= From: "Emilia Ipate" To: "JCS Users List" X-OriginalArrivalTime: 20 Jun 2007 07:40:54.0922 (UTC) FILETIME=[5587B6A0:01C7B30E] X-Virus-Checked: Checked by ClamAV on apache.org Hi, Aaron! Thank you for having a look at this problem. Below, you'll see the cache.ccf files and I'm really curios if they are wrong. 1. Here is the Local cache.ccf: # Config file created by CreateCacheConfigFiles Ant Task #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DENVIRONME= NT=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Short Description:WIN # Long Description :Windows Development Environment #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D # DEFAULT CACHE REGION # sets the default aux value for any non configured caches jcs.default=3DRC jcs.default.cacheattributes=3Dorg.apache.jcs.engine.CompositeCacheAttribu= t es jcs.default.cacheattributes.MaxObjects=3D100 jcs.default.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.engine.memor= y .lru.LRUMemoryCache jcs.default.elementattributes=3Dorg.apache.jcs.engine.ElementAttributes jcs.default.elementattributes.IdleTime=3D1000 jcs.default.elementattributes.IsEternal=3Dfalse jcs.default.elementattributes.IsLateral=3Dtrue jcs.default.elementattributes.IsRemote=3Dtrue jcs.default.elementattributes.IsSpool=3Dtrue jcs.default.elementattributes.MaxLifeSeconds=3D600 # Cache Region accountDetailCache jcs.region.accountDetailCache=3DRC jcs.region.accountDetailCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.accountDetailCache.cacheattributes.MaxObjects=3D750 jcs.region.accountDetailCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.accountDetailCache.cacheattributes.ShrinkerIntervalSeconds=3D3= 0 0 jcs.region.accountDetailCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.accountDetailCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.accountDetailCache.elementattributes.IdleTime=3D1000 jcs.region.accountDetailCache.elementattributes.IsEternal=3Dfalse jcs.region.accountDetailCache.elementattributes.IsLateral=3Dtrue jcs.region.accountDetailCache.elementattributes.IsRemote=3Dtrue jcs.region.accountDetailCache.elementattributes.IsSpool=3Dtrue jcs.region.accountDetailCache.elementattributes.MaxLifeSeconds=3D1800 # Cache Region accountSettingsCache jcs.region.accountSettingsCache=3DRC jcs.region.accountSettingsCache.cacheattributes=3Dorg.apache.jcs.engine.C= o mpositeCacheAttributes jcs.region.accountSettingsCache.cacheattributes.MaxObjects=3D750 jcs.region.accountSettingsCache.cacheattributes.MemoryCacheName=3Dorg.apa= c he.jcs.engine.memory.lru.LRUMemoryCache jcs.region.accountSettingsCache.cacheattributes.ShrinkerIntervalSeconds=3D= 300 jcs.region.accountSettingsCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.accountSettingsCache.elementattributes=3Dorg.apache.jcs.engine= . ElementAttributes jcs.region.accountSettingsCache.elementattributes.IdleTime=3D1000 jcs.region.accountSettingsCache.elementattributes.IsEternal=3Dfalse jcs.region.accountSettingsCache.elementattributes.IsLateral=3Dtrue jcs.region.accountSettingsCache.elementattributes.IsRemote=3Dtrue jcs.region.accountSettingsCache.elementattributes.IsSpool=3Dtrue jcs.region.accountSettingsCache.elementattributes.MaxLifeSeconds=3D1800 # Cache Region dbSubscriptionsCache jcs.region.dbSubscriptionsCache=3DRC jcs.region.dbSubscriptionsCache.cacheattributes=3Dorg.apache.jcs.engine.C= o mpositeCacheAttributes jcs.region.dbSubscriptionsCache.cacheattributes.MaxObjects=3D1000 jcs.region.dbSubscriptionsCache.cacheattributes.MemoryCacheName=3Dorg.apa= c he.jcs.engine.memory.lru.LRUMemoryCache jcs.region.dbSubscriptionsCache.elementattributes=3Dorg.apache.jcs.engine= . ElementAttributes jcs.region.dbSubscriptionsCache.elementattributes.IdleTime=3D1000 jcs.region.dbSubscriptionsCache.elementattributes.IsEternal=3Dfalse jcs.region.dbSubscriptionsCache.elementattributes.IsLateral=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.IsRemote=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.IsSpool=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.MaxLifeSeconds=3D43200 # Cache Region genericObjectCache jcs.region.genericObjectCache=3DRC jcs.region.genericObjectCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.genericObjectCache.cacheattributes.MaxObjects=3D1000 jcs.region.genericObjectCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.genericObjectCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.genericObjectCache.elementattributes.IdleTime=3D1000 jcs.region.genericObjectCache.elementattributes.IsEternal=3Dfalse jcs.region.genericObjectCache.elementattributes.IsLateral=3Dtrue jcs.region.genericObjectCache.elementattributes.IsRemote=3Dtrue jcs.region.genericObjectCache.elementattributes.IsSpool=3Dtrue jcs.region.genericObjectCache.elementattributes.MaxLifeSeconds=3D604800 # Cache Region overlapReportCache jcs.region.overlapReportCache=3DRC jcs.region.overlapReportCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.overlapReportCache.cacheattributes.MaxObjects=3D500 jcs.region.overlapReportCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.overlapReportCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.overlapReportCache.elementattributes.IdleTime=3D1000 jcs.region.overlapReportCache.elementattributes.IsEternal=3Dfalse jcs.region.overlapReportCache.elementattributes.IsLateral=3Dtrue jcs.region.overlapReportCache.elementattributes.IsRemote=3Dtrue jcs.region.overlapReportCache.elementattributes.IsSpool=3Dtrue jcs.region.overlapReportCache.elementattributes.MaxLifeSeconds=3D1209600 # Cache Region priceCache jcs.region.priceCache=3DRC jcs.region.priceCache.cacheattributes=3Dorg.apache.jcs.engine.CompositeCa= c heAttributes jcs.region.priceCache.cacheattributes.MaxObjects=3D5000 jcs.region.priceCache.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.en= g ine.memory.lru.LRUMemoryCache jcs.region.priceCache.cacheattributes.ShrinkerIntervalSeconds=3D300 jcs.region.priceCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.priceCache.elementattributes=3Dorg.apache.jcs.engine.ElementAt= t ributes jcs.region.priceCache.elementattributes.IdleTime=3D1000 jcs.region.priceCache.elementattributes.IsEternal=3Dfalse jcs.region.priceCache.elementattributes.IsLateral=3Dtrue jcs.region.priceCache.elementattributes.IsRemote=3Dtrue jcs.region.priceCache.elementattributes.IsSpool=3Dtrue jcs.region.priceCache.elementattributes.MaxLifeSeconds=3D7200 # Cache Region publicationScheduleCache jcs.region.publicationScheduleCache=3DRC jcs.region.publicationScheduleCache.cacheattributes=3Dorg.apache.jcs.engi= n e.CompositeCacheAttributes jcs.region.publicationScheduleCache.cacheattributes.MaxObjects=3D4000 jcs.region.publicationScheduleCache.cacheattributes.MemoryCacheName=3Dorg= . apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.publicationScheduleCache.cacheattributes.ShrinkerIntervalSeco nds=3D300 jcs.region.publicationScheduleCache.cacheattributes.UseMemoryShrinker=3Dt= r ue jcs.region.publicationScheduleCache.elementattributes=3Dorg.apache.jcs.en= g ine.ElementAttributes jcs.region.publicationScheduleCache.elementattributes.IdleTime=3D1000 jcs.region.publicationScheduleCache.elementattributes.IsEternal=3Dfalse jcs.region.publicationScheduleCache.elementattributes.IsLateral=3Dtrue jcs.region.publicationScheduleCache.elementattributes.IsRemote=3Dtrue jcs.region.publicationScheduleCache.elementattributes.IsSpool=3Dtrue jcs.region.publicationScheduleCache.elementattributes.MaxLifeSeconds=3D10= 0 0 # Cache Region unwantedWordsCache jcs.region.unwantedWordsCache=3DDC jcs.region.unwantedWordsCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.unwantedWordsCache.cacheattributes.MaxObjects=3D1000 jcs.region.unwantedWordsCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.unwantedWordsCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.unwantedWordsCache.elementattributes.IdleTime=3D1000 jcs.region.unwantedWordsCache.elementattributes.IsEternal=3Dfalse jcs.region.unwantedWordsCache.elementattributes.IsLateral=3Dtrue jcs.region.unwantedWordsCache.elementattributes.IsRemote=3Dfalse jcs.region.unwantedWordsCache.elementattributes.IsSpool=3Dtrue jcs.region.unwantedWordsCache.elementattributes.MaxLifeSeconds=3D1000000 # Primary Disk Cache-- faster than the rest because of memory key storage jcs.auxiliary.DC.attributes.DiskPath=3Dlogs/rafNA jcs.auxiliary.DC.attributes.MaxKeySize=3D500000 jcs.auxiliary.DC.attributes.MaxPurgatorySize=3D100000 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=3D50000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=3D-1 jcs.auxiliary.DC.attributes=3Dorg.apache.jcs.auxiliary.disk.indexed.Index= e dDiskCacheAttributes jcs.auxiliary.DC=3Dorg.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache= F actory # Remote Server definition jcs.auxiliary.RC.attributes.FailoverServers=3Dlocalhost:1101,localhost:11= 0 2 jcs.auxiliary.RC.attributes.GetOnly=3Dfalse jcs.auxiliary.RC.attributes.GetTimeoutMillis=3D-1 jcs.auxiliary.RC.attributes.LocalPort=3D1201 jcs.auxiliary.RC.attributes.RemoveUponRemotePut=3Dtrue jcs.auxiliary.RC.attributes.RmiSocketFactoryTimeoutMillis=3D5000 jcs.auxiliary.RC.attributes.ThreadPoolName=3Dremote_cache_client jcs.auxiliary.RC.attributes=3Dorg.apache.jcs.auxiliary.remote.RemoteCache= A ttributes jcs.auxiliary.RC=3Dorg.apache.jcs.auxiliary.remote.RemoteCacheFactory # Default Thread pool definition thread_pool.default.keepAliveTime=3D350000 thread_pool.default.boundarySize=3D2000 thread_pool.default.minimumPoolSize=3D4 thread_pool.default.whenBlockedPolicy=3DRUN thread_pool.default.startUpSize=3D4 thread_pool.default.maximumPoolSize=3D150 # Remote Thread pool definition thread_pool.remote_cache_client.keepAliveTime=3D350000 thread_pool.remote_cache_client.boundarySize=3D75 thread_pool.remote_cache_client.startUpSize=3D4 thread_pool.remote_cache_client.maximumPoolSize=3D150 thread_pool.remote_cache_client.whenBlockedPolicy=3DRUN thread_pool.remote_cache_client.minimumPoolSize=3D25 2. Here is the cache.ccf for the Primary Remote Cache Server: # Config file created by Custom Ant Task #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DENVIRONME= NT=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Short Description:WIN # Long Description :WIN Environment #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D # Registry used to register and provide the IRmiCacheService service. registry.host=3Dlocalhost registry.port=3D1101 remote.cache.service.port=3D1101 remote.cluster.LocalClusterConsistency=3Dtrue # DEFAULT CACHE REGION # sets the default aux value for any non configured caches jcs.default=3DDC,RCluster jcs.default.cacheattributes=3Dorg.apache.jcs.engine.CompositeCacheAttribu= t es jcs.default.cacheattributes.MaxObjects=3D100 jcs.default.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.engine.memor= y .lru.LRUMemoryCache jcs.default.elementattributes=3Dorg.apache.jcs.engine.ElementAttributes jcs.default.elementattributes.IdleTime=3D1000 jcs.default.elementattributes.IsEternal=3Dfalse jcs.default.elementattributes.IsLateral=3Dtrue jcs.default.elementattributes.IsRemote=3Dtrue jcs.default.elementattributes.IsSpool=3Dtrue jcs.default.elementattributes.MaxLifeSeconds=3D600 # Cache Region accountDetailCache jcs.region.accountDetailCache=3DDC,RCluster jcs.region.accountDetailCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.accountDetailCache.cacheattributes.MaxObjects=3D750 jcs.region.accountDetailCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.accountDetailCache.cacheattributes.ShrinkerIntervalSeconds=3D3= 0 0 jcs.region.accountDetailCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.accountDetailCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.accountDetailCache.elementattributes.IdleTime=3D1000 jcs.region.accountDetailCache.elementattributes.IsEternal=3Dfalse jcs.region.accountDetailCache.elementattributes.IsLateral=3Dtrue jcs.region.accountDetailCache.elementattributes.IsRemote=3Dtrue jcs.region.accountDetailCache.elementattributes.IsSpool=3Dtrue jcs.region.accountDetailCache.elementattributes.MaxLifeSeconds=3D1800 # Cache Region accountSettingsCache jcs.region.accountSettingsCache=3DDC,RCluster jcs.region.accountSettingsCache.cacheattributes=3Dorg.apache.jcs.engine.C= o mpositeCacheAttributes jcs.region.accountSettingsCache.cacheattributes.MaxObjects=3D750 jcs.region.accountSettingsCache.cacheattributes.MemoryCacheName=3Dorg.apa= c he.jcs.engine.memory.lru.LRUMemoryCache jcs.region.accountSettingsCache.cacheattributes.ShrinkerIntervalSeconds=3D= 300 jcs.region.accountSettingsCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.accountSettingsCache.elementattributes=3Dorg.apache.jcs.engine= . ElementAttributes jcs.region.accountSettingsCache.elementattributes.IdleTime=3D1000 jcs.region.accountSettingsCache.elementattributes.IsEternal=3Dfalse jcs.region.accountSettingsCache.elementattributes.IsLateral=3Dtrue jcs.region.accountSettingsCache.elementattributes.IsRemote=3Dtrue jcs.region.accountSettingsCache.elementattributes.IsSpool=3Dtrue jcs.region.accountSettingsCache.elementattributes.MaxLifeSeconds=3D1800 # Cache Region dbSubscriptionsCache jcs.region.dbSubscriptionsCache=3DDC,RCluster jcs.region.dbSubscriptionsCache.cacheattributes=3Dorg.apache.jcs.engine.C= o mpositeCacheAttributes jcs.region.dbSubscriptionsCache.cacheattributes.MaxObjects=3D1000 jcs.region.dbSubscriptionsCache.cacheattributes.MemoryCacheName=3Dorg.apa= c he.jcs.engine.memory.lru.LRUMemoryCache jcs.region.dbSubscriptionsCache.elementattributes=3Dorg.apache.jcs.engine= . ElementAttributes jcs.region.dbSubscriptionsCache.elementattributes.IdleTime=3D1000 jcs.region.dbSubscriptionsCache.elementattributes.IsEternal=3Dfalse jcs.region.dbSubscriptionsCache.elementattributes.IsLateral=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.IsRemote=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.IsSpool=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.MaxLifeSeconds=3D43200 # Cache Region genericObjectCache jcs.region.genericObjectCache=3DDC,RCluster jcs.region.genericObjectCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.genericObjectCache.cacheattributes.MaxObjects=3D1000 jcs.region.genericObjectCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.genericObjectCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.genericObjectCache.elementattributes.IdleTime=3D1000 jcs.region.genericObjectCache.elementattributes.IsEternal=3Dfalse jcs.region.genericObjectCache.elementattributes.IsLateral=3Dtrue jcs.region.genericObjectCache.elementattributes.IsRemote=3Dtrue jcs.region.genericObjectCache.elementattributes.IsSpool=3Dtrue jcs.region.genericObjectCache.elementattributes.MaxLifeSeconds=3D604800 # Cache Region overlapReportCache jcs.region.overlapReportCache=3DDC,RCluster jcs.region.overlapReportCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.overlapReportCache.cacheattributes.MaxObjects=3D500 jcs.region.overlapReportCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.overlapReportCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.overlapReportCache.elementattributes.IdleTime=3D1000 jcs.region.overlapReportCache.elementattributes.IsEternal=3Dfalse jcs.region.overlapReportCache.elementattributes.IsLateral=3Dtrue jcs.region.overlapReportCache.elementattributes.IsRemote=3Dtrue jcs.region.overlapReportCache.elementattributes.IsSpool=3Dtrue jcs.region.overlapReportCache.elementattributes.MaxLifeSeconds=3D1209600 # Cache Region priceCache jcs.region.priceCache=3DDC,RCluster jcs.region.priceCache.cacheattributes=3Dorg.apache.jcs.engine.CompositeCa= c heAttributes jcs.region.priceCache.cacheattributes.MaxObjects=3D5000 jcs.region.priceCache.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.en= g ine.memory.lru.LRUMemoryCache jcs.region.priceCache.cacheattributes.ShrinkerIntervalSeconds=3D300 jcs.region.priceCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.priceCache.elementattributes=3Dorg.apache.jcs.engine.ElementAt= t ributes jcs.region.priceCache.elementattributes.IdleTime=3D1000 jcs.region.priceCache.elementattributes.IsEternal=3Dfalse jcs.region.priceCache.elementattributes.IsLateral=3Dtrue jcs.region.priceCache.elementattributes.IsRemote=3Dtrue jcs.region.priceCache.elementattributes.IsSpool=3Dtrue jcs.region.priceCache.elementattributes.MaxLifeSeconds=3D7200 # Cache Region publicationScheduleCache jcs.region.publicationScheduleCache=3DDC,RCluster jcs.region.publicationScheduleCache.cacheattributes=3Dorg.apache.jcs.engi= n e.CompositeCacheAttributes jcs.region.publicationScheduleCache.cacheattributes.MaxObjects=3D4000 jcs.region.publicationScheduleCache.cacheattributes.MemoryCacheName=3Dorg= . apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.publicationScheduleCache.cacheattributes.ShrinkerIntervalSeco nds=3D300 jcs.region.publicationScheduleCache.cacheattributes.UseMemoryShrinker=3Dt= r ue jcs.region.publicationScheduleCache.elementattributes=3Dorg.apache.jcs.en= g ine.ElementAttributes jcs.region.publicationScheduleCache.elementattributes.IdleTime=3D1000 jcs.region.publicationScheduleCache.elementattributes.IsEternal=3Dfalse jcs.region.publicationScheduleCache.elementattributes.IsLateral=3Dtrue jcs.region.publicationScheduleCache.elementattributes.IsRemote=3Dtrue jcs.region.publicationScheduleCache.elementattributes.IsSpool=3Dtrue jcs.region.publicationScheduleCache.elementattributes.MaxLifeSeconds=3D10= 0 0 # Cache Region unwantedWordsCache # Cache region is only used local (notremote setting) # Primary Disk Cache-- faster than the rest because of memory key storage jcs.auxiliary.DC.attributes.DiskPath=3Dlogs/rafNA jcs.auxiliary.DC.attributes.MaxKeySize=3D500000 jcs.auxiliary.DC.attributes.MaxPurgatorySize=3D100000 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=3D50000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=3D-1 jcs.auxiliary.DC.attributes=3Dorg.apache.jcs.auxiliary.disk.indexed.Index= e dDiskCacheAttributes jcs.auxiliary.DC=3Dorg.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache= F actory jcs.auxiliary.RCluster.attributes.ClusterServers=3Dlocalhost:1102 jcs.auxiliary.RCluster.attributes.GetOnly=3Dfalse jcs.auxiliary.RCluster.attributes.LocalClusterConsistency=3Dtrue jcs.auxiliary.RCluster.attributes.RemoteTypeName=3DCLUSTER jcs.auxiliary.RCluster.attributes.RemoveUponRemotePut=3Dfalse jcs.auxiliary.RCluster.attributes=3Dorg.apache.jcs.auxiliary.remote.Remot= e CacheAttributes jcs.auxiliary.RCluster=3Dorg.apache.jcs.auxiliary.remote.RemoteCacheFacto= r y 3. Here is the cache.ccf for the Failover Remote Cache Server: # Config file created by Custom Ant Task #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DENVIRONME= NT=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Short Description:WIN # Long Description :WIN Environment #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D # Registry used to register and provide the IRmiCacheService service. registry.host=3Dlocalhost registry.port=3D1102 remote.cache.service.port=3D1102 remote.cluster.LocalClusterConsistency=3Dtrue # DEFAULT CACHE REGION # sets the default aux value for any non configured caches jcs.default=3DDC,RCluster jcs.default.cacheattributes=3Dorg.apache.jcs.engine.CompositeCacheAttribu= t es jcs.default.cacheattributes.MaxObjects=3D100 jcs.default.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.engine.memor= y .lru.LRUMemoryCache jcs.default.elementattributes=3Dorg.apache.jcs.engine.ElementAttributes jcs.default.elementattributes.IdleTime=3D1000 jcs.default.elementattributes.IsEternal=3Dfalse jcs.default.elementattributes.IsLateral=3Dtrue jcs.default.elementattributes.IsRemote=3Dtrue jcs.default.elementattributes.IsSpool=3Dtrue jcs.default.elementattributes.MaxLifeSeconds=3D600 # Cache Region accountDetailCache jcs.region.accountDetailCache=3DDC,RCluster jcs.region.accountDetailCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.accountDetailCache.cacheattributes.MaxObjects=3D750 jcs.region.accountDetailCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.accountDetailCache.cacheattributes.ShrinkerIntervalSeconds=3D3= 0 0 jcs.region.accountDetailCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.accountDetailCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.accountDetailCache.elementattributes.IdleTime=3D1000 jcs.region.accountDetailCache.elementattributes.IsEternal=3Dfalse jcs.region.accountDetailCache.elementattributes.IsLateral=3Dtrue jcs.region.accountDetailCache.elementattributes.IsRemote=3Dtrue jcs.region.accountDetailCache.elementattributes.IsSpool=3Dtrue jcs.region.accountDetailCache.elementattributes.MaxLifeSeconds=3D1800 # Cache Region accountSettingsCache jcs.region.accountSettingsCache=3DDC,RCluster jcs.region.accountSettingsCache.cacheattributes=3Dorg.apache.jcs.engine.C= o mpositeCacheAttributes jcs.region.accountSettingsCache.cacheattributes.MaxObjects=3D750 jcs.region.accountSettingsCache.cacheattributes.MemoryCacheName=3Dorg.apa= c he.jcs.engine.memory.lru.LRUMemoryCache jcs.region.accountSettingsCache.cacheattributes.ShrinkerIntervalSeconds=3D= 300 jcs.region.accountSettingsCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.accountSettingsCache.elementattributes=3Dorg.apache.jcs.engine= . ElementAttributes jcs.region.accountSettingsCache.elementattributes.IdleTime=3D1000 jcs.region.accountSettingsCache.elementattributes.IsEternal=3Dfalse jcs.region.accountSettingsCache.elementattributes.IsLateral=3Dtrue jcs.region.accountSettingsCache.elementattributes.IsRemote=3Dtrue jcs.region.accountSettingsCache.elementattributes.IsSpool=3Dtrue jcs.region.accountSettingsCache.elementattributes.MaxLifeSeconds=3D1800 # Cache Region dbSubscriptionsCache jcs.region.dbSubscriptionsCache=3DDC,RCluster jcs.region.dbSubscriptionsCache.cacheattributes=3Dorg.apache.jcs.engine.C= o mpositeCacheAttributes jcs.region.dbSubscriptionsCache.cacheattributes.MaxObjects=3D1000 jcs.region.dbSubscriptionsCache.cacheattributes.MemoryCacheName=3Dorg.apa= c he.jcs.engine.memory.lru.LRUMemoryCache jcs.region.dbSubscriptionsCache.elementattributes=3Dorg.apache.jcs.engine= . ElementAttributes jcs.region.dbSubscriptionsCache.elementattributes.IdleTime=3D1000 jcs.region.dbSubscriptionsCache.elementattributes.IsEternal=3Dfalse jcs.region.dbSubscriptionsCache.elementattributes.IsLateral=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.IsRemote=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.IsSpool=3Dtrue jcs.region.dbSubscriptionsCache.elementattributes.MaxLifeSeconds=3D43200 # Cache Region genericObjectCache jcs.region.genericObjectCache=3DDC,RCluster jcs.region.genericObjectCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.genericObjectCache.cacheattributes.MaxObjects=3D1000 jcs.region.genericObjectCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.genericObjectCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.genericObjectCache.elementattributes.IdleTime=3D1000 jcs.region.genericObjectCache.elementattributes.IsEternal=3Dfalse jcs.region.genericObjectCache.elementattributes.IsLateral=3Dtrue jcs.region.genericObjectCache.elementattributes.IsRemote=3Dtrue jcs.region.genericObjectCache.elementattributes.IsSpool=3Dtrue jcs.region.genericObjectCache.elementattributes.MaxLifeSeconds=3D604800 # Cache Region overlapReportCache jcs.region.overlapReportCache=3DDC,RCluster jcs.region.overlapReportCache.cacheattributes=3Dorg.apache.jcs.engine.Com= p ositeCacheAttributes jcs.region.overlapReportCache.cacheattributes.MaxObjects=3D500 jcs.region.overlapReportCache.cacheattributes.MemoryCacheName=3Dorg.apach= e .jcs.engine.memory.lru.LRUMemoryCache jcs.region.overlapReportCache.elementattributes=3Dorg.apache.jcs.engine.E= l ementAttributes jcs.region.overlapReportCache.elementattributes.IdleTime=3D1000 jcs.region.overlapReportCache.elementattributes.IsEternal=3Dfalse jcs.region.overlapReportCache.elementattributes.IsLateral=3Dtrue jcs.region.overlapReportCache.elementattributes.IsRemote=3Dtrue jcs.region.overlapReportCache.elementattributes.IsSpool=3Dtrue jcs.region.overlapReportCache.elementattributes.MaxLifeSeconds=3D1209600 # Cache Region priceCache jcs.region.priceCache=3DDC,RCluster jcs.region.priceCache.cacheattributes=3Dorg.apache.jcs.engine.CompositeCa= c heAttributes jcs.region.priceCache.cacheattributes.MaxObjects=3D5000 jcs.region.priceCache.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.en= g ine.memory.lru.LRUMemoryCache jcs.region.priceCache.cacheattributes.ShrinkerIntervalSeconds=3D300 jcs.region.priceCache.cacheattributes.UseMemoryShrinker=3Dtrue jcs.region.priceCache.elementattributes=3Dorg.apache.jcs.engine.ElementAt= t ributes jcs.region.priceCache.elementattributes.IdleTime=3D1000 jcs.region.priceCache.elementattributes.IsEternal=3Dfalse jcs.region.priceCache.elementattributes.IsLateral=3Dtrue jcs.region.priceCache.elementattributes.IsRemote=3Dtrue jcs.region.priceCache.elementattributes.IsSpool=3Dtrue jcs.region.priceCache.elementattributes.MaxLifeSeconds=3D7200 # Cache Region publicationScheduleCache jcs.region.publicationScheduleCache=3DDC,RCluster jcs.region.publicationScheduleCache.cacheattributes=3Dorg.apache.jcs.engi= n e.CompositeCacheAttributes jcs.region.publicationScheduleCache.cacheattributes.MaxObjects=3D4000 jcs.region.publicationScheduleCache.cacheattributes.MemoryCacheName=3Dorg= . apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.publicationScheduleCache.cacheattributes.ShrinkerIntervalSeco nds=3D300 jcs.region.publicationScheduleCache.cacheattributes.UseMemoryShrinker=3Dt= r ue jcs.region.publicationScheduleCache.elementattributes=3Dorg.apache.jcs.en= g ine.ElementAttributes jcs.region.publicationScheduleCache.elementattributes.IdleTime=3D1000 jcs.region.publicationScheduleCache.elementattributes.IsEternal=3Dfalse jcs.region.publicationScheduleCache.elementattributes.IsLateral=3Dtrue jcs.region.publicationScheduleCache.elementattributes.IsRemote=3Dtrue jcs.region.publicationScheduleCache.elementattributes.IsSpool=3Dtrue jcs.region.publicationScheduleCache.elementattributes.MaxLifeSeconds=3D10= 0 0 # Cache Region unwantedWordsCache # Cache region is only used local (notremote setting) # Primary Disk Cache-- faster than the rest because of memory key storage jcs.auxiliary.DC.attributes.DiskPath=3Dlogs/rafNA jcs.auxiliary.DC.attributes.MaxKeySize=3D500000 jcs.auxiliary.DC.attributes.MaxPurgatorySize=3D100000 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=3D50000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=3D-1 jcs.auxiliary.DC.attributes=3Dorg.apache.jcs.auxiliary.disk.indexed.Index= e dDiskCacheAttributes jcs.auxiliary.DC=3Dorg.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache= F actory jcs.auxiliary.RCluster.attributes.ClusterServers=3Dlocalhost:1101 jcs.auxiliary.RCluster.attributes.GetOnly=3Dfalse jcs.auxiliary.RCluster.attributes.LocalClusterConsistency=3Dtrue jcs.auxiliary.RCluster.attributes.RemoteTypeName=3DCLUSTER jcs.auxiliary.RCluster.attributes.RemoveUponRemotePut=3Dfalse jcs.auxiliary.RCluster.attributes=3Dorg.apache.jcs.auxiliary.remote.Remot= e CacheAttributes jcs.auxiliary.RCluster=3Dorg.apache.jcs.auxiliary.remote.RemoteCacheFacto= r y -----Original Message----- From: Smuts, Aaron [mailto:Aaron.Smuts@travelocity.com]=20 Sent: Tuesday, June 19, 2007 10:51 PM To: JCS Users List Subject: RE: jcs 1.2.7.9.2 remote cache server UnmarshalException=20 Send your cache.ccf files for the remote cache and local. I think that they are misconfigured. It's trying to de-serialize the object for some reason. =20 ________________________________ From: Emilia Ipate [mailto:eipate@nl.swets.com]=20 Sent: Tuesday, June 19, 2007 11:54 AM To: jcs-users@jakarta.apache.org Subject: jcs 1.2.7.9.2 remote cache server UnmarshalException=20 =20 Hi, all! =20 =20 I am currently using jcs 1.2.7.9.2 and I have 2 remote Cache Servers (a Primary one, and a Failover one). =20 The JCS 1.2.7.9.2 says that the Remote Cache Server now holds byte arrays, this normally means that the Remote Cache Server does not need in its classpath the classes of the objects he holds. =20 But, everytime, I am trying to get a value (from the Remote Cache Server) for a key that does not exist in Remote Cache Server, I get the Exception below. So: =20 1. I get the exception everytime I am asking for a new key from the Remote Cache Server (new key =3D the key is not on the Remote Server) 2. my application sees the Primary Remote Cache Server as being down, at connects to the Failover Cache Server. 3. after a few seconds (2-4 seconds), the application connects back to the Primary Remote Cache Server. 4. nl.swets.wise.framework.account.cache.AccountCacheKey is Serialized and it is in the classpath of nl.swets.wise.framework.account.ejb.AccountSettingsBeanImpl =20 Here is the entire exception: =20 [6/19/07 17:22:49:109 CEST] 4edd4edd SystemOut O 2007-06-19 17:22:49,109 [Servlet.Engine.Transports : 0] ERROR org.apache.jcs.auxiliary.remote.RemoteCache - Disabling remote cache due to error: Failed to get [07391633 null null] from [accountSettingsCache]=20 java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:=20 java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:=20 java.lang.ClassNotFoundException: nl.swets.wise.framework.account.cache.AccountCacheKey at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:310) at sun.rmi.transport.Transport$1.run(Transport.java:164) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java:389) at sun.rmi.transport.Transport.serviceCall(Transport.java:160) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTr ansport.java:837) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja va:911) at java.lang.Thread.run(Thread.java:568) at java.lang.Throwable.(Throwable.java) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem oteCall.java:264) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:240 ) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:149) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServer_Stub.get(Unknow n Source) at org.apache.jcs.auxiliary.remote.RemoteCache.get(RemoteCache.java:249) at org.apache.jcs.auxiliary.remote.RemoteCacheNoWait.get(RemoteCacheNoWait. java:126) at org.apache.jcs.auxiliary.remote.RemoteCacheNoWaitFacade.get(RemoteCacheN oWaitFacade.java:151) at org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:506 ) at org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:413 ) at org.apache.jcs.access.CacheAccess.get(CacheAccess.java:195) at nl.swets.wise.framework.core.cache.JCS.JCSCache.get(JCSCache.java) at nl.swets.wise.framework.core.cache.JCS.JCSCacheManager.getCacheObject(JC SCacheManager.java) at nl.swets.wise.framework.account.ejb.AccountSettingsBeanImpl.getByAccount ID(AccountSettingsBeanImpl.java) at nl.swets.wise.framework.account.ejb.AccountMgmtBeanImpl.getAccountSettin gs(AccountMgmtBeanImpl.java:211) at nl.swets.wise.framework.user.ejb.UserManagementBeanImpl.login(UserManage mentBeanImpl.java:1257) at nl.swets.wise.framework.user.ejb.UserManagementBean.login(UserManagement Bean.java:153) at nl.swets.wise.framework.user.ejb.EJSRemoteStatelessUserManagement_3ad69d 3a.login(EJSRemoteStatelessUserManagement_3ad69d3a.java:200) at nl.swets.wise.framework.user.ejb._UserManagement_Stub.login(_UserManagem ent_Stub.java:482) at nl.swets.wise.framework.user.ejb.UserManagementAccessBean.login(UserMana gementAccessBean.java:87) at nl.swets.wise.common.user.ui.LoginAction.execute(LoginAction.java:266) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr ocessor.java:484) at nl.swets.wise.struts.SwetsRequestProcessor.processActionPerform(SwetsReq uestProcessor.java:65) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictSe rvletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLi fecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycle Servlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLif ecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance. java:283) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(Vali dServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(Servle tInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa tch(WebAppRequestDispatcher.java:1019) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe questDispatcher.java:592) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq uestDispatcher.java:204) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1 25) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv oker.java:286) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati on(CachedInvocation.java:71) at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invo ke(CacheableInvocationContext.java:116) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle tRequestProcessor.java:186) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis tener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection .java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java: 615) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java) Caused by:=20 java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:=20 java.lang.ClassNotFoundException: nl.swets.wise.framework.account.cache.AccountCacheKey at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:270) at sun.rmi.transport.Transport$1.run(Transport.java:164) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java:389) at sun.rmi.transport.Transport.serviceCall(Transport.java:160) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTr ansport.java:837) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja va:911) at java.lang.Thread.run(Thread.java:568) Caused by:=20 java.lang.ClassNotFoundException: nl.swets.wise.framework.account.cache.AccountCacheKey at java.net.URLClassLoader.findClass(URLClassLoader.java:376) at java.lang.ClassLoader.loadClass(ClassLoader.java) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java) at java.io.ObjectInputStream.readObject(ObjectInputStream.java) at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:313) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:264) at sun.rmi.transport.Transport$1.run(Transport.java:164) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java:389) at sun.rmi.transport.Transport.serviceCall(Transport.java:160) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTr ansport.java:837) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja va:911) at java.lang.Thread.run(Thread.java:568) =20 And here it connects to the Failover Remote Cache Server: =20 class load: org/apache/jcs/engine/ZombieCacheService class load: org/apache/jcs/auxiliary/remote/ZombieRemoteCacheService class load: org/apache/jcs/utils/struct/BoundedQueue [6/19/07 17:22:49:124 CEST] 4edd4edd SystemOut O 2007-06-19 17:22:49,124 [Servlet.Engine.Transports : 0] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheMonitor - Notified of an error.=20 [6/19/07 17:22:49:124 CEST] 4edd4edd SystemOut O 2007-06-19 17:22:49,124 [Servlet.Engine.Transports : 0] DEBUG org.apache.jcs.auxiliary.remote.RemoteCache - Initiating failover, rcnf =3D RemoteCacheNoWaitFacade: accountSettingsCache, rca =3D=20 RemoteCacheAttributes=20 remoteHost =3D [localhost] remotePort =3D [1102] cacheName =3D [accountSettingsCache] removeUponRemotePut =3D [true] getOnly =3D [false] receive =3D [true] getTimeoutMillis =3D [-1] threadPoolName =3D [remote_cache_client] remoteType =3D [0] localClusterConsistency =3D [false] zombieQueueMaxSize =3D [1000]=20 [6/19/07 17:22:49:140 CEST] 4edd4edd SystemOut O 2007-06-19 17:22:49,140 [Servlet.Engine.Transports : 0] DEBUG org.apache.jcs.auxiliary.remote.RemoteCache - Found facade, calling failover=20 [6/19/07 17:22:49:140 CEST] 4edd4edd SystemOut O 2007-06-19 17:22:49,140 [Servlet.Engine.Transports : 0] INFO org.apache.jcs.auxiliary.remote.RemoteCacheNoWaitFacade - in failover for 0=20 class load: org/apache/jcs/auxiliary/remote/RemoteCacheFailoverRunner [6/19/07 17:22:49:156 CEST] 4edd4edd SystemOut O 2007-06-19 17:22:49,156 [Servlet.Engine.Transports : 0] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheNoWaitFacade - Failed to get.=20 [6/19/07 17:22:49:156 CEST] 3e9e3e9e SystemOut O 2007-06-19 17:22:49,156 [Thread-28] INFO org.apache.jcs.auxiliary.remote.RemoteCacheFailoverRunner - Remote cache FAILOVER RUNNING.=20 [6/19/07 17:22:49:156 CEST] 3e9e3e9e SystemOut O 2007-06-19 17:22:49,156 [Thread-28] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheFailoverRunner - fidx =3D 0 failovers.length =3D 2=20 [6/19/07 17:22:49:156 CEST] 3e9e3e9e SystemOut O 2007-06-19 17:22:49,156 [Thread-28] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheFailoverRunner - stating at failover i =3D 0=20 [6/19/07 17:22:49:171 CEST] 3e9e3e9e SystemOut O 2007-06-19 17:22:49,156 [Thread-28] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheFailoverRunner - Trying server [localhost:1101] at failover index i =3D 0=20 [6/19/07 17:22:49:171 CEST] 3e9e3e9e SystemOut O 2007-06-19 17:22:49,171 [Thread-28] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheFailoverRunner - RemoteCacheAttributes for failover =3D=20 RemoteCacheAttributes=20 remoteHost =3D [localhost] remotePort =3D [1101] cacheName =3D [accountSettingsCache] removeUponRemotePut =3D [true] getOnly =3D [false] receive =3D [true] getTimeoutMillis =3D [-1] threadPoolName =3D [remote_cache_client] remoteType =3D [0] localClusterConsistency =3D [false] zombieQueueMaxSize =3D [1000]=20 [6/19/07 17:22:49:171 CEST] 3e9e3e9e SystemOut O 2007-06-19 17:22:49,171 [Thread-28] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheFailoverRunner - Trying server [localhost:1102] at failover index i =3D 1=20 =20 =20 Might there be a bug in JCS 1.2.7.9.2 that generates the exception above, something like: - the first time you request for a key, instead of returning null, it tries to convert the empty by array to AccountCacheKey? - Does the JCS 1.2.7.9.2 still need the AccountCacheKey in it's classpath even though it says that (http://jakarta.apache.org/jcs/changes-report.html )"The remote cache now sends a byte array to the server instead of the class. This allows you to run the remote server without copies of your objects in its classpath. This makes the remote server far easier to use." ??? =20 Please give me an advise, Emilia --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org