I facing strange problem - I'm trying to create simple store (similar to
WebdavFileStore). I implemented just BasicWebdavStore interface. Everything
works fine while there is no directories created inside store, on clean
startup. But when I restarting tomcat, application crashes with this
exception:

14 Feb 2006 18:48:51 - WebDAV store - INFO - isFolder true
14 Feb 2006 18:48:51 - org.apache.slide.common.XMLUnmarshaller - INFO - Object 
already exists at /files
14 Feb 2006 18:48:51 - WebDAV store - INFO - isFolder true
14 Feb 2006 18:48:51 - org.apache.slide.common.Namespace - WARNING - Namespace 
base configuration might have been already done before
14 Feb 2006 18:48:51 - org.apache.slide.common.Namespace - WARNING - 
org.apache.slide.common.ServiceAccessException: Service [EMAIL PROTECTED] 
access error : /home/user/workspace/test/store/files (Is a directory)
org.apache.slide.common.ServiceAccessException: Service [EMAIL PROTECTED] 
access error : /home/user/workspace/test/store/files (Is a directory)
        at 
webdav.store.FileSystemStoreImpl.getResourceContent(FileSystemStoreImpl.java:171)
        at 
org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.retrieveRevisionContent(WebdavStoreAdapter.java:517)
        at 
org.apache.slide.simple.store.WebdavStoreAdapter.retrieveRevisionContent(WebdavStoreAdapter.java:186)
        at 
org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.java:1454)
        at 
org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.java:502)
        at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:351)
        at 
org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.java:380)
        at 
org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:231)
        at 
org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:274)
        at 
org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90)
        at 
org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessTokenImpl.java:239)
        at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:823)
        at org.apache.slide.common.Domain.initNamespace(Domain.java:883)
        at org.apache.slide.common.Domain.init(Domain.java:462)
        at org.apache.slide.common.Domain.init(Domain.java:375)
        at org.apache.slide.common.Domain.init(Domain.java:338)
        at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:251)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)

As you can see in 1 and 3-d line, my store returns true for folder /files, so
I don't have any idea why slide tries to get contents of this directory.. Any
ideas?

I'm using latest Slide from SVN,

-- 
Eugene N Dzhurinsky

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

Reply via email to