RE: Slide Transaction

2006-01-04 Thread Warwick Burrows
. If creation of DB is successful then commit the txn of slide. Hope this will help. Thanks, Rakesh Warwick Burrows wrote: Yes but there are cases where you need to run a command and then get information on the object created to store yourself or return to a caller. For example a lock

RE: Slide Transaction

2006-01-03 Thread Warwick Burrows
Yes but there are cases where you need to run a command and then get information on the object created to store yourself or return to a caller. For example a lock gets created on an object and in another method call within the same transaction we check that the object is locked before it can

RE: WebDAV Export/Import files to switch on versioning

2005-11-28 Thread Warwick Burrows
Hi, Can't you just run the versioncontrolMethod() on each of your files (and collections if you want) to turn versioning on for them? ie. rather than reimport all of the data? When we add data to our Slide server we explicitly control versioning from our client (ie. we have auto-versioning

RE: clustering questions

2005-11-21 Thread Warwick Burrows
, Warwick Burrows [EMAIL PROTECTED] wrote: Hey Tony, Yes the work dir I was referring to is set using the workpath variable which is needed for the transactional file stores. Eg. the stanard tx file store and the XML file descriptor file store. Warwick -Original

RE: clustering questions

2005-11-19 Thread Warwick Burrows
, November 18, 2005 12:27 PM To: Slide Users Mailing List Subject: Re: clustering questions On 11/18/05, Warwick Burrows [EMAIL PROTECTED] wrote: Answers below: -Original Message- From: Tony Tomcat [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 7:50 PM

RE: clustering questions

2005-11-18 Thread Warwick Burrows
Answers below: -Original Message- From: Tony Tomcat [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 7:50 PM To: slide-user@jakarta.apache.org Subject: clustering questions I'm in the process of researching the best way to build a WebDAV system for a large user

RE: Support for multiple instances and load balancing in Slide 2.1

2005-11-10 Thread Warwick Burrows
Slide 2.1 has a cluster cache listener implemented that keeps the caches of each Slide consistent in a load-balanced scenario. When a change comes into one server it notifies the others which then flush their cache of references to that object. Refer to the Java doc for the

RE: mysql max_allowed_packet and file size

2005-09-28 Thread Warwick Burrows
I assume that its only a problem when using MYSQL as the content store as well as the nodestore. If the content was stored using one of the tx file stores then you would only be storing the meta data in MYSQL. Warwick -Original Message- From: Paul Hussein [mailto:[EMAIL PROTECTED]

RE: Book on Slide

2005-09-07 Thread Warwick Burrows
There's only one that I know of but its good. WebDAV: Next-generation Collaborative Web Authoring by Lisa Dusseault. Of course the protocol itself is not specific enough in a lot of cases so Lisa lets you know about some of these. Warwick -Original Message- From: V K [mailto:[EMAIL

RE: Book on Slide

2005-09-07 Thread Warwick Burrows
Oh I'm sorry. Its not a book on Slide but on the WebDAV protocol. I pulled the trigger a little too quickly on my reply :-) Warwick -Original Message- From: V K [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 11:21 AM To: Slide Users Mailing List Subject: Book on

RE: JBoss slide integration

2005-08-11 Thread Warwick Burrows
Wow that's great! What version of Slide did you integrate -- or should I be able to run any version of Slide with JBoss? Thanks, Warwick -Original Message- From: Julien Viet [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 7:53 AM To: slide-user@jakarta.apache.org

RE: Extensibility

2005-07-21 Thread Warwick Burrows
Hey Michael, If I understand what you're asking for, that is a way to fetch a property value from the Domain.xml, then the Domain class has a static function Domain.getParameter() that you can use. You would define your parameter alongside other parameters like auto-version and historypath which

RE: Extensibility

2005-07-21 Thread Warwick Burrows
The getStore().getParameters() will get you parameters defined on the stores (eg. DB2 etc) but I think you will want the Domain.getParameter() method for what you want to do. Warwick -Original Message- From: Warwick Burrows Sent: Thursday, July 21, 2005 2:25 PM To: Slide Users

RE: Oracle Store internal server error

2005-07-14 Thread Warwick Burrows
, it should be common between DB2 and Oracle, so can you provide me with its name? On 7/13/05, Warwick Burrows [EMAIL PROTECTED] wrote: I had glossed over this in my previous email, but I think that the code that decides what the next history path should be uses

RE: Oracle Store internal server error

2005-07-14 Thread Warwick Burrows
to the fact that you've used up all of the possible history file slots by exceeding the maximum size of the value that's stored in next-history-name. Warwick -Original Message- From: Warwick Burrows Sent: Thursday, July 14, 2005 10:50 AM To: Slide Users Mailing List; Muhammad Al Sebaeyie

RE: Oracle Store internal server error

2005-07-13 Thread Warwick Burrows
Hi, After the PUT message there's a unique constraint exception for the URI /history/63. This is a very low history entry number for the amount of data you have in the system. Could it be that the unique ids being used to create history paths has wrapped around to 0 and is trying to allocate

RE: Oracle Store internal server error

2005-07-13 Thread Warwick Burrows
, But how come a document just created gets that low a history number? and I also checked the logs, this happened for /history/14 and /history/7. And how come if I retry sometimes it works? On 7/13/05, Warwick Burrows [EMAIL PROTECTED] wrote: Hi, After the PUT message there's

RE: How-to use transactions over WebDAV

2005-07-12 Thread Warwick Burrows
The WebdavResource client has implemented the Microsoft tx extensions eg. startTransaction(), abortTransaction() and commitTransaction() methods. It takes a timeout for the transaction and a resource parameter since it locks the resource as part of the process of maintataining the external

RE: Delete versions

2005-06-30 Thread Warwick Burrows
If you intend on using slide only and don't mind catering your code specifically to it then I have a suggestion :-) I use the history-collection-hack setting in Domain.xml which puts all the versions that get created for a file in the same collection in the /history dir. Knowing the way that it

RE: startTransaction on a resource in need of escaping

2005-06-30 Thread Warwick Burrows
You might want to check bugzilla as I think this has been fixed recently. I don't know if the patch was applied to the 2.1 release or just the slide cvs head. Warwick -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Niklas Gustavsson Sent: Thursday, June 30, 2005

RE: Re: startTransaction on a resource in need of escaping

2005-06-30 Thread Warwick Burrows
guessing this is not the one you mean? Also, looking in the CVS, it looks like it's still not fixed: http://cvs.apache.org/viewcvs.cgi/jakarta-slide/webdavclient/c lientlib/src/java/org/apache/webdav/lib/WebdavResource.java?re v=1.36view=markup /niklas Warwick Burrows wrote: You

RE: Re: startTransaction on a resource in need of escaping

2005-06-30 Thread Warwick Burrows
: startTransaction on a resource in need of escaping Just compared the 2.1 version with head (from ViewCVS) and there is no difference between the two startTransaction methods. Do you know if this is a new bug in 2.1? Would an old version work? /niklas Warwick Burrows wrote: Hmmm.. I saw

RE: Re: startTransaction on a resource in need of escaping

2005-06-30 Thread Warwick Burrows
of escaping Just compared the 2.1 version with head (from ViewCVS) and there is no difference between the two startTransaction methods. Do you know if this is a new bug in 2.1? Would an old version work? /niklas Warwick Burrows wrote: Hmmm.. I saw the bug go past and someone suggested

RE: starting slide before other webapps

2005-06-16 Thread Warwick Burrows
Yeah we did the same as Christopher for our tomcat 4.1.30 deployment. Now we have recently moved to Jboss 4.0.1 and there _might_ be another option. I was told, but haven't verified, that you can specify to Jboss (or is it to the Tomcat 5.x web container underneath Jboss ?) which of the other

RE: Binding store rename accents

2005-05-19 Thread Warwick Burrows
This looks to be the same problem as bug 34910. eg. http://issues.apache.org/bugzilla/show_bug.cgi?id=34910 Jacob opened this bug for transaction targets with a space in their name but, as the bug description notes, this indicates the uri encoding is incorrect. Warwick -Original

RE: Using Slide as network ressource with windows

2005-05-03 Thread Warwick Burrows
Hi Mark, How did you mount slide as a network resource? Are you using Windows Explorer and webfolders or did you use net use to mount a shared drive. I had heard that the latter was possible but am not sure how to do it with net use. I also can't find any references in the mail archives.

Locking Question -- followup

2005-03-17 Thread Warwick Burrows
missing it. Wouldn't it be a performance improvement to have the locks available immediately? Is there any downside to processing the lock discovery element at that time? Thanks, Warwick -Original Message- From: Warwick Burrows Sent: Wednesday, March 16, 2005 4:36 PM To: Slide Users

RE: Locking Question

2005-03-16 Thread Warwick Burrows
You _may_ need to make a lock discovery call before you go to unlock a file. That will go out to Slide and pick up the list of current locks for the resource. The locks are kept in the WebdavResource object that you construct to lock the resource but if you use another WebdavResource to unlock it

Version numbering?

2005-03-15 Thread Warwick Burrows
Hi guys, What is the idea behind the version numbering in Slide (or is it WebDAV). The versions start at 1.0 and keep incrementing -- never reaching 2.0 as far as I can tell. When the UPDATE method is used to select an earlier branch (the closest thing to deleting a revision that Slide seems to

RE: Workspaces and forking

2005-03-10 Thread Warwick Burrows
Hi Anthony, I vaguely remember that the file must have been created while the checkin/out-fork parameters are empty for them to affect the file. Ie. the file is created with whatever the values are in the domain.xml at the time. Try looking at the properties table (if you use DB nodestore) to

RE: HTTP client version?

2005-03-01 Thread Warwick Burrows
-rc3 and of /webdavclient/lib/commons-httpclient.jar 2.0-final. We should unify this (:-) Stefan Warwick Burrows wrote: Hi guys, What version of the HTTP client does Slide use in the 2.2 release -- which I gather is the current CVS HEAD? Thanks, Warwick

DAV client cookies?

2005-03-01 Thread Warwick Burrows
Do MS webfolders and other DAV clients support cookies? We want to authenticate these clients with basic-auth but then our server needs to store a cookie with the DAV client. Is cookie support standard for DAV clients since they are essentially HTTP clients? Thanks, Warwick

HTTP client version?

2005-02-28 Thread Warwick Burrows
Hi guys, What version of the HTTP client does Slide use in the 2.2 release -- which I gather is the current CVS HEAD? Thanks, Warwick

RE: Windows XP mapping

2005-02-15 Thread Warwick Burrows
To my knowledge, no, but there is a program called netdrive that may do what you want. It's a novell client that talks to the novell webdav server. I've been told it works with Slide too. I don't have the right configuration to test it myself at the moment. It seems to use NTLM auth by default or

RE: Windows XP mapping

2005-02-15 Thread Warwick Burrows
But I'm not sure what the license requirements are to use netdrive though. I can't find source for it on the net so it may need a license if you intend to use it for more than your personal use :-) Or at least it needs to be investigated. -Original Message- From: Warwick Burrows

RE: AW: accessing slide on the server side

2005-02-10 Thread Warwick Burrows
Hi Andrey, Excuse my ignorance, but in simple terms what is the protocol underlying digest auth? Does WebFolders actually implement the client piece of the authentication mechanism? I'm trying to understand how sophisticated a web client WebFolders is and whether it is actively participating in

Will OJB require db migration?

2005-02-10 Thread Warwick Burrows
now. -James Warwick Burrows wrote: Hi Carlos, I definitely think its worth it. How were you thinking of indexing this second table? The way to uniquely identify any individual property in the property table seems to require 3 fields -- property namespace, property name

RE: Will OJB require db migration?

2005-02-10 Thread Warwick Burrows
Oops. I should have finished reading your email. The OJB changes will definitely require data migration then... What kind of changes are we talking about? Thanks. -Original Message- From: Warwick Burrows Sent: Thursday, February 10, 2005 8:03 PM To: Slide Users Mailing List

RE: AW: accessing slide on the server side

2005-02-10 Thread Warwick Burrows
Thanks very much! -Original Message- From: Andrey Shulinsky [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 8:16 PM To: 'Slide Users Mailing List' Subject: RE: AW: accessing slide on the server side Hi, Warwick! Excuse my ignorance, but in simple terms what is

RE: A question on Http Connection obtained by WebdavResoruce

2005-02-08 Thread Warwick Burrows
I believe this was a design choice to allow connections to be reused (persistent connections) rather than opening/closing a connection on every DAV method call. For example I have one webdavresource per thread and reuse the webdavresource by making use of the setPath() command to change the

RE: Experiences with WebDAV Construction Kit

2005-02-04 Thread Warwick Burrows
John, do you use client side transactions? Thanks, Warwick -Original Message- From: John Rousseau [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 10:50 AM To: Slide Users Mailing List Subject: Re: Experiences with WebDAV Construction Kit I used the WCK to put a

RE: Restricting access to /history?

2005-02-04 Thread Warwick Burrows
I meant restrict in terms of both :-) And you're right in that I do need the /history path to be visible to users so they can see pervious revisions so I need to use access control to manage this path. We use a secure web proxy application that junctions web webapps to itself and access control

RE: Deleting a specific version

2005-02-03 Thread Warwick Burrows
I don't know why it was done this way originally but I think I saw a submission to the slide head branch that said something to the effect that this restriction had been removed. So if you need to delete the versions then you will be able to do this with a build from the head. I had the same

Restricting access to /history?

2005-02-03 Thread Warwick Burrows
Hi, Is there any reason that I shouldn't be able to restrict client access to every directory under /slide other than files. For instance I don't want the client to see /history or /actions or /users. Does the client ever need access to any of these paths for a legitimate reason or can the

UserRoleImpl missing 4 param constructor?

2005-01-26 Thread Warwick Burrows
Hi guys, Up until now I have had the authentication/security features of Slide disabled. Now that I have to come to play with making use of users I'm having a problem after slide server restart with loading users from the db. The users were created using the auto-create-mechanism and were

RE: UserRoleImpl missing 4 param constructor?

2005-01-26 Thread Warwick Burrows
PM To: Slide Users Mailing List Subject: Re: UserRoleImpl missing 4 param constructor? Previously, I used SubjectNode as the role and now UserRoleImpl has this ctor. Oliver On Wed, 26 Jan 2005 14:27:01 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: Hi guys, Up until now I

RE: Performance issues

2005-01-05 Thread Warwick Burrows
, no matter what size we use, Slide will run out of memory. As I said before, this is a problem we will solve be a daily restart of Slide. /Pontus -Original Message- From: Warwick Burrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 04, 2005 3:18 AM To: 'Slide Users Mailing

RE: Performance issues, Slow Downs

2005-01-04 Thread Warwick Burrows
not reading though. From: Warwick Burrows [EMAIL PROTECTED] Reply-To: Slide Users Mailing List slide-user@jakarta.apache.org To: 'Slide Users Mailing List' slide-user@jakarta.apache.org Subject: RE: Performance issues, Slow Downs Date: Mon, 3 Jan 2005 18:03:08 -0800 Jeff, Excuse my ignorance

RE: blocking/removing unwanted files

2005-01-04 Thread Warwick Burrows
Karl, I don't want to sound negative but this sounds like a very difficult problem to solve since its your webdav client, mac os x, that wants to put the ._ files in there and expects them to be there when it requests them. If they do contain metadata then it suggests that mac os x will want to

RE: Performance issues, Slow Downs

2005-01-03 Thread Warwick Burrows
Jeff, Excuse my ignorance but what are the clustered indexes you mention creating on certain tables? I'm hitting -911 database errors (deadlocks and or lock contention timeouts) with the Slide 2.1 release and am trying to find out how to improve Slide's DB2 table access performance. Thanks,

RE: Performance issues

2005-01-03 Thread Warwick Burrows
Pontus, If you have delta-v versioning enabled then it may help to use the history collection hack that basically distributes you're file revision structure in a hierarchical tree in the /history path in the file system irrespective of how you choose to layout the files under the /files path.

RE: how to recover file

2004-12-16 Thread Warwick Burrows
You can fetch the version-set property on the resource to get the list of versions (VHRs or version history records) but the set is not always ordered from earliest to latest, etc. You may need to sort it to ensure the right order and so be able to choose what the previous version to the current.

RE: A few webdav client locking concerns

2004-12-14 Thread Warwick Burrows
: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 3:49 AM To: Slide Users Mailing List Subject: Re: A few webdav client locking concerns On Mon, 13 Dec 2004 16:49:11 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: 4. Transaction locks are being stored

A few webdav client locking concerns

2004-12-13 Thread Warwick Burrows
Hi, I'm running into some more client-transaction problems and have been looking at the webdav client. I've noticed a couple of issues and want to air them to see if anyone familiar with the DAV spec locking agrees or disagrees with what I see: 1. Is it valid in the spec for a list of locks to

RE: Cluster cache

2004-12-08 Thread Warwick Burrows
slide servers of /history path updates that stem from the change even though /history isn't specifically configured as the base-uri? Thanks, Warwick -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 8:40 PM To: Warwick Burrows; Slide Users

RE: WCK Transaction error during commit

2004-12-08 Thread Warwick Burrows
Hi John, I made a submission to the HEAD to fix external transaction support last night. If you are using client-side transactions then this may have introduced the problem but it is working in the Slide 2.1 release currently. To be using client-side transactions you would be calling the

RE: WebDav LOCK and MOVE question

2004-12-07 Thread Warwick Burrows
Bernd, Slide's WebDAV client creates a lock-null resource when you lock a file that doesn't exist and that you want to create. This is how the WebDAV standard deals with two uploads of the same new file at the same time. When the second server tries to lock the resource they will be denied with

RE: Performance

2004-12-06 Thread Warwick Burrows
John, thanks for the fix! Would you mind opening a bug for this in bugzilla so we can be sure that this fix isn't overlooked? And we can be sure a committer will look at it. Here's a link to the Slide open bug page: http://issues.apache.org/bugzilla/enter_bug.cgi?product=Slide Thanks,

RE: example for versioning

2004-12-03 Thread Warwick Burrows
As Tim has noted the correct approach for you is to either disable auto-versioning altogether and do both checkout and checkin yourself; or there is an auto-versioning configuration that automatically checks out for you but will leave the file checked out for you to checkin manually. Assuming of

RE: developers: table prefix

2004-12-03 Thread Warwick Burrows
like in Slide. Carlos Warwick Burrows wrote: There's something about preprocessing Java source that makes me a little uneasy :-) Isn't there another way? eg. instead of inserting a placeholder that gets replaced simply change the jdbc operation strings passed

RE: developers: table prefix

2004-12-03 Thread Warwick Burrows
it, specially if there are no stored procedures like in Slide. Carlos Warwick Burrows wrote: There's something about preprocessing Java source that makes me a little uneasy :-) Isn't there another way? eg. instead of inserting a placeholder that gets replaced simply

RE: example for versioning

2004-12-03 Thread Warwick Burrows
. Warwick -Original Message- From: Tim Frank [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 11:07 AM To: Slide Users Mailing List Subject: Re: example for versioning Warwick, Would you be able to expand on the following statement for me? Warwick Burrows wrote

RE: example for versioning

2004-12-03 Thread Warwick Burrows
working resource for a checkout and keep a user's modifications separate until they checkin? Warwick -Original Message- From: Julian Reschke [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 2:04 PM To: Slide Users Mailing List Subject: Re: example for versioning Warwick

RE: developers: table prefix

2004-12-02 Thread Warwick Burrows
There's something about preprocessing Java source that makes me a little uneasy :-) Isn't there another way? eg. instead of inserting a placeholder that gets replaced simply change the jdbc operation strings passed to the jdbc client as in this example? select name from +

RE: developers: table prefix

2004-12-02 Thread Warwick Burrows
, for example, is straightforward, we have done it, specially if there are no stored procedures like in Slide. Carlos Warwick Burrows wrote: There's something about preprocessing Java source that makes me a little uneasy :-) Isn't there another way? eg. instead of inserting

RE: Another Question

2004-12-01 Thread Warwick Burrows
The webdav client methods take a depth parameter which can be 0, 1 or infinite. When you specify 0 the operation works on the target alone. 1 indicates target and immediate children and infinite to operate on the target and all children. Of course they really only apply when the target is a

Webdav client transactions

2004-12-01 Thread Warwick Burrows
Hi, I've been working with the webdav client transaction methods and wanted to confirm something about their use and also potentially pass on some useful information to others who intend to use them. The startTransaction and endTransaction (the latter called by commitTransaction and

Performance gain from WebdavResource reuse?

2004-12-01 Thread Warwick Burrows
Is there a performance gain when you use a single WebdavResource object per thread and reuse it to access different resources on the same Slide server? ie. if there is only one WebdavResource then is there only one HTTP connection to the Slide server across which all requests flow no matter what

RE: MKACTIVITY and transactions

2004-12-01 Thread Warwick Burrows
What are the standard MS client transactions you're talking about? Warwick -Original Message- From: Carlos Villegas [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 6:22 PM To: Slide Users Mailing List Subject: MKACTIVITY and transactions Hi, I was reading in

RE: version numbers

2004-11-30 Thread Warwick Burrows
I don't know if you can change the version numbering. There is code in the jdbc store adapters that seems to assume that revision numbers take a certain format. I modified one usage of this in the DB2 store to make the file revision branching work but am pretty certain the other jdbc stores will

RE: Real filenames in slide tx store

2004-11-24 Thread Warwick Burrows
in your operating system. I did some testing with russian filenames and it only worked when this parameter was set to true. /jacob - Original Message - From: Warwick Burrows [EMAIL PROTECTED] To: 'Slide Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 11

RE: slide clustering support question

2004-11-24 Thread Warwick Burrows
We've implemented that configuration: a jdbc nodestore with tx filesystem store much like you've outlined with a HTTP load balancer between our DAV clients and Slide servers. It is untested in this target (load balanced) configuration but we have tested in a simpler configuration that shares the

RE: major deadlock issues (JDBC store with MySQL)

2004-11-24 Thread Warwick Burrows
Great work Oliver! I'll grab that fix too. You can never have too many deadlock fixes, I always say ;-) Warwick -Original Message- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 5:46 AM To: Slide Users Mailing List Subject: Re: major deadlock

RE: slide clustering support question

2004-11-24 Thread Warwick Burrows
, then the clustering implementation with its dependence on JGroups would have to be compiled and loaded. Example usages: JBoss uses JGroups. CJDBC uses JGroups. Richard Warwick Burrows wrote: We've implemented that configuration: a jdbc nodestore with tx filesystem store much

RE: slide clustering support question

2004-11-24 Thread Warwick Burrows
FileResourceManager per directory. If this holds true then even disabling all caches does not guarantee atomic operations on files, ie file transactions are not reliable. Warwick Burrows wrote: We've implemented that configuration: a jdbc nodestore with tx filesystem store much like

RE: authentication store

2004-11-23 Thread Warwick Burrows
Great summary James. I'll need to reimplement Slide authorization at some time so this is good information for me too. If I want to reimplement the entire ACL implementation is there a nice clean interface layer that I can implement? Will I be able to remove the user store from the process since

Real filenames in slide tx store

2004-11-23 Thread Warwick Burrows
Hi, I have a question regarding the way that content is actually physically stored in the tx filesystem store. At one time I had thought that the Slide content in the physical filesystem matched the hierarchy of the folder structure. Is that not the case anymore or have I accidentally vi done

RE: Real filenames in slide tx store

2004-11-23 Thread Warwick Burrows
On Tue, 23 Nov 2004 13:26:46 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: Hi, I have a question regarding the way that content is actually physically stored in the tx filesystem store. At one time I had thought that the Slide content in the physical filesystem matched

RE: Real filenames in slide tx store

2004-11-23 Thread Warwick Burrows
the way the do. Maybe future versions of the tx store will allow a more flexible way of encoding the file name. There already has been a proposal for this... Oliver On Tue, 23 Nov 2004 14:03:35 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: Thanks Oliver. Ok, I will remove

defer-saving parameter?

2004-11-23 Thread Warwick Burrows
What does the defer-saving parameter do? I'd like to know if its a performance enhancement and how it works. Also I read a while back that it should be disabled in high-load cases as it could cause deadlocks and so I have it disabled in my domain.xml. But is this still the case? Thanks,

RE: defer-saving parameter?

2004-11-23 Thread Warwick Burrows
that the WebDAV layer has locks it will not be needed when accessing Slide via WebDAV. Oliver On Tue, 23 Nov 2004 14:25:34 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: What does the defer-saving parameter do? I'd like to know if its a performance enhancement and how it works

RE: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Warwick Burrows
Actually I haven't committed the latest transaction deadlock fixes I made to get the enlistment of slide server transactions into the client's transaction working. If Mirko is using client side transactions then this may fix it. And even if he's not it still may fix it :-) But I'm still waiting

RE: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Warwick Burrows
client library transparently uses transactions. -Mirko On Tue, 2004-11-23 at 16:06, Warwick Burrows wrote: Actually I haven't committed the latest transaction deadlock fixes I made to get the enlistment of slide server transactions into the client's transaction working. If Mirko

RE: authentication store

2004-11-23 Thread Warwick Burrows
won't need Slide to implement the ACL spec. -James On Tue, 2004-11-23 at 09:19 -0800, Warwick Burrows wrote: Great summary James. I'll need to reimplement Slide authorization at some time so this is good information for me too. If I want to reimplement the entire ACL implementation

RE: major deadlock issues (JDBC store with MySQL)

2004-11-21 Thread Warwick Burrows
I recently dropped a defect fix against 2.1b2 for a DB2 client deadlock that was not specific to DB2. The problem was that the server has its own transaction support but some of the operations it was performing on the db weren't being enlisted to the current server trasaction. The defect number

RE: Database integration

2004-11-16 Thread Warwick Burrows
But wasn't the original problem that the new content could not be seen because it wasn't originally inserted through the cache but directly into the tables? If so only turning the cache off altogether will help. Warwick -Original Message- From: Oliver Zeigermann [mailto:[EMAIL

Sanity check of transaction support fixes

2004-11-15 Thread Warwick Burrows
Hi guys, I'd like to ask those who know/use/care about the WebDAV client transaction support to sanity check some fixes I've made to Slide (client and server) to get transaction continuation from the client to the server working. I've submitted the patch deltas to bugzilla along with defect

RE: Opinions for Exposing XML from Methods

2004-11-15 Thread Warwick Burrows
Tim, The response document is available as an org.w3c.dom.Document from all of the raw *Method classes (eg. checkinMethod and checkoutMethod class) as they extend the XMLResponseMethodBase class which has a getResponseDocument() method that returns it. So you certainly could save the response

RE: Enabling Logging

2004-11-10 Thread Warwick Burrows
and communicating with the backend involves no I/O. Setting a high verbosity level on the backend will affect performance, of course, because of the higher output to the console or file. Carlos Warwick Burrows wrote: I don't understand the relationship between this setting and those

RE: Has anyone used the 2 parameter versionControlMethod (webdav) ?

2004-11-10 Thread Warwick Burrows
There's one usage of it in the command-line client (CLI) that I can see and the help message for it is: create a new versioncontrolled resource at path based on history URL It may be used to restore a file to your content space that was previously deleted. History files aren't removed

RE: More test info - versionControlMethod (Yet more info)

2004-11-10 Thread Warwick Burrows
You will need to have an existing history URI (VHR) to use the two param method. It must be a URI to a VHR under the /history path. Since you haven't been able to version control any resources you probably don't have a valid history URI to call this method with and that's why the conflict error

RE: Enabling Logging

2004-11-09 Thread Warwick Burrows
Stefan, How does the logger-level setting in Domain.xml control the actual logging output? Can the logger-level be set in the log4j.properties instead? I'd like to control the verbosity of output from log4j from within the log4j.properties which is currently reread dynamically from the classes

RE: Enabling Logging

2004-11-09 Thread Warwick Burrows
You may need to copy the log4j-1.2.8.jar file from your Slide dist to tomcat/common/lib. I can't say for sure that this is the problem though as I have other logger load problems right now and can't verify it myself :-) Warwick -Original Message- From: Andy Bowes [mailto:[EMAIL

RE: Enabling Logging

2004-11-09 Thread Warwick Burrows
verbosity in log4j.properties. e.g. to set the general level to INFO but for a special package to DEBUG log4j.rootCategory=INFO,stdout,R log4j.category.org.apache.slide.index.lucene=DEBUG Stefan Warwick Burrows wrote: Stefan, How does the logger-level setting in Domain.xml control

RE: DB2 deadlock committing transaction

2004-11-08 Thread Warwick Burrows
? Oliver On Fri, 5 Nov 2004 08:52:52 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: Hi guys, I've just added transaction support into my WebDAV client based app using the WebdavResource transaction methods. But I'm getting a db2 deadlock during the commit phase of a client transaction

RE: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-04 Thread Warwick Burrows
This deadlock _could_ be due to defect 31907 that I have seen and fixed for DB2. The fix was in non-DB2 specific modules so it may fix this issue too. The problem was due to the same thread attempting to make two sql calls but not within the same transaction. The transaction code at the start of

MS Webfolders and the Briefcase or offline files?

2004-11-01 Thread Warwick Burrows
Hi guys, Does anyone have any information on whether WebFolders will work with the Briefcase or with offline files. Right clicking on a shared folder will let you choose to enable the use of offline files in the share but the same is not an option when right clicking on a web folder. I

RE: Server seems to hang on create new WebdavResource... (yikes, still hung)

2004-10-29 Thread Warwick Burrows
Anyone else with hung Slide 2.1b2 servers? There's the jdbc store hang I just fixed, and there is still the possibility of a jdbc hang for users who have the access control enabled. The basic problem with this deadlock was that the transaction had locked access to a table for the length of the

RE: Server seems to hang on create new WebdavResource... (yikes, still hung)

2004-10-29 Thread Warwick Burrows
Oliver, The solution is to replace the calls to org.apache.slide.common.Namespace.getUri(String) in both hasPermission() methods in SecurityImpl.java with the companion method from the same class getUri(SlideToken, String). The safest option is to replace all getUri() calls in this way so that

RE: Adding a non-inheritable permission to a folder using webdav clie nt lib not working

2004-10-28 Thread Warwick Burrows
Guys, There was another email thread like this recently regarding a users need to have the read bit on a folder to navigate through it to get to children. I worked on an authorization product at one time and our solution was to define another permission called traverse that would permit a user

  1   2   3   >