Matthew Stone wrote:

> Hey Remy,
>
> Here's a strange one for you.  I'm developing a system that dynamically
> creates folders to be used as web folders.  Here's the process:
>
> - Create a GroupNode called "bar" in the JDBCDescriptorsStore with a uri
> that maps to the root of the FileDescriptorStore /foo.
>
> - Open a Web folder that points to /foo and I can see that "bar" is a child
> folder.
>
> - Double click on "bar" and of course the Web folder now displays the
> contents of bar.
>
> The problem is the Web folder window locks up every once in a while(somewhat
> consistently) when navigating through this "/foo" tree hierarchy.  No error
> occurs in the server console or from the Web folders window.  Nor does the
> Web folder window "unlock" even if you wait a while.  I've let it run for
> over an hour at one point.
>
> This is where it get really weird.  If I'm running Slide in debug mode using
> JBuilder everything works perfectly.  If I run Slide outside of JBuilder it
> locks up.  To make thing even stranger, in the process of trouble shooting
> this matter I've edited org.apache.slide.webdav.method.PropFindMethod.java
> to do some System.out calls so I could see how far the PropFindMethod was
> actually getting before it locked up and you know what?  Once I add those
> System.out calls to the executeRequest() the navigation is working fine in
> both JBuilder debug and Slide stand alone.
>
> Here's a important note to consider in case it didn't click for you right
> away: The folder doesn't actually exist yet in the FileDescriptorStore(file
> system) but it does exist in the JDBCDescriptorStore.  Therefore the folder
> is displayed in the Web Folder as if it exist in the file system because
> it's part of the slide structure.  This is okay and it makes perfect sense
> but I thought it might help you think this one through.
>
> Also note that this problem was discovered while using a Nightly build from
> about a month and a half ago.  So I downloaded the latest build 8/13 hoping
> to solve this problem and it's still an issue.
>
> I've include a chunk from the catalina_webdav_log below.  Note that I
> specify where the request worked and where it fails.  I've also put spaces
> between each actually navigation request.   Let me know if I can provide
> more information.
>
> Thanks in advance,
> Matt

Remy is on holyday, but I will try to help you...

When you get different behaviour with or without debugger or logging, it's
probably some race contition (timing).
That combined with Remy saying that the file discriptor store is extremely
experimental makes me believe that there lies the problem.

Do you have lockups when using only jdbc for your descriptor stores ?
Do you make multiple requests at the same time (click very fast on different
folders) ?
On a multiprocessor machine ?
Can you simulate the lockup with the slide client ?

Dirk

===================================
Revision : 1.4
Date : 2001/5/8 22:28:46
Author : 'remm'
State : 'Exp'
Lines : +5 -5
Description :
- The permissions were not correctly removed in both the JDBC store and in the
  extremely experimental file store.
  Patch submitted by Dirk Verbeeck <dirk.verbeeck at the-ecorp.com>


Reply via email to