-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: JCS startup errors
PostPosted: Fri Sep 12, 2003 4:33 pm 
Beginner
Beginner

Joined: Tue Sep 09, 2003 5:20 pm
Posts: 43
I posted this question to the JCS mailing list (turbine-jcs-user@jakarta.apache.org), but so far no response.

I used the Wiki page (http://www.hibernate.org/61.html) as a guide in setting up JCS for my hibernate 2 web application running under Tomcat 4.1.24 and MySQL 4.0.13.

Of 31 object types, I've got 4 cached read-only and 9 cached read-write. My cache.ccf file is in my WEB-INF/classes directory.

When Tomcat starts up I get the following errors messages (see below). But the cache seems to be working (I've turned on net.sf.hibernate.cache debug level messages).

Should I be concerned with the ERRORs? Is there a way to eliminate these messages?

Thanks in advance - Richard

TOMCAT STARTUP - BEGIN
...
Code:
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
09:33:16,281  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,281 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,281  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,296 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,296  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,296 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,296  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,296 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,312  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,312 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,312  WARN OptionConverter:168 - No such property [is] in org.apache.jcs.engine.ElementAttributes.
09:33:16,312  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,312 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,312  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,312 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,328  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,328 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,328  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,328 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,328  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,328 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,328  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,343 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,343  WARN OptionConverter:135 - Could not find value for key jcs.auxiliary.DC
09:33:16,343 ERROR CompositeCacheConfigurator:359 - Could not instantiate auxFactory named "DC".
09:33:16,375  WARN Configuration:903 - read-only cache configured for mutable: com.ltoj.persistence.base.PoGradeLevel
09:33:16,453  WARN Configuration:903 - read-only cache configured for mutable: com.ltoj.persistence.base.PoOrganizationType
09:33:16,531  WARN Configuration:903 - read-only cache configured for mutable: com.ltoj.persistence.base.PoRole
09:33:16,671  WARN Configuration:903 - read-only cache configured for mutable: com.ltoj.persistence.base.PoStatus
DEBUG [main] StartupListener.contextInitialized(34) | contextInitialized...

...
TOMCAT STARTUP - END
Code:


Top
 Profile  
 
 Post subject: JCS startup errors
PostPosted: Fri Sep 12, 2003 4:35 pm 
Beginner
Beginner

Joined: Tue Sep 09, 2003 5:20 pm
Posts: 43
BTW, Here's the cache.ccf file:


Code:
# DEFAULT CACHE REGION (memory cache)
jcs.default=DC
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=2000
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
jcs.default.elementattributes.MaxLifeSeconds=240
jcs.default.elementattributes.IdleTime=1800
jcs.default.elementattributes.IsSpool=true
jcs.default.elementattributes.IsRemote=false
jcs.default.elementattributes.IsLateral=false

# System CACHE REGION
#jcs.system.groupIdCache=DC
#jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
#jcs.system.groupIdCache.cacheattributes.MaxObjects=2000
#jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

#Organization
jcs.region.com.ltoj.persistence.base.PoOrganization=DC
jcs.region.com.ltoj.persistence.base.PoOrganization.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoOrganization.cacheattributes.MaxObjects=100
jcs.region.com.ltoj.persistence.base.PoOrganization.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoOrganization.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoOrganization.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoOrganization.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoOrganization.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoOrganization.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoOrganization.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoOrganization.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoOrganization.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoOrganization.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoOrganization.elementattributes.IsLateral=false

#OrgPolicy
jcs.region.com.ltoj.persistence.base.PoOrgPolicy=DC
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.cacheattributes.MaxObjects=100
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoOrgPolicy.elementattributes.Is

#Ethnicity
jcs.region.com.ltoj.persistence.base.PoEthnicity=DC
jcs.region.com.ltoj.persistence.base.PoEthnicity.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoEthnicity.cacheattributes.MaxObjects=25
jcs.region.com.ltoj.persistence.base.PoEthnicity.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoEthnicity.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoEthnicity.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoEthnicity.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoEthnicity.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoEthnicity.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoEthnicity.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoEthnicity.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoEthnicity.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoEthnicity.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoEthnicity.elementattributes.IsLateral=false

#GradeLevel
jcs.region.com.ltoj.persistence.base.PoGradeLevel=DC
jcs.region.com.ltoj.persistence.base.PoGradeLevel.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoGradeLevel.cacheattributes.MaxObjects=25
jcs.region.com.ltoj.persistence.base.PoGradeLevel.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoGradeLevel.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoGradeLevel.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoGradeLevel.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoGradeLevel.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoGradeLevel.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoGradeLevel.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoGradeLevel.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoGradeLevel.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoGradeLevel.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoGradeLevel.elementattributes.IsLateral=false

#IndDisabEducAct
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct=DC
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.cacheattributes.MaxObjects=25
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoIndDisabEducAct.elementattributes.IsLateral=false

#Language
jcs.region.com.ltoj.persistence.base.PoLanguage=DC
jcs.region.com.ltoj.persistence.base.PoLanguage.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoLanguage.cacheattributes.MaxObjects=25
jcs.region.com.ltoj.persistence.base.PoLanguage.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoLanguage.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoLanguage.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoLanguage.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoLanguage.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoLanguage.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoLanguage.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoLanguage.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoLanguage.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoLanguage.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoLanguage.elementattributes.IsLateral=false

#MeasurementParms
jcs.region.com.ltoj.persistence.base.PoMeasurementParms=DC
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.cacheattributes.MaxObjects=200
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoMeasurementParms.elementattributes.IsLateral=false

#MeasurementUnit
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit=DC
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.cacheattributes.MaxObjects=100
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoMeasurementUnit.elementattributes.IsLateral=false

#OrganizationType
jcs.region.com.ltoj.persistence.base.PoOrganizationType=DC
jcs.region.com.ltoj.persistence.base.PoOrganizationType.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoOrganizationType.cacheattributes.MaxObjects=5
jcs.region.com.ltoj.persistence.base.PoOrganizationType.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoOrganizationType.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoOrganizationType.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoOrganizationType.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoOrganizationType.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoOrganizationType.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoOrganizationType.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoOrganizationType.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoOrganizationType.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoOrganizationType.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoOrganizationType.elementattributes.IsLateral=false

#Role
jcs.region.com.ltoj.persistence.base.PoRole=DC
jcs.region.com.ltoj.persistence.base.PoRole.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoRole.cacheattributes.MaxObjects=5
jcs.region.com.ltoj.persistence.base.PoRole.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoRole.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoRole.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoRole.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoRole.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoRole.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoRole.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoRole.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoRole.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoRole.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoRole.elementattributes.IsLateral=false

#Status
jcs.region.com.ltoj.persistence.base.PoStatus=DC
jcs.region.com.ltoj.persistence.base.PoStatus.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoStatus.cacheattributes.MaxObjects=2
jcs.region.com.ltoj.persistence.base.PoStatus.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoStatus.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoStatus.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoStatus.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoStatus.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoStatus.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoStatus.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoStatus.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoStatus.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoStatus.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoStatus.elementattributes.IsLateral=false

#Subject
jcs.region.com.ltoj.persistence.base.PoSubject=DC
jcs.region.com.ltoj.persistence.base.PoSubject.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com.ltoj.persistence.base.PoSubject.cacheattributes.MaxObjects=100
jcs.region.com.ltoj.persistence.base.PoSubject.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com.ltoj.persistence.base.PoSubject.cacheattributes.UseMemoryShrinker=true
jcs.region.com.ltoj.persistence.base.PoSubject.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com.ltoj.persistence.base.PoSubject.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.com.ltoj.persistence.base.PoSubject.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com.ltoj.persistence.base.PoSubject.elementattributes.IsEternal=false
jcs.region.com.ltoj.persistence.base.PoSubject.elementattributes.MaxLifeSeconds=7200
jcs.region.com.ltoj.persistence.base.PoSubject.elementattributes.IdleTime=180
jcs.region.com.ltoj.persistence.base.PoSubject.elementattributes.IsSpool=false
jcs.region.com.ltoj.persistence.base.PoSubject.elementattributes.IsRemote=false
jcs.region.com.ltoj.persistence.base.PoSubject.elementattributes.IsLateral=false


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 13, 2003 11:06 pm 
Newbie

Joined: Sat Aug 30, 2003 12:37 pm
Posts: 16
It seems like you want to use Disk Caching but you didn't configure the disk cache properly. You need to add the following to your CCF:


Code:
#Auxiliary CACHE (disk cache)

jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=cache


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 14, 2003 12:04 pm 
Beginner
Beginner

Joined: Tue Sep 09, 2003 5:20 pm
Posts: 43
If it appears I wanted to use disk caching, that's only because I'm new to using JCS. I referred to the examples on the hibernate Wiki page (http://www.hibernate.org/61.html) and the example cache.ccf file that ships with Hibernate.

So how would I make it just a main memory cache? That's what I want. I am trying to cache often used static or nearly static objects in memory. After I get this working, I will create fixed size MRU caches for high-use object types that are too numerous to completely cache.

Thanks much for the response.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 16, 2003 12:34 am 
Newbie

Joined: Sat Aug 30, 2003 12:37 pm
Posts: 16
I saw from your other post that you are now more familiar with JCS. Anyways, just read up on how to quickly configure JCS at http://jakarta.apache.org/turbine/jcs/B ... ation.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.