Hu Chad, You were right. The JDBC url I gave was wrong.
Looks like the message comes from the <store> causing slide to try to connect to the database and its failure makes slide treat the "store" as non-existing. Fixing the url made it work. Now I'm trying to figure why the locks fail. Thanks, --Amos -----Original Message----- From: Chad Brandt [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 4:22 PM To: [EMAIL PROTECTED] Subject: Re: Service is missing on root node This is a somewhat obscure message but the cause is not being able to connect to the database. Make sure you DB config is correct and the username/password you are using is correct. You may also want to make sure your user has permissions on the DB. Hope this helps, Chad At 10:57 AM 7/8/2002 +0300, you wrote: >Hello, > >I'm trying to use Slide 1.0.16 server under Tomcat 3.2.3 on Windows >2000 with JDK 1.2.2 and hit a problem which seem to result from bad >configuration, but I can't see what's wrong with it. > >I'm trying to debug it, but if anyone knows what's the problem I'd >appreciate it. It seems to complain about a missing store but >as far as I can tell there are no missing store definitions. > >Thanks, > >--Amos > >The error is (Domains.xml follows below): > >08 Jul 2002 10:50:35 - org.apache.slide.common.Namespace - ERROR - >org.apache.slide.common.ServiceMissingOnRootNodeException: Service is >missing on root node >org.apache.slide.common.ServiceMissingOnRootNodeException: Service is >missing on root node > at org.apache.slide.common.Uri.parseUri(Uri.java:387) > at org.apache.slide.common.Uri.<init>(Uri.java:106) > at org.apache.slide.common.Namespace.getUri(Namespace.java:636) > at org.apache.slide.common.Namespace.getUri(Namespace.java:616) > at org.apache.slide.common.Namespace.getUri(Namespace.java:604) > at >org.apache.slide.common.Namespace.loadBaseData(Namespace.java:742) > at org.apache.slide.common.Domain.initNamespace(Domain.java:795) > at org.apache.slide.common.Domain.init(Domain.java:448) > at org.apache.slide.common.Domain.init(Domain.java:398) > at org.apache.slide.common.Domain.init(Domain.java:361) > at >org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:403) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at >org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:324) > at >org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) > at org.apache.tomcat.core.Handler.init(Handler.java:215) > at >org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) > at >org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu p >Interceptor.java:130) > at >org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491) > >Domains.xml is: > ><?xml version="1.0"?> > ><slide logger="org.apache.slide.util.logger.SimpleLogger" logger-level="6" >default="slide"> > > <namespace name="slide"> ><!-- ### JDBC Configuration ### > The following jdbc sample configuration uses the hsql Database Engine > a relational database engine written in Java, for more info: > http://hsqldb.sourceforge.net/ >--> > <definition> > <store name="jdbc"> > <nodestore classname="slidestore.reference.JDBCDescriptorsStore"> > <parameter name="driver">oracle.jdbc.OracleDriver</parameter> > <parameter >name="url">jdbc:oracle:thin:@oracle:1521:cube</parameter> > <parameter name="user">system</parameter> > <parameter name="password">manager</parameter> > </nodestore> > <securitystore> > <reference store="nodestore" /> > </securitystore> > <lockstore> > <reference store="nodestore" /> > </lockstore> > <revisiondescriptorsstore> > <reference store="nodestore" /> > </revisiondescriptorsstore> > <revisiondescriptorstore> > <reference store="nodestore" /> > </revisiondescriptorstore> > <contentstore classname="slidestore.oracle.OracleContentStore"> > <parameter name="driver">oracle.jdbc.OracleDriver</parameter> > <parameter >name="url">jdbc:oracle:thin:@oracle:1521:cube</parameter> > <parameter name="user">system</parameter> > <parameter name="password">manager</parameter> > </contentstore> > </store> > <scope match="/" store="jdbc" /> > </definition> > > <configuration> > > <!-- Actions mapping --> > <default-action>/actions</default-action> > <read-object>/actions/read</read-object> > <create-object>/actions/write</create-object> > <remove-object>/actions/write</remove-object> > <grant-permission>/actions/manage</grant-permission> > <revoke-permission>/actions/manage</revoke-permission> > <read-permissions>/actions/manage</read-permissions> > <lock-object>/actions/write</lock-object> > <kill-lock>/actions/manage</kill-lock> > <read-locks>/actions/read</read-locks> > <read-revision-metadata>/actions/read</read-revision-metadata> > <create-revision-metadata>/actions/write</create-revision-metadata> > <modify-revision-metadata>/actions/write</modify-revision-metadata> > <remove-revision-metadata>/actions/write</remove-revision-metadata> > <read-revision-content>/actions/read</read-revision-content> > <create-revision-content>/actions/write</create-revision-content> > <modify-revision-content>/actions/write</modify-revision-content> > <remove-revision-content>/actions/write</remove-revision-content> > > <!-- Paths configuration --> > <userspath>/users</userspath> > <guestpath>guest</guestpath> > <filespath>/files</filespath> > <parameter name="dav">true</parameter> > <parameter name="standalone">true</parameter> > > <!-- Roles definition --> > <role name="root">slideroles.basic.RootRole</role> > <role name="user">slideroles.basic.UserRole</role> > <role name="guest">slideroles.basic.GuestRole</role> > > <!-- Users management --> > <auto-create-users>true</auto-create-users> > > <!-- Default properties mapping --> > <default-property name="foo" namespace="nsfoo/" value="bar" > role="user"/> > <default-property name="password" namespace="slide/" value="" > role="user"/> > > </configuration> > > <data> > > <objectnode classname="org.apache.slide.structure.SubjectNode" >uri="/"> > > <!-- Subject can be: > self "~" > all "nobody" > user "/users/john" > group "+/users/groupA" > role "root" > --> > > <!-- Uncomment the following line to give all permissions to > principals have the root role --> > <permission action="/actions" subject="root"/> > > <permission action="/actions" subject="/users/root"/> > <permission action="/actions/read" subject="/users" > inheritable="false"/> > <permission action="/actions/read" subject="nobody" > inheritable="false"/> > > <!-- /users --> > > <objectnode classname="org.apache.slide.structure.SubjectNode" > uri="/users"> > > <permission action="/actions" subject="~"/> > <permission action="/actions" subject="/users/guest" > inheritable="true" negative="true"/> > <permission action="/actions/read" subject="/users" > inheritable="false"/> > > <!-- Permission group example --> > > <objectnode classname="org.apache.slide.structure.GroupNode" > uri="/users/groupA"> > <objectnode classname="org.apache.slide.structure.LinkNode" > uri="/users/groupA/john" linkedUri="/users/john" /> > <objectnode classname="org.apache.slide.structure.LinkNode" > uri="/users/groupA/root" linkedUri="/users/root" /> > <objectnode classname="org.apache.slide.structure.SubjectNode" > uri="/users/groupA/singleGroupMember" /> > </objectnode> > > <!-- /users/root represents the administrator --> > > <objectnode classname="slideroles.basic.RootRoleImpl" > uri="/users/root"> > <revision> > <property name="password">root</property> > </revision> > </objectnode> > > <!-- /users/john represents an authenticated user --> > > <objectnode classname="slideroles.basic.UserRoleImpl" > uri="/users/john"> > <revision> > <property name="password">john</property> > </revision> > </objectnode> > > <!-- /users/guest represents an authenticated or unauthenticated > guest user --> > > <objectnode classname="slideroles.basic.GuestRoleImpl" > uri="/users/guest"> > <revision> > <property name="password"></property> > </revision> > </objectnode> > > </objectnode> > > <objectnode classname="org.apache.slide.structure.ActionNode" > uri="/actions"> > > <objectnode classname="org.apache.slide.structure.ActionNode" > uri="/actions/read"/> > > <objectnode classname="org.apache.slide.structure.ActionNode" > uri="/actions/write"/> > > <objectnode classname="org.apache.slide.structure.ActionNode" > uri="/actions/manage"/> > > </objectnode> > > <objectnode classname="org.apache.slide.structure.SubjectNode" > uri="/files"> > > <!-- ### Give read/write/manage permission to guest ### > Uncomment the following line to give permission to do > all actions on /files to guest (unauthenticated users) --> > <permission action="/actions" subject="/users/guest"/> > > <permission action="/actions/manage" subject="/users/john"/> > <permission action="/actions/write" subject="+/users/groupA"/> > <permission action="/actions/read" subject="nobody"/> > > </objectnode> > > </objectnode> > > </data> > > </namespace> > ></slide> > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ---------- Your email is protected by Mailshell ---------- To block spam or change delivery options: http://www.mailshell.com/control.html?a=bjmo4cbomm57hhx9zzhlzw4ji_2cvkcgi27d 1ahlgjaegqsb FreshAddress.com http://rd.mailshell.com/ad482 Earn up to $3 for each of your friends who signs up with Mailshell! http://rd.mailshell.com/sp5 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
