Hi Bart and Wander, I'll try to capture the HTTP trafic hopefully tomorrow or otherwise on thursday. What I remember is the following:
2.0.2: request: OPTION ... response: not autheticated resquest OPTION with authentication response: list with available methods (including SEARCH) request: SEARCH ... response: list of documents 3.0.1: resuest: SEARCH, without any authentication response: 500 Do you like me to reconfigure the repository or client logging so it spits out more details? If so just tell me what and where. Regards Nico On Tue, Jun 17, 2008 at 2:37 PM, Bart van der Schans <[EMAIL PROTECTED]> wrote: > Wander Grevink wrote: > >> This is not an adapter issue, this would need to be fixed in the >> repository. >> > In that case, can somebody describe what goes wrong? Maybe with a trace of > the http calls? We use many different clients with the repository and I > personally have never encountered this. But I'll be happy to take a look if > it is a bug in the repository. > > Regards, > Bart > > > > >> Wander >> >> Bart van der Schans wrote: >> > Hi Nico, >> > >> > We are not against (also) supporting httpclient 3.0, but we've never >> had >> > the need to upgrade. If you can find a way to make the adapter work >> with >> > 3.0 I'm happy to take a look at your patch and see if we can >> incorporate >> > it. Although we have to keep in mind that may people are using 2.0.2 >> and >> > cannot (easily) upgrade. >> > >> > Regards, >> > Bart >> > >> > >> > >> > Nico Tromp wrote: >> >> Hi Bart, >> >> >> >> thanks for the quick response. >> >> >> >> I've relayed your answer to our architects. It is up to them to decide >> >> what >> >> to do. At this moment hippo-repository-webdav-client-2.09.00.jar is >> not >> >> compatible with our framework stack, which includes Hippo CMS. Since >> our >> >> framework stack includes commons-httpclient-3.0.1.jar there is some >> >> urgence >> >> in 3.0.1 compatible version. >> >> >> >> Cheers >> >> >> >> Nico >> >> >> >> On Tue, Jun 17, 2008 at 1:18 PM, Bart van der Schans >> >> <[EMAIL PROTECTED]> >> >> wrote: >> >> >> >> > Hi Nico, >> >> > >> >> > Currently the Hippo Repository Java Adapter only works with >> httpclient >> >> > 2.0.2. We've no immediate plans to upgrade to httpclient 3 or 4 >> since >> >> > 2.0.2 is working fine. >> >> > >> >> > Regards, >> >> > Bart >> >> > >> >> > >> >> > Nico Tromp wrote: >> >> > >> >> >> Hello, >> >> >> >> >> >> While investigation the DASL query functionlaity of the Hippo >> >> Reository >> >> >> Java >> >> >> adapter WebdavService.fetchCollection(DocumentPath, String) my >> local >> >> Hippo >> >> >> Repository reported NullPointerExceptions. These NPE's were >> reported >> >> back >> >> >> to >> >> >> me as HTTP 500 responses. The NPE's where gone when I replaced >> >> >> commond-httpclient-3.0.1.jar with commons-httpclient-2.0.2.jar. Is >> >> the >> >> >> hippo-respository-webdav-client compatible with >> >> >> commons-httpclient-3.0.1.jar? If so could you give me some >> >> directions for >> >> >> getting things work. If not when will it be? >> >> >> >> >> >> >> >> >> I used the code that I got after a checkout from "* >> >> >> >> >> >> >> >> >> >> https://svn.hippocms.org/repos/hippo/hippo-samples/jsf-repository-browser/tags/Release_JSF_BROWSER_1.07.00 >> >> >> >> >> < >> >> >> >> >> >> >> https://svn.hippocms.org/repos/hippo/hippo-samples/jsf-repository-browser/tags/Release_JSF_BROWSER_1.07.00%27 >> >> >> >> >> > >> >> >> *". I imported the sources files into an Eclipse Dynamic Web >> >> project and >> >> >> added the following jar's to the WEB-INF\lib directory. >> >> >> >> >> >> commons-beanutils-1.7.0.jar >> >> >> commons-codec-1.3.jar >> >> >> commons-digester-1.8.jar >> >> >> commons-fileupload-1.1.1.jar >> >> >> commons-httpclient-2.0.2.jar >> >> >> commons-lang-2.3.jar >> >> >> hippo-repository-adapter-api-2.09.00.jar >> >> >> hippo-repository-webdav-client-2.09.00.jar >> >> >> jibx-run-1.1.jar >> >> >> log4j-1.2.14.jar >> >> >> myfaces-api-1.1.4.jar >> >> >> myfaces-impl-1.1.4.jar >> >> >> slf4j-api-1.5.2.jar >> >> >> slf4j-simple-1.5.2.jar >> >> >> slide-webdavlib-2.1.jar >> >> >> tomahawk-1.1.6.jar >> >> >> tomahawk-facelets-1.1.3.jar >> >> >> xpp3-1.1.3.3.jar >> >> >> >> >> >> The application works fine when running it under Tomcat 5.0.0.28 >> >> >> ******************************************** >> >> >> Hippocms-dev: Hippo CMS development public mailinglist >> >> >> >> >> >> >> >> > >> >> > -- >> >> > Hippo B.V. - Amsterdam >> >> > Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466 >> >> > >> >> > Hippo USA Inc. - San Francisco >> >> > 101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646 >> >> > ----------------------------------------------------------------- >> >> > http://www.onehippo.com - [EMAIL PROTECTED] >> >> > ----------------------------------------------------------------- >> >> > ******************************************** >> >> > Hippocms-dev: Hippo CMS development public mailinglist >> >> > >> >> ******************************************** >> >> Hippocms-dev: Hippo CMS development public mailinglist >> >> >> > >> > >> ******************************************** >> Hippocms-dev: Hippo CMS development public mailinglist >> >> > > -- > Hippo B.V. - Amsterdam > Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466 > > Hippo USA Inc. - San Francisco > 101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646 > ----------------------------------------------------------------- > http://www.onehippo.com - [EMAIL PROTECTED] > ----------------------------------------------------------------- > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
