I've decided to take an initial step of stubbing out my
SimpleFileStore implementation and deploying it in my webapp.
I started with the Domain.sample file from the 2.1b1 distribution and
modified the namespace definition as follows:
<definition>
<store name="files">
<nodestore classname="photospace.slide.SimpleFileStore">
<parameter name="rootpath">store/metadata</parameter>
</nodestore>
<contentstore classname="photospace.slide.SimpleFileStore">
<parameter name="rootpath">store/content</parameter>
</contentstore>
<securitystore
classname="org.apache.slide.store.mem.TransientSecurityStore"/>
<lockstore classname="org.apache.slide.store.mem.TransientLockStore"/>
<revisiondescriptorsstore
classname="org.apache.slide.store.mem.TransientDescriptorsStore"/>
<revisiondescriptorstore
classname="org.apache.slide.store.mem.TransientDescriptorStore"/>
</store>
<scope match="/" store="files"/>
</definition>
SimpleFileStore implements NodeStore and ContentStore. This
configuration deploys without error.
> > Is SubjectNode an
> > appropriate ObjectNode implementation to return from retrieveObject(
> > )?
>
> Yes.
I did find that retrieveObject( ) needs to return an ActionNode not
SubjectNode for NamespaceConfig.getActionNode( ) which was being
called in slide startup. I was getting a ClassCastException. So should
I always return an ActionNode from retrieveObject( )? What's the
difference from a SubjectNode?
I have the slide WebDAV servlet configured and starting up without
errors and with directory browsing turned on. However, when I browse
to the servlet url, I get a 403 and a single log line from slide:
http-8080-Processor25, 30-Aug-2004 23:43:47, unauthenticated, GET,
403 "Forbidden", 47 ms, /
Note that I have not removed the sample namespace configuration or
data from the Domain.sample file that I started with. Reading this
file, I'm not sure what is necessary and what does not apply. I'm
guessing that most of the configuration is necessary and that the info
in the data element can go. Correct?
Any thoughts on how to get past my 403?
Alon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]