abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Illsley" <davidills...@gmail.com>
Subject Problem with sample in 0.3.0 RC
Date Wed, 03 Oct 2007 18:14:55 GMT
Hi all,
I noticed the RC VOTE on general@ and when I thought I'd try out
abdera yesterday decided to grab the RC artifacts. However, the
appclient and appserver examples don't seem to work together. I get
the following error in the client:

Exception in thread "main" java.lang.ClassCastException:

Which, when I examine the flows using tcpmon seems to be because of a
404 when the client attempts to GET the edit uri...
GET /notification/atom/feed/feed/urn:uuid:ED787E717571E406911191434087378
based on the response to the POST:

HTTP/1.1 201 Created
Content-Type: application/atom+xml; type=entry; charset=UTF-8
ETag: "83b7b4312751b7995fc3e87b00c33477"
Location: http://localhost:8081/notification/atom/feed/urn:uuid:ED787E717571E406911191434087378
Transfer-Encoding: chunked
Server: Jetty(6.1H.5-beta)

<entry xmlns="http://www.w3.org/2005/Atom"><id>urn:uuid:ED787E717571E406911191434087378</id><title
type="text">This is the
type="text">This is the content</content><link
href="feed/urn:uuid:ED787E717571E406911191434087378" rel="edit"

The 404'd address does look like the address I'd calculate based on
that response entry, but then I'm VERY new to Atom.

Have I done something wrong in configuring the set-up (in that case,
my apologies for butting in), or is there a problem with the sample?

View raw message