cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: JCS exception
Date Tue, 07 Dec 2004 20:59:17 GMT
Hi Oscar:

There is a bug in the JCS version shipped in cocoon 2.1.5.1.

2 posible solutions:

1-Upgrade to 2.1.6. We shipped the ehcache as default cache system or,

2-Download JCS from the current CVS and replace the buggy jar.

Best Regards,

Antonio Gallardo


On Mar, 7 de Diciembre de 2004, 10:15, Oscar Picasso dijo:
> On the 2.1.5.1 release I get the following exception at startup. Any idea?
>
> Oscar
>
>
> ----------------------------------------------------
> 10:52:43,350 INFO  [IndexedDiskCache] loading keys for
> org.apache.jcs.auxiliary.disk.indexed.IndexedDisk@1f31652
> 10:52:43,407 INFO  [IndexedDiskCache] Loaded keys from: main, key count: 1
> 10:52:43,413 INFO  [IndexedDiskCache] Reset maxKeySize to: '500000'
> 10:52:43,429 ERROR [IndexedDiskCache] main
> java.lang.ClassCastException
> 	at
> org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.loadKeys(IndexedDiskCache.java:179)
> 	at
> org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.<init>(IndexedDiskCache.java:105)
> 	at
> org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache(IndexedDiskCacheManager.java:136)
> 	at
> org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCache(IndexedDiskCacheFactory.java:50)
> 	at
> org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:413)
> 	at
> org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:259)
> 	at
> org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:196)
> 	at
> org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:184)
> 	at
> org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:110)
> 	at
> org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:208)
> 	at
> org.apache.cocoon.components.store.impl.JCSDefaultStore.initialize(JCSDefaultStore.java:178)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
> 	at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277)
> 	at
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
> 	at
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
> 	at
> org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:527)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
> 	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:306)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1360)
> 	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
> 	at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
> 	at
> org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
> 	at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
> 	at
> org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
> 	at org.mortbay.http.HttpServer.start(HttpServer.java:663)
> 	at org.mortbay.jetty.Server.main(Server.java:429)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.mortbay.start.Main.invokeMain(Main.java:153)
> 	at org.mortbay.start.Main.start(Main.java:483)
> 	at org.mortbay.start.Main.main(Main.java:91)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message