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 Ray Sprinkle <rs...@vhainc.com> on 2005/09/01 14:38:48 UTC
RE: Problem with SimpleFileStore
Has anyone checked to see if this is a problem in head and if it is,
submitted a patch?
-----Original Message-----
From: Michael Perkonigg [mailto:michael.perkonigg@liland.at]
Sent: Wednesday, August 31, 2005 12:48 PM
To: Slide Users Mailing List
Subject: Re: Problem with SimpleFileStore
Michael Perkonigg wrote:
>Hello,
>
>I am using a SimpleFileStore for my logs but if I create a file and
>have a look at it with i.e. DAV Explorer it seems that slide thinks it
>is a directory (or collection, spoken in slide terms).
>It shows some size on it though, but if I try to read it like a file
>slide hiccups with some error.
>'Item License.txt found. But it is not a file.'
>This happens if I try to read a file but get a directory instead.
>
>If anyone has a suggestion what to try, I would be very happy.
>
>Thanks,
>Mike
>
>
And I found the problem to this also.
It seems that the SimpleFileStore sets the resourcetype property to
"<collection/>" if it is a directory but does nothing if it is a file.
This should be correct if the resourcetype is null initially, but it
don't work this way.
I created my own SimpleFileStore which sets the resourcetype to null if
it is a file and now it works.
Regards,
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Lock problem, what's wrong in my use
Posted by gu...@free.fr.
I use the standart stores (TxXMLFileDescriptorsStore,TxFileContentStore).
I use webdavclient in command line.
The target file already exists and is versioned.
The auto-version configuration value is true.
With 2 clients connected I do:
- "cd <mycollection>" on each client
- "begin" on each client
- "put <myfile>" on each client .At this level, the second client is waiting
something
- "commit" on the first client. This client also stay waiting after that command
After a moment, the first client transaction is failed.
The second client put failed because of a conflict (that's OK) and I can
rollback the transaction.
What is wrong in my exemple ?
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org