David Delbecq | 2 Feb 13:36
Picon

Bug in webdav servlet?

Background:
We are handling lots of documents based on slide cm, maitaining them
using the webdav servlet.
As our users sometimes 'cut and paste' a title from their text editor to
the metadatas, there can sometimes be unusal characters, like the funny
microsoft opening and closing - " -

Today i tried to list the metadatas of a few documents and i had the
surprise to discover it has become impossible to do. The servlet is
responding things like this:

http-8081-Processor5, 02-Feb-2006 12:19:25, unauthenticated, PROPFIND,
207 "Multi-Status", 199 ms, /files/00/memorandum/
org.jdom.IllegalDataException: The data "(NS02-08) Mise à jour du
formulaire de demande dimpression dune publication non périodique." is
not legal for a JDOM character content: 0x19 is not a legal XML character.
        at org.jdom.Text.setText(Text.java:188)
        at org.jdom.Text.<init>(Text.java:99)
        at org.jdom.Element.setText(Element.java:630)
        at
org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertyElement(PropertyRetrieverImpl.java:600)
        at
org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertyElement(PropertyRetrieverImpl.java:535)
        at
org.apache.slide.webdav.util.PropertyRetrieverImpl.getAllPropertiesOfObject(PropertyRetrieverImpl.java:458)
        at
org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObject(PropertyRetrieverImpl.java:300)
        at
org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObject(PropertyRetrieverImpl.java:264)
        at
(Continue reading)

Stephen Leake | 3 Feb 23:36
Picon
Favicon

using slide to push files to a webdav folder

We have a webdav server (not Slide); I'm trying to find a way to
automate publishing files to it.

I'm currently using Gnu make to build the files (source in LaTeX,
output is PDF). I'm running on Windows, using Cygwin bash and make,
and Sun java.

So I need a command line client that can do something like:

put  http://my_webdav_server/my_directory   my_file

This is possible with the Slide client, but it's inconvenient. What I
have working so far is to build a small script file, and pipe that to
Slide:

---- script.slide -----
open http://my_webdav_server/my_directory
<username>
<password>
put my_file
----- end script.slide -----

javaw org.apache.webdav.cmd.Slide < script.slide

There are two problems with this:

1) Specifying the username and password for each command is
   inconvenient. If I hardcode the password in my makefile, it's
   insecure.

(Continue reading)

Picon
Favicon

checkout/checkin, working resource

Hello,

I am also intersted in how to create a working resource, and how, to do
checkout and checkin. 
Could somebody please point out some documentation ?

Thanks,

Gerald

On Wed, 2006-01-25 at 11:12 -0800, Jean-Francois Gosselin wrote:
> Found the info !
> 
> --- Jean-Francois Gosselin <jfgosselin <at> yahoo.com> wrote:
> 
> > Hi,
> > 
> > Could someone explain how I can perform a working resource checkout with the WebDav client API ?
> > Is it supported ?
> > 
> > Thanks
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-user-unsubscribe <at> jakarta.apache.org
> > For additional commands, e-mail: slide-user-help <at> jakarta.apache.org
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
(Continue reading)

Ah Tong | 6 Feb 04:51
Picon

LDAP or Customer Authentication

Hi,

May I know if I can use OpenLDAP for Slide authentication or use my own
custom authentication method.  If yes please direct me to the relevant
resources.

Thank you in advance.
David Delbecq | 6 Feb 14:46
Picon

precondition failed

Hello, can someone on slide mailing list explain where this can come
from? It's a message from the slide DAV servlet.

http-8081-Processor8, 06-Feb-2006 12:28:05, unauthenticated, GET, 412
"Precondition Failed", 31536 ms
Maximo Gurmendez | 6 Feb 18:41
Picon

Re: precondition failed

It happened to me when I renamed a folder where old and new names where the 
same.

----- Original Message ----- 
From: "David Delbecq" <delbd <at> oma.be>
To: "Slide Users Mailing List" <slide-user <at> jakarta.apache.org>
Sent: Monday, February 06, 2006 11:46 AM
Subject: precondition failed

> Hello, can someone on slide mailing list explain where this can come
> from? It's a message from the slide DAV servlet.
>
> http-8081-Processor8, 06-Feb-2006 12:28:05, unauthenticated, GET, 412
> "Precondition Failed", 31536 ms
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe <at> jakarta.apache.org
> For additional commands, e-mail: slide-user-help <at> jakarta.apache.org
>
> 
Thomas Bellembois | 7 Feb 11:39
Picon
Picon

xml descriptors encoding

Hello,

I have a problem trying to "downgrade" my version of Slide.
I have runned a 2.1 version and then a SVN 2.2 version without any 
problem, using the same store location to keep my data.
Now I try to go back to the 2.1 version and Slide can not access data 
anymore.
I have the following error while starting the server :
org.apache.slide.common.ServiceAccessException: Service 
TxXMLFileDescriptorsStore at /data/Webdav_depot/metadata/store  working 
on /data/Webdav_depot/metadata/work access error :
java.lang.NullPointerException
If I use a new store location it works well.
My Domain.xml is well configured (with correct paths).

Any idea ?

Thanks

--

-- 
......-=( Thomas Bellembois )=-......
CRI - University of Rennes 1 (France)
.....................................
Bart Frackiewicz | 7 Feb 23:13

Search again: case-sensitive

Hi,

it was a long and hard way, but my search is running now. Thank you
Daniel for your good Wiki entry for the DASL search. For me, also this
site was very helpful (especially for syntax):

http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html

One (small) problem is still left, perhaps anyone can help me: my search
is case-sensitive. Is this a Lucene analyzer issue or a am i using the 
wrong syntax?

my search request:

"<D:searchrequest xmlns:D =\"DAV:\" " +
	" xmlns:S=\"http://jakarta.apache.org/slide/\" " +
	" xmlns:p=\"http://www.openmedium.de/media\"" +
	">" +
     "<D:basicsearch>" +
         "<D:select>" +
             "<D:prop>" +
                 "<D:displayname/>" +
             "</D:prop>" +
         "</D:select>" +
         "<D:from>" +
             "<D:scope>" +
                 "<D:href>" + Constants.FILES_HREF + "</D:href>" +
                 "<D:depth>Infinity</D:depth>" +
             "</D:scope>" +
         "</D:from>" +
(Continue reading)

MARENDY, Anthony | 8 Feb 01:11
Picon
Favicon

RE: checkout/checkin, working resource

You need to checkout the underlying vhr.

e.g. 

checkout /slide/history/1/1.0

This will return a URI to the working resource.

Refer to Delta-V RFC for documentation.

Regards,
Anthony.

> -----Original Message-----
> From:	Gerald Iakobinyi-Pich [SMTP:nutrina9 <at> yahoo.de]
> Sent:	Saturday, 4 February 2006 11:27
> To:	Slide Users Mailing List
> Subject:	checkout/checkin, working resource
> 
> Hello,
> 
> I am also intersted in how to create a working resource, and how, to do
> checkout and checkin. 
> Could somebody please point out some documentation ?
> 
> Thanks,
> 
> Gerald
> 
> 
(Continue reading)

Max Pfingsthorn | 8 Feb 10:55
Picon

RE: Search again: case-sensitive

Hi!

Can you show us your namespace configuration, most importantly the
namespace/definition/store/contentindexer and propertyindexer elements from Domain.xml?

For contentindexer, you are able to supply your own analyzer, so you could use
org.apache.lucene.analysis.standard.StandardAnalyzer or
org.apache.lucene.analysis.SimpleAnalyzer. Those will convert everything to lowercase as well. You
can do the same for each text properties for the propertyindexer as described on the wiki page DaslConfiguration.

Unfortunately, all other string properties will be indexed case-sensitively... You'd have to change a
line in src/stores/org/apache/slide/index/lucene/Index.java:

Line 291:								value.toString().toLowerCase()));

That should do it.

max

> -----Original Message-----
> From: Bart Frackiewicz [mailto:bf <at> open-medium.com]
> Sent: Tuesday, February 07, 2006 23:13
> To: Slide Users Mailing List
> Subject: Search again: case-sensitive
> 
> 
> Hi,
> 
> it was a long and hard way, but my search is running now. Thank you
> Daniel for your good Wiki entry for the DASL search. For me, also this
(Continue reading)


Gmane