Jetspeed Developers,
Have you checked which version of httpclient jar is
getting picked up by TestSearch?
I am still using Jetspeed 1.4, and TestSearch passes
for me if I do the following:
1) Replace /build/lib/httpclient.jar with
commmons-httpclient-2.0.jar
2) In
org/apache/jetspeed/services/search/handlers/URLToDocHandler.java,
replace getDataAsString() by getResponseBodyAsString()
and change the following catch (IOException ioe) to
catch (Exception ioe).
getDataAsString() is no longer supported in
commons-httpclient-2.0.jar.
Shao
**********
* From: David Sean Taylor
* Subject: Re: [jira] Resolved: (JS1-469) [FIX]
TestSearch hangs during build
* Date: Mon, 17 May 2004 11:31:13 -0700
On May 17, 2004, at 4:58 AM, Raphael Luta wrote:
Jeremy Ford wrote:
I'm not sure about the LDAP issue myself (I
don't have an LDAP system
handy). It will depend upon user feedback. I
know that David committed
some updates, but there hasn't been anything
on the list in regards to the
changes.
I'm not sure why your TestSearch is failing.
Just reran it and it worked
fine for me. Try deleting the files under the
SearchIndex directory. I'll
assume it's failing because there are 0 hits
on the search for the word
google.
I've cleaned test/SearchIndex and reran the tests.
It still fails on Google with 0 hits
Am I the only one ?
I just ran it as test:single, and it seems to hang for
a long time....
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]