Find your cache-dir/cocoon.dat and cocoon.idx, probably in your servlet's work directory. Delete them with the container shut down, and then restart. Does that fix it?
If you're getting an EOFException it suggests something wrong with one of those files.
Deleting them isn't going to cause you any harm, Cocoon will just regenerate its cache.
Regards, Upayavira
Antonio Gallardo wrote:
Hi:
I recently updated to the lastest cocoon 2.1.1.cvs and I am getting the following error when cocoon initialize:
ERROR (2003-08-20) 23:02.30:545 [core.store.persistent] (Unknown-URI) Unknown-thread/DefaultStore: Exception during initialization of jisp store. java.io.EOFException at java.io.RandomAccessFile.readFully(RandomAccessFile.java:365) at java.io.RandomAccessFile.readFully(RandomAccessFile.java:343) at com.coyotegulch.jisp.ObjectDatabaseFile.readObject(ObjectDatabaseFile.java:394) at com.coyotegulch.jisp.BTreePageFile.read(BTreePageFile.java:193) at com.coyotegulch.jisp.BTreePageFile.readRoot(BTreePageFile.java:204) at com.coyotegulch.jisp.BTreeIndex.<init>(BTreeIndex.java:145) at org.apache.cocoon.components.store.impl.DefaultStore.parameterize(DefaultStore.java:183) at org.apache.avalon.framework.container.ContainerUtil.parameterize(ContainerUtil.java:266) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:320) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:308) at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:106) at org.apache.avalon.excalibur.component.DefaultComponentFactory$ServiceManagerProxy.lookup(DefaultComponentFactory.java:519) at org.apache.excalibur.store.impl.MRUMemoryStore.parameterize(MRUMemoryStore.java:144) at org.apache.avalon.framework.container.ContainerUtil.parameterize(ContainerUtil.java:266) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:320) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:324) ... continue....
I think this is a bug since all works fine before. No changes in our code.
Best Regards,
Antonio Gallardo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
