Re: using CLOB for properties table's property_value column

2004-11-19 Thread Gao Jun
Hi Roman, Thanks for your answer. I'd like to know is index on this column necessary? If I don't need to worry search for now, is there any other known issues related to the difference of Oracle's varchar2 and CLOB type? regards, Jun Roman Novak [EMAIL PROTECTED] wrote: Hi, I thought

RE: Needs help with the creation of new roles and users

2004-11-19 Thread Pontus Strand
Thanks for the reply, unfortunately it didn't work. So I started to look around in the code and documentation and found this page: http://jakarta.apache.org/slide/config_file.html. About three quarters down on the page I found the following information: There are three roles built into the Slide

Re: using CLOB for properties table's property_value column

2004-11-19 Thread Roman Novak
Hi Jun, - The db-schema scripts don't define an index on that column. - Possibly a change from varchar2(255) to varchar2(4000) will be sufficient for you (see latest changes also here - http://www.mail-archive.com/slide-dev@jakarta.apache.org/msg12926.html) - Versioning and other things

Re: using CLOB for properties table's property_value column

2004-11-19 Thread Luke Noel-Storr
Roman Novak wrote: Hi Jun, - The db-schema scripts don't define an index on that column. - Possibly a change from varchar2(255) to varchar2(4000) will be sufficient for you I think the main problem with this field is with the version history, even with it set to varchar2(4000) I'd be worried

Re: using CLOB for properties table's property_value column

2004-11-19 Thread Roman Novak
Yep, it is in the bug description ( http://www.mail-archive.com/slide-dev@jakarta.apache.org/msg11754.html ) SQL-Query: select max(length(property_value)) from properties t -- 368 Ann: File was versioned 8 times. The general role users grows probably faster. I have 19 users assigned to that

RE: using CLOB for properties table's property_value column

2004-11-19 Thread Nick Longinow
I'm using the CLOB datatype and have had no problems. Nick -Original Message- From: Roman Novak [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 7:08 AM To: Slide Users Mailing List Subject: Re: using CLOB for properties table's property_value column Yep, it is in the bug

RE: Needs help with the creation of new roles and users

2004-11-19 Thread Pontus Strand
After a bit more searching in the archive of this mailing list I found someone with a similar problem complete with a solution that works for me. The link is: http://www.mail-archive.com/slide-user@jakarta.apache.org/msg07369.html. However, the hint on how to modify the ACLs will be very useful

best practice : storing custom properties somewhere eles for versioned resources ?

2004-11-19 Thread Lixin Chu
Hi, I am stuck with managing custom properties for versions resources. I am not sure if my understanding is correct: when we change the value of any custom property, a new revision of the resource will always be created. Since I do not want to have a new version created when I modify the value,

Re: clustering

2004-11-19 Thread Bin Liu
Hi James, I uncomment this following line in cluster support. !-- Uncomment for cluster support. Be sure to local-host and repository-host -- listener classname=org.apache.slide.cluster.ClusterCacheRefresher configuration node local-host=192.168.1.100 local-port=

RE: write privileges for owner

2004-11-19 Thread Jason McElravy
I tried setting the owner of the collection as you said but using the webDAV client I got: $ propget john owner Getting properties '/slide/files/john': /slide/users/D:href xmlns:D='DAV:'/users/john/D:href I switched back to the other way and put some debug lines in the matchOwner method of

RE: write privileges for owner

2004-11-19 Thread Chris O'Connell
Sorry for what may be a newbie question, but can someone point me at a 'getting started' link. I've downloaded the server and client and the documentation and I'm trying to go through it, but I think I'm just missing something real basic. For example, I think I need to use the

version control statement in two different locations

2004-11-19 Thread Bin Liu
Hi, Could anybody tell me what's the difference between org.apache.slide.versioncontrol=false in slide.properties and parameter name=auto-version-controltrue/parameter in Domain.xml ? Seems they are redundent each other. thanks Bin

RE: write privileges for owner

2004-11-19 Thread Mirko Froehlich
Hi Chris, The Wiki is your best bet: http://wiki.apache.org/jakarta-slide The following page describes how to obtain a WebdavResource: http://wiki.apache.org/jakarta-slide/CreateWebDavResource Once you have this, the Javadocs should help you access the repository through the WebdavResource. One

major deadlock issues (JDBC store with MySQL)

2004-11-19 Thread Mirko Froehlich
I did some basic JMeter concurrency testing to validate if Slide meets our concurrency requirements. Unfortunately, the results were not very promising. As I mentioned, we are planning on using Slide as a repository for application data. We expect to have a few hundred concurrent users of our

Re: major deadlock issues (JDBC store with MySQL)

2004-11-19 Thread Oliver Zeigermann
Please send your Domain.xml and the stack traces of said exceptions. You said your were using 2.1b2? Oliver On Fri, 19 Nov 2004 15:59:22 -0800, Mirko Froehlich [EMAIL PROTECTED] wrote: I did some basic JMeter concurrency testing to validate if Slide meets our concurrency requirements.

more newbie...

2004-11-19 Thread Chris O'Connell
I'm trying to do some basic stuff to just get my hands around slide and writing a client. I have Slide running on my tomcat 4.1 server. I was able to use the packaged command line Slide client to create a node as user root (/slide/files/test). I then used the client to put a file (test.txt)

Re: major deadlock issues (JDBC store with MySQL)

2004-11-19 Thread Oliver Zeigermann
Make sure you have parameter name=sequential-modefull/parameter parameter name=all-methods-in-transactionstrue/parameter in the configuration sections of Domain.xml which is default for Slide 2.1b2. I have run concurrent tests with 20 threads all writing to the same

Re: major deadlock issues (JDBC store with MySQL)

2004-11-19 Thread Mirko Froehlich
Yes, I'm using 2.1b2. I have copied my domain.xml below. It does have the two parameters you mentioned. One thing I should mention is that I disabled caching, because I really wanted to simulate the effect of iterating over new content without the effects of caching. My domain.xml defines both a

RE: more newbie...

2004-11-19 Thread Jason McElravy
Chris, I ran into similar issues when I first started experimenting with slide. Try replacing: boolean success = davResource.putMethod(testFile); with: boolean success = davResource.putMethod(davResource.getPath()+/+testFile.getName(), testFile.getContents()); I know that's not an

RE: using CLOB for properties table's property_value column

2004-11-19 Thread Yong Hu
I met a strange problem when using CLOB type. I change property_value column in properties table to CLOB. Then I start my Slide sytem, and the most functions are ok. However, after I stop the system and re-start it again, the strange thing happens: some property_values value are set to null,

Re: clustering

2004-11-19 Thread James Mason
Bin, Take a look at the Wiki or the javadoc for the ClusterCacheRefresher http://wiki.apache.org/jakarta-slide/ClusterSupport You should be able to modify the repository-domain parameter to include your war context. -James On Fri, 2004-11-19 at 08:39 -0800, Bin Liu wrote: Hi James, I

Re: version control statement in two different locations

2004-11-19 Thread James Mason
org.apache.slide.versioncontrol turns on/off the versioncontrol system in Slide. The auto-version-control property controls whether newly added resources are version controlled, or whether the user must explicitly put each resource under version control. -James On Fri, 2004-11-19 at 13:20 -0800,

RE: write privileges for owner

2004-11-19 Thread James Mason
This sounds like a bug. You say it works if you grant write /roles/users? How does the logic in SecurityImpl differ in that case? -James On Fri, 2004-11-19 at 16:00 -0500, Jason McElravy wrote: I tried setting the owner of the collection as you said but using the webDAV client I got: $

Re: more newbie...

2004-11-19 Thread James Mason
It looks like you're trying to overwrite a collection with a file. That should fail. -James On Fri, 2004-11-19 at 18:14 -0600, Chris O'Connell wrote: I'm trying to do some basic stuff to just get my hands around slide and writing a client. I have Slide running on my tomcat 4.1 server. I was

RE: write privileges for owner

2004-11-19 Thread Jason McElravy
In AclSecurityImpl.evaluateAcl() when checking to see if /users/john can /actions/write resource /files/john/test.txt, the code finds a permissions match on the following permission (output is from the toString method): permission=[object=/files/john, subject=/roles/user, action=/actions/write,