Hi all:
I've noticed a strange problem with Cocoon 2.1.4. When I shut down Tomcat,
it throws the following exception:
ERROR (2004-03-21) 09:50.29:718 [core.store.persistent] (Unknown-URI)
Unknown-thread/AbstractJispFilesystemStore: store(..): Exception
java.io.IOException: Cannot create a file when that file already exists
at java.io.RandomAccessFile.length(Native Method)
at
com.coyotegulch.jisp.ObjectDatabaseFile.writeObject(ObjectDatabaseFile.java:22
7)
at
com.coyotegulch.jisp.IndexedObjectDatabase.write(IndexedObjectDatabase.java:19
9)
at
org.apache.excalibur.store.impl.AbstractJispFilesystemStore.doStore(AbstractJi
spFilesystemStore.java:183)
at
org.apache.excalibur.store.impl.AbstractReadWriteStore.store(AbstractReadWrite
Store.java:143)
at
org.apache.excalibur.store.impl.MRUMemoryStore.dispose(MRUMemoryStore.java:199
)
My cocoon.xconf entries for the store look like this:
<store logger="core.store">
<parameter name="maxobjects" value="8000"/>
</store>
<persistent-store logger="core.store.persistent">
<parameter name="use-cache-directory" value="true"/>
<parameter name="order" value="2701"/>
</persistent-store>
I've managed to resolve the problem by adding:
<parameter name="use-persistent-cache" value="false"/>
To the <store> configuration, but would like to figure out what is causing
this problem?
Thanks!
Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]