Ah, you need Commons HttpClient 2.0.2. HttpClient 3.0 is incompatible
with our repository.

Jasha Joachimsthal 

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Niek Wesseling
> Sent: dinsdag 15 juli 2008 10:11
> To: Hippo CMS development public mailinglist
> Subject: RE: [HippoCMS-dev] Webdav error 400 response with 
> JSF-toolkit-site
> 
> With Tcpmon I get the following:
> 
> Application/Client Request:
> PROPFIND /default/files/default.preview/content/faq/faq1.xml HTTP/1.1
> Authorization: Basic cm9vdDpwYXNzd29yZA==
> Content-Type: text/xml; charset=utf-8
> User-Agent: Jakarta Commons-HttpClient/3.0.1
> Host: localhost:50000
> Depth: 0
> 
> Repository/Server response:
> HTTP/1.1 400 Bad+Request%3A+Request+content+missing
> Date: Tue, 15 Jul 2008 08:03:29 GMT
> Server: Jetty/5.1.12 (Windows XP/5.1 x86 java/1.5.0_15
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Set-Cookie: JSESSIONID=wmr3jpc114j0;Path=/default
> Content-Type: text/html
> Content-Length: 1317
> 
> BTW I also added the web.xml and preview.properties I am 
> using. Would it be usefull to know which jars are used? For 
> further information we also use Jboss Seam here which runs in JBOSS.
> 
> -----Oorspronkelijk bericht-----
> Van:  Ard Schrijvers [mailto:[EMAIL PROTECTED]
> Verzonden:    ma 14-7-2008 17:19
> Aan:  Hippo CMS development public mailinglist
> CC:   
> Onderwerp:    RE: [HippoCMS-dev] Webdav error 400 response 
> with JSF-toolkit-site
> 
> Are you familiar with tcpmon [1] or charles [2]? Then we 
> could take a look at the request that is going to the repository.
> 
> 
> [1] http://www.hippocms.org/display/CMS/Tcpmon
> [2] http://www.hippocms.org/display/CMS/Charles
> 
> > Yes i can see the file with my browser in that path and the 
> name is in 
> > the correct case.
> > 
> > 
> > -----Oorspronkelijk bericht-----
> > Van:        Ard Schrijvers [mailto:[EMAIL PROTECTED]
> > Verzonden:  ma 14-7-2008 17:05
> > Aan:        Hippo CMS development public mailinglist
> > CC: 
> > Onderwerp:  RE: [HippoCMS-dev] Webdav error 400 response 
> > with JSF-toolkit-site
> > 
> > If you browse the repository via a browser, can you confirm 
> that you 
> > see the file :
> > 
> > /default/files/default.preview/FAQ.xml
> > 
> > Note that it is case sensitive. 
> > 
> > -Ard
> > 
> > > 
> > > Hi all,
> > > 
> > > Currently I am trying to access content from the 
> repository in JSF 
> > > pages of our application. For this I try to use the 
> > > hippo-site-toolkit. The example of that toolkit has worked
> > fine with
> > > our content. However when trying to fetch content from the
> > application
> > > through the toolkit the repository gives the following response:
> > > 
> > > ERROR [webdav] Server response is not valid, HTTP response
> > code is 400
> > > (PROPFIND: /default/files/default.preview/FAQ.xml)
> > > 
> > > The file FAQ.xml does exist and to access the repository the same 
> > > configuration, login data is used as used in the example.
> > > Unfortunately the logs of the repository don't provide more 
> > > information regarding the reason of this.
> > > Apparently this response code means that the request was
> > semantically
> > > incorrect, but that does not make much sense since the same
> > jars are
> > > used as those from the example.
> > > 
> > > So it is not much to go on, but if anyone has some
> > clue/hint or tip on
> > > how to go about to tackle this problem it would be greatly 
> > > appreciated. Also information regarding how to get more 
> data out of 
> > > the repository of why I get this reponse of WebDAV would also be 
> > > usefull. I already tried to set the webdav log level in
> > logkit.xconf
> > > to DEBUG.
> > > ********************************************
> > > Hippocms-dev: Hippo CMS development public mailinglist
> > > 
> > > Searchable archives can be found at:
> > > MarkMail: http://hippocms-dev.markmail.org
> > > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> > > 
> > > 
> > ********************************************
> > Hippocms-dev: Hippo CMS development public mailinglist
> > 
> > Searchable archives can be found at:
> > MarkMail: http://hippocms-dev.markmail.org
> > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> > 
> > 
> > 
> > 
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
> 
> Searchable archives can be found at:
> MarkMail: http://hippocms-dev.markmail.org
> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
> 
> 
> 
> 
> 
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to