You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Anton Schoultz <AS...@RUBICO.COM> on 2002/05/08 12:54:03 UTC

RE: Problem getting Slide working - Thanks, was a security proble m

Peter,

It was a security problem; I created the slide.properties as you 
suggested and bingo, now DAVExplorer shows the users, history etc.
(I have enabled versioning as per an earlier email).
MS Explorer is still in the dark though. In my earlier experiments
with a pseudo server (displays request info) I found MS Explorer
asks for options, then puts in a request for an .exe - I'll try get
the details and post them if you like.

Thanks for the help. Now *ALL* we have to do is add in the lucene
text search, xindice xpath quires and we're done ! :) 5 minutes? :-)

I still have heaps to learn about slide as we would like to assist
with the text search (lucene) and xpath search integration into slide.

Kindest regards

Anton Schoultz

Rubico (Pty) Ltd
Cell Phone:  +27 83 651 7191
Tel:  +27 (11) 808 1000
Fax:  +27 (11) 808 1101  
aschoultz@Rubico.com  
www.Rubico.com  

The Business Component Company




-----Original Message-----
From: Nevermann, Dr., Peter [mailto:Peter.Nevermann@softwareag.com]
Sent: Wed 08 May 2002 12:28
To: 'Slide Users Mailing List'
Subject: RE: Problem getting Slide working


Hi Anton,

I tried to reproduce what you described. When I try to PUT a file to
http://localhost:8080/slide/files/a.xml, I get a security exception in the
server console: 
08 May 2002 11:16:57 - org.apache.slide.common.Domain - WARNING - Access
denied on /files by user /users/guest for action /actions/write
org.apache.slide.security.AccessDeniedException: Access denied on /files by
user /users/guest for action /actions/write

For test purposes, I usually switch-off security in Slide. You can do that
easily, e.g. by creating a new file "slide.properties" in the directory:
jakarta-tomcat-4.0.3\webapps\slide\WEB-INF\classes. The file should contain
the following line:
org.apache.slide.security=false

Another way would be to manipulate the "permission" elements in the
Domain.xml file. For example, you can giving everybody all rights by means
of:
<permission action="/actions" subject="/users" />

Now, I have no problems in accessing the server using Altova's XML Spy or
the DAV Explorer.

Unfortunately, I am having problems when using Microsoft WebFolders with
Tomcat 4. We will need some investigatation here. I will let you know when
we find out what the problem is.

Regards, Peter
 

> -----Original Message-----
> From: Anton Schoultz [mailto:ASchoultz@RUBICO.COM]
> Sent: Wednesday, May 08, 2002 10:50
> To: SLIDE User Group (E-mail)
> Subject: Problem getting Slide working
> 
> 
> Hi,
> 
> I'm rather new to Tomcat and Slide and I get the feeling that 
> I've missed 
> something simple, perhaps someone can point me in the right direction.
> 
> I'm running JDK 1.3.1 on a Win2000 machine.
> Tomcat 4.0.3 has been installed and seems to work ok 
> (I can see tomcat's index.html page)
> 
> Following Dr. Peter Nevermann's instructions (e-mailed to 
> slide-user 3rd
> May) 
> I downloaded the nightly build from 2002-05-05 and extracted 
> it. I copied 
> the slide\webapp\slide.war into my Tomcat403\webapps 
> directory and started 
> up TC. The war was extracted. I then stopped TC, and edited 
> the Domain.xml 
> as per Peter's email to activate versioning.
> After restarting TC, I used MS Windows Explorer to map network folder 
> (In theory a WebDAV connection) to 
> http://localhost:8080/slide. The Explorer
> 
> makes the connection and shows a sub-folder called files, but 
> no content. 
> I was unable to save a document to it (from MSWord - WebDAV enabled). 
> I also tried using DAVExplorer with similar results. Where would this 
> files folder live on my box, I could not see it under the
> slide sub-folder of webapps (where I expected it). Do I need 
> to hack out
> the examples and webdav servlet that come with the TC distribution ?
> 
> I then tried to run the server within the slide night build, 
> and got this
> error
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/xml/sax/InputSource
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:237)
>         at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
> 
> We are hoping to utilize the Delta-V versioning capabilities 
> and would also
> like to 
> add text search capabilities within the slide framework. 
> 
> Any pointer, hints tips would be greatly appreciated.
> 
> Also, could anyone point me to some intermediate level 
> documentation on
> slide?
> The slide guide gave a nice high-level over-view (few block 
> diagrams), and
> the
> javadoc and UML models give the finer detail which we will 
> need when we
> start
> coding the text search, but I'd like something in-between these.
<snip>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>