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
-----------------------------
(snip) --------------------------------------------
Works \/
2001-08-13 20:22:27 HttpProcessor[8081][4] Request is 'PROPFIND' for
'/courses/Intro%20To%20Javascript' with protocol 'HTTP/1.1'
2001-08-13 20:22:27 HttpProcessor[8081][4] Header accept-language = en-us
2001-08-13 20:22:27 HttpProcessor[8081][4] Adding locale 'en_US'
2001-08-13 20:22:27 HttpProcessor[8081][4] Header content-type = text/xml
2001-08-13 20:22:27 HttpProcessor[8081][4] Header translate = f
2001-08-13 20:22:27 HttpProcessor[8081][4] Header content-length = 380
2001-08-13 20:22:27 HttpProcessor[8081][4] Header depth = 1
2001-08-13 20:22:27 HttpProcessor[8081][4] Header user-agent = Microsoft
Data Access Internet Publishing Provider DAV 1.1
2001-08-13 20:22:27 HttpProcessor[8081][4] Header host = localhost:8081
2001-08-13 20:22:27 HttpProcessor[8081][4] Header connection = Keep-Alive
2001-08-13 20:22:27 HttpProcessor[8081][4] Header cookie =
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:22:27 HttpProcessor[8081][4] Requested cookie session id is
F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:22:27 HttpProcessor[8081][4] Adding cookie
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:22:27 HttpProcessor[8081][4] Header authorization = Basic
cm9vdDpyb290
2001-08-13 20:22:27 StandardEngine[WebDAV]: Mapping server name 'localhost'
2001-08-13 20:22:27 StandardEngine[WebDAV]: Trying a direct match
2001-08-13 20:22:27 HttpProcessor[8081][4] parseConnection:
address=127.0.0.1/127.0.0.1, port=8081
Works /\
Works \/
2001-08-13 20:22:55 HttpProcessor[8081][4] Request is 'PROPFIND' for
'/courses' with protocol 'HTTP/1.1'
2001-08-13 20:22:55 HttpProcessor[8081][4] Header accept-language = en-us
2001-08-13 20:22:55 HttpProcessor[8081][4] Adding locale 'en_US'
2001-08-13 20:22:55 HttpProcessor[8081][4] Header content-type = text/xml
2001-08-13 20:22:55 HttpProcessor[8081][4] Header translate = f
2001-08-13 20:22:55 HttpProcessor[8081][4] Header content-length = 380
2001-08-13 20:22:55 HttpProcessor[8081][4] Header depth = 1
2001-08-13 20:22:55 HttpProcessor[8081][4] Header user-agent = Microsoft
Data Access Internet Publishing Provider DAV 1.1
2001-08-13 20:22:55 HttpProcessor[8081][4] Header host = localhost:8081
2001-08-13 20:22:55 HttpProcessor[8081][4] Header connection = Keep-Alive
2001-08-13 20:22:55 HttpProcessor[8081][4] Header cookie =
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:22:55 HttpProcessor[8081][4] Requested cookie session id is
F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:22:55 HttpProcessor[8081][4] Adding cookie
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:22:55 HttpProcessor[8081][4] Header authorization = Basic
cm9vdDpyb290
2001-08-13 20:22:55 StandardEngine[WebDAV]: Mapping server name 'localhost'
2001-08-13 20:22:55 StandardEngine[WebDAV]: Trying a direct match
2001-08-13 20:22:55 HttpProcessor[8081][4] parseConnection:
address=127.0.0.1/127.0.0.1, port=8081
Works /\
Works \/
2001-08-13 20:23:13 HttpProcessor[8081][4] Request is 'PROPFIND' for
'/courses/Intro%20To%20Javascript' with protocol 'HTTP/1.1'
2001-08-13 20:23:13 HttpProcessor[8081][4] Header accept-language = en-us
2001-08-13 20:23:13 HttpProcessor[8081][4] Adding locale 'en_US'
2001-08-13 20:23:13 HttpProcessor[8081][4] Header content-type = text/xml
2001-08-13 20:23:13 HttpProcessor[8081][4] Header translate = f
2001-08-13 20:23:13 HttpProcessor[8081][4] Header content-length = 380
2001-08-13 20:23:13 HttpProcessor[8081][4] Header depth = 1
2001-08-13 20:23:13 HttpProcessor[8081][4] Header user-agent = Microsoft
Data Access Internet Publishing Provider DAV 1.1
2001-08-13 20:23:13 HttpProcessor[8081][4] Header host = localhost:8081
2001-08-13 20:23:13 HttpProcessor[8081][4] Header connection = Keep-Alive
2001-08-13 20:23:13 HttpProcessor[8081][4] Header cookie =
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:23:13 HttpProcessor[8081][4] Requested cookie session id is
F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:23:13 HttpProcessor[8081][4] Adding cookie
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:23:13 HttpProcessor[8081][4] Header authorization = Basic
cm9vdDpyb290
2001-08-13 20:23:13 StandardEngine[WebDAV]: Mapping server name 'localhost'
2001-08-13 20:23:13 StandardEngine[WebDAV]: Trying a direct match
2001-08-13 20:23:13 HttpProcessor[8081][4] parseConnection:
address=127.0.0.1/127.0.0.1, port=8081
Works /\
Fails \/
2001-08-13 20:23:29 HttpProcessor[8081][4] Request is 'PROPFIND' for
'/courses' with protocol 'HTTP/1.1'
2001-08-13 20:23:29 HttpProcessor[8081][4] Header accept-language = en-us
2001-08-13 20:23:29 HttpProcessor[8081][4] Adding locale 'en_US'
2001-08-13 20:23:29 HttpProcessor[8081][4] Header content-type = text/xml
2001-08-13 20:23:29 HttpProcessor[8081][4] Header translate = f
2001-08-13 20:23:29 HttpProcessor[8081][4] Header content-length = 380
2001-08-13 20:23:29 HttpProcessor[8081][4] Header depth = 1
2001-08-13 20:23:29 HttpProcessor[8081][4] Header user-agent = Microsoft
Data Access Internet Publishing Provider DAV 1.1
2001-08-13 20:23:29 HttpProcessor[8081][4] Header host = localhost:8081
2001-08-13 20:23:29 HttpProcessor[8081][4] Header connection = Keep-Alive
2001-08-13 20:23:29 HttpProcessor[8081][4] Header cookie =
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:23:29 HttpProcessor[8081][4] Requested cookie session id is
F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:23:29 HttpProcessor[8081][4] Adding cookie
JSESSIONID=F533A9B3F4F5D43649A095A7403813B8
2001-08-13 20:23:29 HttpProcessor[8081][4] Header authorization = Basic
cm9vdDpyb290
2001-08-13 20:23:29 StandardEngine[WebDAV]: Mapping server name 'localhost'
2001-08-13 20:23:29 StandardEngine[WebDAV]: Trying a direct match
2001-08-13 20:23:29 HttpProcessor[8081][4] parseConnection:
address=127.0.0.1/127.0.0.1, port=8081
Fails /\