jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Zurke <mis...@zurke.info>
Subject problems getting jcs working
Date Thu, 16 Jun 2005 11:31:47 GMT
hi,

i am using jcs-1.2-6-5.
my cache.ccf looks like:

# DEFAULT CACHE REGION

jcs.default=DC,LTCP
jcs.default.cacheattributes=
     org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=
     org.apache.jcs.engine.memory.lru.LRUMemoryCache


i implemented a first test based on the basic web example descibed in 
the user guide and getting the following exception:



[06-16 11:19:03]main (CompositeCacheManager.java:89) - Instance is null, 
creating with default config
[06-16 11:19:03]main (CompositeCacheManager.java:160) - Creating cache 
manager from config file: /cache.ccf
[06-16 11:19:03]main (CompositeCacheManager.java:172) - File contained 6 
properties
[06-16 11:19:03]main (ThreadPoolManager.java:306) - Initializing 
ThreadPoolManager
[06-16 11:19:03]main (ThreadPoolManager.java:451) - thread_pool.default 
PoolConfiguration = useBoundary = [true]boundarySize = 
[2000]maximumPoolSize = [150]minimumPoolSize = [4]keepAliveTime = 
[300000]whenBlockedPolicy = [RUN]startUpSize = [4]
[06-16 11:19:03]main (CompositeCacheConfigurator.java:122) - setting 
defaults to DC,LTCP
[06-16 11:19:03]main (OptionConverter.java:300) - Could not instantiate 
class []
java.lang.ClassNotFoundException:
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at 
org.apache.jcs.config.OptionConverter.instantiateByClassName(OptionConverter.java:289)
         at 
org.apache.jcs.config.OptionConverter.instantiateByKey(OptionConverter.java:154)
         at 
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseCompositeCacheAttributes(CompositeCacheConfigurator.java:286)
         at 
org.apache.jcs.engine.control.CompositeCacheConfigurator.setDefaultCompositeCacheAttributes(CompositeCacheConfigurator.java:128)
         at 
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:103)
         at 
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:209)
         at 
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:192)
         at 
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:149)
         at 
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:93)
         at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
         at org.apache.jcs.JCS.getInstance(JCS.java:64)


any ideas what's missing?

mish

---------------------------------------------------------------------
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