I am getting 405 Method not allowed and I am not sure why?  If I have not
provided enough info to be helpful please let me know.

I am using Slide v2.2 (snapshot zip file from one week ago) on Jboss 401.
It creates the metadata-store information but it does not create the
content-store?  Why could it create one and not the other?  I am using the
putMethod and I have auto-version-control = true.  This worked under Slide
v2.1 so could it be a permissions or domain.xml config problem that I do
not see?

15:24:03,341 INFO  [STDOUT] Getting connection with spec
[EMAIL PROTECTED]
15:24:03,711 INFO  [STDOUT] http-0.0.0.0-16080-Processor25, 03-Jun-2005
15:24:03, unauthenticated, MKCOL, 405 "Method Not Allowed", 10 ms,
/files/mio
15:24:03,801 INFO  [STDOUT] http-0.0.0.0-16080-Processor25, 03-Jun-2005
15:24:03, unauthenticated, MKCOL, 201 "Created", 60 ms,
/files/mio/3EBFA008CE0040FD970CA3E46ED12C0B
15:24:03,811 INFO  [STDOUT] shipRootUrl:
http://localhost:16080/slide/files/mio/3EBFA008CE0040FD970CA3E46ED12C0B
15:24:03,871 INFO  [STDOUT] http-0.0.0.0-16080-Processor25, 03-Jun-2005
15:24:03, unauthenticated, MKCOL, 201 "Created", 40 ms,
/files/mio/3EBFA008CE0040FD970CA3E46ED12C0B/thumbnails
15:24:04,042 INFO  [STDOUT] http-0.0.0.0-16080-Processor25, 03-Jun-2005
15:24:03, unauthenticated, PUT, 403 "Forbidden", 151 ms,
/files/mio/3EBFA008CE0040FD970CA3E46ED12C0B/9E88AB37E3C84987917DA39EEF866C07
15:24:04,222 INFO  [STDOUT] http-0.0.0.0-16080-Processor25, 03-Jun-2005
15:24:04, unauthenticated, PUT, 403 "Forbidden", 80 ms,
/files/mio/3EBFA008CE0040FD970CA3E46ED12C0B/thumbnails/9E88AB37E3C84987917DA39EEF866C07
15:24:04,382 INFO  [LoggingMonitor] updateEnclosure invoked by operator,
GUID [9E88AB37E3C84987917DA39EEF866C07] -
mil.oni.mio.data.EnclosurePic$$EnhancerByCGLIB$$b12a158b

My domain.xml has the following relevant pieces:

        <definition>
            <store name="tx">
                <parameter name="tlock-timeout">120</parameter>
                <nodestore classname=
"org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
                    <parameter name="rootpath">
${filespath}../../../../../bin/store/metadata</parameter>
                    <parameter name="workpath">
${filespath}../../../../../bin/work/metadata</parameter>
                    <parameter name="defer-saving">true</parameter>
                    <parameter name="timeout">120</parameter>
                </nodestore>
                <sequencestore classname=
"org.apache.slide.store.txfile.FileSequenceStore">
                    <parameter name="rootpath">
${filespath}../../../../../bin/store/sequence</parameter>
                </sequencestore>
                <securitystore>
                    <reference store="nodestore"/>
                </securitystore>
                <lockstore>
                    <reference store="nodestore"/>
                </lockstore>
                <revisiondescriptorsstore>
                    <reference store="nodestore"/>
                </revisiondescriptorsstore>
                <revisiondescriptorstore>
                    <reference store="nodestore"/>
                </revisiondescriptorstore>
                <contentstore classname=
"org.apache.slide.store.txfile.TxFileContentStore">
                    <parameter name="rootpath">
${filespath}../../../../../bin/store/content</parameter>
                    <parameter name="workpath">
${filespath}../../../../../bin/work/content</parameter>
                    <parameter name="defer-saving">true</parameter>
                    <parameter name="timeout">120</parameter>
                </contentstore>
                <!-- uncomment if you want to use the sample Indexer -->
                <!-- be sure to have Lucene in your classpath
-->
                <!--
                <contentindexer
classname="org.apache.slide.index.SampleTxtContainsIndexer">
                <parameter name="indexpath">${filespath}index</parameter>
                </contentindexer>
        -->
            </store>
            <scope match="/" store="tx"/>
        </definition>

            <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/">
                <!-- Subject can be:
                any user             "all"
                authenticated user   "authenticated"
                unauthenticated user "unauthenticated"
                self                 "self"
                owner of resource    "owner"
                a user               "/users/john"
                a role               "/roles/admin"
                -->
                <permission action="all" subject="/roles/root" inheritable=
"true"/>
                <permission action="/actions/read-acl" subject="all"
inheritable="true" negative="true"/>
                <permission action="/actions/write-acl" subject="all"
inheritable="true" negative="true"/>
                <permission action="/actions/unlock" subject="all"
inheritable="true" negative="true"/>
                <permission action="/actions/read" subject="all"
inheritable="true"/>

                <objectnode classname=
"org.apache.slide.structure.SubjectNode" uri="/files">
                    <permission action="/actions/write" subject=
"/roles/user" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                </objectnode>


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

Reply via email to