jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Desai, Mehul P" <MPDe...@directv.com>
Subject Exception on startup
Date Tue, 13 May 2003 23:28:43 GMT
I am using JCS with Weblogic. I am getting the following exception on
Startup. An earlier post indicated that I might be doing something in my
cache.ccf. The cache.ccf is below the exception

2003-05-13 14:24:15,824 ExecuteThread: '13' for queue: 'default' INFO
indexed.IndexedDiskCache: ?: - Cache file root directory:
@jcs.cache.location@
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' ERROR
config.OptionConverter: ?: - Could not instantiate class
[org.apache.stratum.jcs.engine.CompositeCacheAttributes]
java.lang.ClassNotFoundException:
org.apache.stratum.jcs.engine.CompositeCacheAttributes
	at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
java:179)
	at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
sLoader.java:65)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
sLoader.java:43)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:120)
	at
org.apache.jcs.config.OptionConverter.instantiateByClassName(OptionConverter
.java:278)
	at
org.apache.jcs.config.OptionConverter.instantiateByKey(OptionConverter.java:
139)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseCompositeCache
Attributes(CompositeCacheConfigurator.java:280)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(Composi
teCacheConfigurator.java:204)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(Composi
teCacheConfigurator.java:180)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(Compos
iteCacheConfigurator.java:168)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(Composi
teCacheConfigurator.java:94)
	at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCache
Manager.java:190)
	at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCache
Manager.java:173)
	at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCache
Manager.java:131)
	at
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCac
heManager.java:76)
	at org.apache.jcs.JCS.ensureCacheManager(JCS.java:135)
	at org.apache.jcs.JCS.getInstance(JCS.java:101)
	at
com.directv.data.cache.PDTJCSCacheManager.<init>(PDTJCSCacheManager.java:40)
	at
com.directv.data.cache.PDTJCSCacheManager.getInstance(PDTJCSCacheManager.jav
a:63)
	at
com.directv.www.pdt.bo.MarketingOfferManager.getMarketingOfferList(Marketing
OfferManager.java:687)
	at
com.directv.www.pdt.web.controller.FastTrackOfferAction.perform(FastTrackOff
erAction.java:159)
	at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1786)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
	at
com.directv.www.struts.action.SecureActionServlet.process(SecureActionServle
t.java:55)
	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
	at
com.directv.www.util.StartupActionServlet.doGet(StartupActionServlet.java:35
1)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
	at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2495)
	at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2204)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' WARN
control.CompositeCacheConfigurator: ?: - Could not instantiate ccAttr named
'jcs.region.programGuideCache.cacheattributes', using defaults.
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' DEBUG
control.CompositeCacheConfigurator: ?: - Parsing options for
'jcs.region.programGuideCache.cacheattributes'
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' DEBUG
config.OptionConverter: ?: - Setting property [memoryCacheName] to
[org.apache.stratum.jcs.engine.memory.lru.LRUMemoryCache].
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' DEBUG
config.OptionConverter: ?: - Setting property [maxObjects] to [1000].
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' DEBUG
control.CompositeCacheConfigurator: ?: - End of parsing for
"jcs.region.programGuideCache.cacheattributes".
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' WARN
config.OptionConverter: ?: - Could not find value for key
jcs.region.programGuideCache.elementattributes
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' WARN
control.CompositeCacheConfigurator: ?: - Could not instantiate eAttr named
'jcs.region.programGuideCache.elementattributes', using defaults.
2003-05-13 14:24:15,855 ExecuteThread: '13' for queue: 'default' DEBUG
control.CompositeCacheConfigurator: ?: - Parsing options for
'jcs.region.programGuideCache.elementattributes'
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' DEBUG
config.OptionConverter: ?: - Setting property [maxLifeSeconds] to [900].
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' DEBUG
control.CompositeCacheConfigurator: ?: - End of parsing for
"jcs.region.programGuideCache.elementattributes".
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' DEBUG
event.ElementEventQueue: ?: - Constructed: cacheName=programGuideCache
2003-05-13 14:24:15,886 ElementEventQueue.QProcessor-2 DEBUG
event.ElementEventQueue: ?: - Waiting for something to come into the Q
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' WARN
control.CompositeCache: ?: - Failed to init mem cache, using: LRUMemoryCache
java.lang.ClassNotFoundException:
org.apache.stratum.jcs.engine.memory.lru.LRUMemoryCache
	at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
java:179)
	at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
sLoader.java:65)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
sLoader.java:43)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:120)
	at
org.apache.jcs.engine.control.CompositeCache.createMemoryCache(CompositeCach
e.java:1112)
	at
org.apache.jcs.engine.control.CompositeCache.<init>(CompositeCache.java:168)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(Composi
teCacheConfigurator.java:209)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(Composi
teCacheConfigurator.java:180)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(Compos
iteCacheConfigurator.java:168)
	at
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(Composi
teCacheConfigurator.java:94)
	at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCache
Manager.java:190)
	at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCache
Manager.java:173)
	at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCache
Manager.java:131)
	at
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCac
heManager.java:76)
	at org.apache.jcs.JCS.ensureCacheManager(JCS.java:135)
	at org.apache.jcs.JCS.getInstance(JCS.java:101)
	at
com.directv.data.cache.PDTJCSCacheManager.<init>(PDTJCSCacheManager.java:40)
	at
com.directv.data.cache.PDTJCSCacheManager.getInstance(PDTJCSCacheManager.jav
a:63)
	at
com.directv.www.pdt.bo.MarketingOfferManager.getMarketingOfferList(Marketing
OfferManager.java:687)
	at
com.directv.www.pdt.web.controller.FastTrackOfferAction.perform(FastTrackOff
erAction.java:159)
	at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1786)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
	at
com.directv.www.struts.action.SecureActionServlet.process(SecureActionServle
t.java:55)
	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
	at
com.directv.www.util.StartupActionServlet.doGet(StartupActionServlet.java:35
1)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
	at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2495)
	at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2204)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' INFO
lru.LRUMemoryCache: ?: - initialized LRUMemoryCache for programGuideCache
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' DEBUG
control.CompositeCache: ?: - Constructed cache with name programGuideCache
and cache attributes: [ useLateral = true, useRemote = true, useDisk = true,
maxObjs = 1000 ]
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' DEBUG
control.CompositeCacheConfigurator: ?: - Parsing region name
'programGuideCache', value 'DC'
2003-05-13 14:24:15,886 ExecuteThread: '13' for queue: 'default' DEBUG
control.CompositeCacheConfigurator: ?: - Parsing auxiliary named
"DC".ne-jcs-user-help@jakarta.apache.org

# DEFAULT CACHE REGION   
jcs.default=DC
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru
.LRUMemoryCache

# Program Guide Region
jcs.region.programGuideCache=DC
jcs.region.programGuideCache.cacheattributes=org.apache.stratum.jcs.engine.C
ompositeCacheAttributes
jcs.region.programGuideCache.cacheattributes.MaxObjects=1000
jcs.region.programGuideCache.cacheattributes.MemoryCacheName=org.apache.stra
tum.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.programGuideCache.elementattributes.MaxLifeSeconds=900

# System CACHE REGION
jcs.system.groupIdCache=DC
jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCache
Attributes
jcs.system.groupIdCache.cacheattributes.MaxObjects=10000
jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engin
e.memory.lru.LRUMemoryCache

# AVAILABLE AUXILIARY CACHES   
jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFacto
ry
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDis
kCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=@jcs.cache.location@

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message