Hi Julian,

are you sure, that Slide takes the right Domain.xml?

If you deploy a war, there is a Domain.xml. If you put your 
config-xml's to /conf I'm not sure whether they are found there. 
Maybe your Slide takes the default Domain.xml in the war.

Maybe you could try to edit (after expansion of war) 
webapps/slide/Domain.xml.
After expansion you can delete the war.

When I start Slide, I get, among others,

07 Dec 2002 19:16:13 - org.apache.slide.common.XMLUnmarshaller - 
INFO - Loading object /history
07 Dec 2002 19:16:13 - org.apache.slide.common.XMLUnmarshaller - 
INFO - Object already exists at /history
07 Dec 2002 19:16:13 - org.apache.slide.common.XMLUnmarshaller - 
INFO - Loading object /workspace
07 Dec 2002 19:16:13 - org.apache.slide.common.XMLUnmarshaller - 
INFO - Object already exists at /workspace
07 Dec 2002 19:16:13 - org.apache.slide.common.XMLUnmarshaller - 
INFO - Loading object /workingresource
07 Dec 2002 19:16:13 - org.apache.slide.common.XMLUnmarshaller - 
INFO - Object already exists at /workingresource

which you didn't get.

For your auth-warnings to disappear you should put
            <!-- Roles definition -->
            <role name="root">slideroles.basic.RootRole</role>
            <role name="user">slideroles.basic.UserRole</role>
            <role name="guest">slideroles.basic.GuestRole</role>

into your Domain.xml if it isn't there.

Deleting all stores in the file system would enable Slide to 
build up consistently.

Maybe this helps...

By the way: Are you German?

Andreas


On 7 Dec 2002 at 8:57, Julian Klein wrote:

> Andreas,
> 
>   Thanks for the input, but I have it all there (again
> all the following applies to latest CVS snapshot from
> 12/5).  I am also getting the eight slide*.* files for
> the db versioning (scripts,properties,data, and
> backups showing up in /root).  I am able to get the
> history,etc. showing up in the browser but believe
> since the security is crashing, I am unable to upload
> files and the access to those namespaces are
> prohibited.  I have been uploading through
> MSWebFolders rather than the Slide Client.  I also
> receive various errors in the log messages.  I will
> explain in totality my setup:  I have placed slide.war
> in the webapps folder of tomcat, placed the slide.xml
> and slide conf folders in the TC conf directory.  I
> also placed the slide-webdav.war,slide-welcome.war,
> and the slide-admin.war in a directory called "slide"
> directly under $TOMCAT_HOME (otherwise TC would
> complain the context was not available).  Then I
> configured Domain.xml as per Thomas Schueppel's
> explain (link below) and slide.def,slide.data,
> slide.conf to reflect the config of Domain.xml (after
> TC restarted and slide.war was unpacked). Finally, I
> uncommented the security constraints for web.xml in
> $TOMCAT_HOME/slide/webdav.war and
> $TOMCAT_HOME/webapps/slide/WEB-INF/.  I will attach a
> snippet of my server.xml and error logs.  My
> Domain.xml is exactly like Thomas Schueppel's, but I
> added 
> 
>   <parameter name="version">true</parameter>
>          <parameter
> name="resetBeforeStarting">false</parameter>
> 
> in the definition section of the content store after
> versioning seemed to fail to start(slide.def also
> reflects theses changes and all the Delta-V tags are
> in Domain.xml and slide.xml). 
> **********************************************
> server.xml snippet
> *****************************
> <Server port="8005" shutdown="SHUTDOWN" debug="0">
> 
>   <!-- JMX features of Tomcat 4 -->
>   <Listener
> className="org.apache.catalina.mbeans.ServerLifecycleListener"
> 
> descriptors="/wrappers/catalina/slide-descriptors.xml"
> debug="0"/>
>   <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleLis
> tener"
>                 debug="0"/>
>   <!-- Slide domain controller -->
>   <Listener
> className="wrappers.catalina.SlideServerListener"
>             logLevel="6" />
> 
>   <!-- Global JNDI resources -->
>     <!-- Editable user database that can also be used
> by
>          UserDatabaseRealm to authenticate users -->
>   <!--GlobalNamingResources>
> 
> 
>     <Environment name="simpleValue"
> type="java.lang.Integer" value="30"/>
> 
>     <Resource name="UserDatabase" auth="Container"
>               type="org.apache.catalina.UserDatabase"
>        description="User database that can be updated
> and saved">
>     </Resource>
>     <ResourceParams name="UserDatabase">
>       <parameter>
>         <name>factory</name>
> 
> <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value
> >
>       </parameter>
>       <parameter>
>         <name>pathname</name>
>         <value>conf/tomcat-users.xml</value>
>       </parameter>
>     </ResourceParams>
> 
>   </GlobalNamingResources-->
> 
>   <!-- Define the Tomcat Stand-Alone Service -->
>   <Service name="Slide WebDAV">
> 
>     <!-- Define a non-SSL Coyote HTTP/1.1 Connector on
> port 8081 -->
>     <Connector
> className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="8081" minProcessors="5"
> maxProcessors="75"
>                enableLookups="true"
> redirectPort="8443"
>                acceptCount="10" debug="0"
> connectionTimeout="20000"
>                useURIValidationHack="false" />
> 
>     <!-- Define the top level container in our
> container hierarchy -->
>     <Engine name="WebDAV" defaultHost="localhost8081"
> debug="0">
> 
>       <!-- Global logger unless overridden at lower
> levels -->
>       <Logger
> className="org.apache.catalina.logger.FileLogger"
>               prefix="catalina_webdav_log."
> suffix=".txt"
>               timestamp="true"/>
> 
>      <!--whether this realm is here or not seems to
> make no difference-->
>  <Realm
> className="org.apache.catalina.realm.MemoryRealm" />
> 
>       <!-- Define the default virtual host -->
>       <Host name="localhost8081" debug="0"
> appBase="blank" unpackWARs="false"
> 
> hostConfigClass="wrappers.catalina.WebdavHostConfig">
> 
>         <Valve
> className="org.apache.catalina.valves.AccessLogValve"
>                  directory="logs" 
> prefix="webdav_access_log." suffix=".txt"
>                  pattern="common"/>
> 
>         <Logger
> className="org.apache.catalina.logger.FileLogger"
>                  directory="logs" 
> prefix="webdav_log." suffix=".txt"
>          timestamp="true"/>
> 
>       </Host>
> 
>     </Engine>
> 
>   </Service>
> ****************************************************
> catalina.out snippet
> ****************************************
> HostConfig[localhost]: Deploying web application
> directory slide
> StandardHost[localhost]: Installing web application at
> context path /slide from URL
> file:/usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide
> WebappLoader[/slide]: Deploying class repositories to
> work directory
> /usr/java/jakarta-tomcat-4.1.12-LE/work/Standalone/localhost/slid
> e WebappLoader[/slide]: Deploy class files /WEB-INF/classes to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/classes
> WebappLoader[/slide]: Deploy JAR /WEB-INF/lib/commons-dbcp.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/comm
> ons-dbcp.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/commons-modeler.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/comm
> ons-modeler.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/commons-pool.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/comm
> ons-pool.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/hsqldb.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/hsql
> db.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/jdbc2_0-stdext.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/jdbc
> 2_0-stdext.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/jdom-dev.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/jdom
> -dev.jar WebappLoader[/slide]: Deploy JAR /WEB-INF/lib/jmxri.jar
> to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/jmxr
> i.jar WebappLoader[/slide]: Deploy JAR /WEB-INF/lib/jndi.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/jndi
> .jar WebappLoader[/slide]: Deploy JAR /WEB-INF/lib/jstl.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/jstl
> .jar WebappLoader[/slide]: Deploy JAR /WEB-INF/lib/jta.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/jta.
> jar WebappLoader[/slide]: Deploy JAR /WEB-INF/lib/log4j.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/log4
> j.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/slide-kernel.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/slid
> e-kernel.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/slide-roles.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/slid
> e-roles.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/slide-stores.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/slid
> e-stores.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/slide-webdavservlet.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/slid
> e-webdavservlet.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/standard.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/stan
> dard.jar WebappLoader[/slide]: Deploy JAR /WEB-INF/lib/struts.jar
> to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/stru
> ts.jar WebappLoader[/slide]: Deploy JAR
> /WEB-INF/lib/xmlParserAPIs.jar to
> /usr/java/jakarta-tomcat-4.1.12-LE/webapps/slide/WEB-INF/lib/xmlP
> arserAPIs.jar ContextConfig[/slide]: WARNING: Security role name
> root used in an <auth-constraint> without being defined in a
> <security-role> ContextConfig[/slide]: WARNING: Security role
> name guest used in an <auth-constraint> without being defined in
> a <security-role> ContextConfig[/slide]: WARNING: Security role
> name user used in an <auth-constraint> without being defined in a
> <security-role> ContextConfig[/slide]: Added certificates ->
> request attribute Valve ContextConfig[/slide]: No Realm has been
> configured to authenticate against ContextConfig[/slide]: Marking
> this application unavailable due to previous error(s)
> StandardManager[/slide]: Seeding random number generator class
> java.security.SecureRandom StandardManager[/slide]: Seeding of
> random number generator has been completed
> StandardContext[/slide]: Context startup failed due to previous
> errors ************************************************
> slide_ns_slide snippet and webdav.log
> ****************************************** i attached the files
> since mozilla's paste command crashed on me, sorry :-(
> 
>  ******************************
> Thomas Schueppel's explanation
> http://www.mail-archive.com/[email protected]/msg0238
> 8.html *********************************
> 
> I appreciate your valuable time,
> Julian
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com



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

Reply via email to