dev@glassfish.java.net

rest call failing

From: JJ Snyder <j.j.snyder_at_oracle.com>
Date: Fri, 07 Dec 2012 15:59:43 -0500

I am running a client app which is making rest calls to a running
glassfish server. The 2 calls are:

GET http://localhost:4848/management/domain/servers/server
GET http://localhost:4848/management/domain/servers/server/server

In GlassFish 3.x this works fine.

In GlassFish trunk the first request works but the second is failing with:

HttpResponsePacket (
status=500
reason=MessageBodyWriter not found for media type=application/xml,
type=class java.util.TreeMap, genericType=class java.lang.Object.
protocol=HTTP/1.1
content-length=0
committed=true
headers=[
Date=Fri, 07 Dec 2012 20:43:16 GMT
Connection=close
Content-Length=0]
)


Where are these resources defined so I can see where the accept types
are set...I've been looking in the admin module but can't seem to find them.

Any pointers would be greatly appreciated!

JJ