Sorry about that. While OpenBD-GAE does not use the commons http Client to actually send an http request. It does use some of the commons http API to assemble the payload of a request. That payload is then handed to the URL Fetch Service to be sent. So that is why you needed to add the commons-http-client jar file, and why it will also need to be added to the OpenBD-GAE distribution.
Regarding the cfhttp.filecontent issue: What is the value of cfhttp.mimetype when this problem occurs? OpenBD gets that value from the URL Fetch Service and then uses it to decide whether to represent the response body (cfhttp.filecontent) as either a String, an Object, or binary data). It's possible that the URL Fetch Service is giving a value for mimetype that is somehow tripping up OpenBD. I'm aware of problems with xmlsearch() on GAE but have not had the opportunity to address them. I can't say much about the cookie issue without further details. :-) Matt McGinty Software Engineer NAC On Fri, Aug 28, 2009 at 2:04 PM, atomi <[email protected]> wrote: > > Well yeah, > Stack Trace > java.lang.NoClassDefFoundError: > org/apache/commons/httpclient/methods/EntityEnclosingMethod > > **If I add the commons httpclient 3.1 legacy jar file cfhttp works**. > > Another thing I noticed is that sometimes the cfhttp.filecontent > returned is a class instead of a string and I have to call > cfhttp.filecontent.toString() > > What Ii'm trying to do is get openid login working. The cfkit openid > works but is only for openid 1.1. I'm testing this one here > http://www.yakhnov.info/go/projects/openid/ but there are problems > with xmlsearch() which i'm troubleshooting and also it seems there is > a strange fatal issue regarding the servlet and the openid cookie > which I probably wont get to till Monday. > > > > On Fri, Aug 28, 2009 at 6:59 AM, Vince Bonfanti<[email protected]> > wrote: > > > > CFHTTP on OpenBD-GAE is implemented using the GAE URLFetch service, > > and does not use commons httpclient: > > > > http://code.google.com/appengine/docs/java/urlfetch/overview.html > > > > Are you having problems with CFHTTP? > > > > Vince > > > > On Thu, Aug 27, 2009 at 10:43 PM, atomi<[email protected]> wrote: > >> > >> I was testing cfhttp on gae earlier today. > >> Just so you know the current distribution is missing commons > >> httpclient. > >> I didn't check the source so I don't know if this is intended or not. > >> > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
