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 Christian Bacher <sp...@lycos.com> on 2002/09/11 18:38:41 UTC
Problems with multible namspaces
hello,
i'm testing slide with more than one namespace.
The IE Webfolder works fine. I have 2 Webfolders with
different stores.
Here an example log for the namespace "cb":
192.168.0.2 - root [11/Sep/2002:23:35:43 00] "PROPFIND /cb HTTP/1.1" 207
2305
192.168.0.2 - root [11/Sep/2002:23:35:43 00] "PROPFIND /cb HTTP/1.1" 207
2563
192.168.0.2 - - [11/Sep/2002:23:37:08 00] "PROPFIND /cb HTTP/1.1" 401 618
192.168.0.2 - root [11/Sep/2002:23:37:13 00] "PROPFIND /cb HTTP/1.1" 207
2305
192.168.0.2 - - [11/Sep/2002:23:37:16 00] "PROPFIND /cb/files HTTP/1.1" 401
618
192.168.0.2 - root [11/Sep/2002:23:37:20 00] "PROPFIND /cb/files HTTP/1.1"
207 2413
192.168.0.2 - root [11/Sep/2002:23:37:20 00] "PROPFIND /cb/files HTTP/1.1"
207 2006
192.168.0.2 - root [11/Sep/2002:23:37:21 00] "PROPFIND /cb/files/AssetStore
HTTP/1.1" 207 2543
192.168.0.2 - root [11/Sep/2002:23:37:21 00] "PROPFIND /cb/files/AssetStore
HTTP/1.1" 207 1381
192.168.0.2 - root [11/Sep/2002:23:37:23 00] "PROPFIND
/cb/files/AssetStore/test HTTP/1.1" 207 2540
192.168.0.2 - root [11/Sep/2002:23:37:23 00] "PROPFIND
/cb/files/AssetStore/test HTTP/1.1" 207 1427
192.168.0.2 - root [11/Sep/2002:23:37:28 00] "HEAD
/cb/files/AssetStore/test/Steinpilz.jpg HTTP/1.1" 200 -
192.168.0.2 - root [11/Sep/2002:23:37:29 00] "PUT
/cb/files/AssetStore/test/Steinpilz.jpg HTTP/1.1" 204 -
192.168.0.11 - - [11/Sep/2002:23:37:35 00] "GET
/cb/files/AssetStore/test/Steinpilz.jpg HTTP/1.1" 401 618
192.168.0.11 - root [11/Sep/2002:23:37:35 00] "GET
/cb/files/AssetStore/test/Steinpilz.jpg HTTP/1.1" 200 36612
If i use the WebDavClient API to upload a file, the file is uploaded to
slide.
Here is the code example:
// BaseURL + Namespace
HttpURL httpURL = new HttpURL(stringUrl + "/" + namespace);
httpURL.setUserInfo(stringUser,stringPwd);
WebdavResource wr = new WebdavResource(httpURL);
File f = new File(src);
System.out.println("put: " + src + " to " + stringUrl + "/" + namespace +
path);
wr.putMethod(path,f);
the output from code is:
put: LAYOUT_1024x768.jpg to
http://192.168.0.11:8081/cb/files/DerivedAssetStore/0/0/0/1/8/LAYOUT_1024x76
8.jpg
but in the slide logfile:
192.168.0.11 - root [11/Sep/2002:23:37:47 00] "PUT
/files/DerivedAssetStore/0/0/0/1/8/LAYOUT_1024x768.jpg HTTP/1.1" 204
and the file is uploaded to the slide namespace.
Whats wrong here?
best regards and thanx in advance,
christian
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>