On 9 Feb 2003 at 9:51, Braginsky, Leo wrote:

> 
> LB: Well, unfortunately no error is logged. Currently there is user "root" in 
>domain.xml (which is inside slide.war file in /slide/webapp)     
> <objectnode classname="slideroles.basic.RootRoleImpl" 
>            uri="/users/root">
>             <revision>
>               <property name="password">root</property>
>             </revision>
> </objectnode>
> 
> and in tomcat-users.xml (which is under /server/conf)
> <tomcat-users>
>   <user name="root" password="root" roles="manager" />

The root has role root. Change it to roles="root".
Maybe that's the problem?

>   <user name="tomcat" password="tomcat" roles="tomcat" />
>   <user name="role1"  password="tomcat" roles="role1"  />
>   <user name="both"   password="tomcat" roles="tomcat,role1" />
> </tomcat-users>

> 
> LB: I am not sure I understand the notion of "filesPath" under Slide. I think maybe 
>my problems stems from that. 

No.

> I have this entry in domain.xml: 
> 
> <filespath>/files</filespath>
> 
> What absolute path should this be translated to? My file structure looks like this:  
> C:\jakarta\jakarta-slide\server
> C:\jakarta\jakarta-slide\client
> C:\jakarta\jakarta-slide\slide
> 
> 
It'll be translated to pathToContentStore/files,
where pathToContentStore is specified in 
<contentstore...><parameter name="rootpath">pathToContentStore

If this rootpath is relative, than the location of the directory 
depends on the current directory when you start Tomcat. If you 
start Tomcat from inside tomcat/bin, then your contentstore will 
be in tomcat/bin/pathToContentStore,
or jakarta-slide\server\bin for the default installation of 
Slide.

The rootpath can be absolute, but this would be a system-
dependent configuration (rather easy to change if necessary).

The parameter <parameter name="url"> of a nodestore can also be 
either relative or absolute, e.g. <parameter 
name="url">jdbc:hsqldb:c:\directory\slidestructure</parameter>

Andreas


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

Reply via email to