Hi,

the whole store configuration is (at least for me) very confusing:

Quoting the cocoon.roles:
  <role name="org.apache.cocoon.components.store.Store"
        shorthand="cache-transient"
        default-class="org.apache.cocoon.components.store.MRUMemoryStore"/>

  <role name="org.apache.cocoon.components.store.Store/Filesystem"
        shorthand="repository"
        default-class="org.apache.cocoon.components.store.FilesystemStore"/>

  <role name="org.apache.cocoon.components.store.Store/PersistentCache"
       shorthand="cache-persistent"
       default-class="org.apache.cocoon.components.store.FilesystemStore"/>

And the cocoon.xconf:
  <repository class="org.apache.cocoon.components.store.FilesystemStore"
              logger="core.store.repository">
  </repository>

  <cache-persistent
class="org.apache.cocoon.components.store.FilesystemStore"
                    logger="core.store.persistent">
  </cache-persistent>

  <!-- Memory Storing: -->
  <cache-transient class="org.apache.cocoon.components.store.MRUMemoryStore"
         logger="core.store.transient">
  </cache-transient>

The used lookups in the sources:

lookup(Store.ROLE + "/PersistentCache")
lookup(Store.ROLE + "/PersistentCache")

Now some of the problems:
- I can configure a "repository" in the cocoon.xconf, but this is nowhere
looked up.
- I have to lookup (Store.ROLE+"/Filesystem") to lookup a "repository".
- If I lookup Store.ROLE, I get the cache-transient component, so my "store"
will
forget about the things I stored in. This is not the expected behaviour.
...

So, how are you dealing with this?

Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to