You are requesting json replies. Try with text /xml. Otherwise, got the
class somewhere to check out?
On Oct 29, 2011 1:48 AM, "Brendan cheng" <ccp...@hotmail.com> wrote:

>
> Hi,
> I found log the file and the error message is:
> Oct 29, 2011 4:22:03 PM com.sun.jersey.spi.container.ContainerResponse
> writeSEVERE: A message body writer for Java class
> hk.itags.server.unmanaged.Todo, and Java type class
> hk.itags.server.unmanaged.Todo, and MIME media type application/json was
> not foundOct 29, 2011 4:22:03 PM
> com.sun.jersey.spi.container.ContainerResponse writeSEVERE: The registered
> message body writers compatible with the MIME media type are:*/* ->
> com.sun.jersey.core.impl.provider.entity.FormProvider
> com.sun.jersey.core.impl.provider.entity.StringProvider
> com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
> com.sun.jersey.core.impl.provider.entity.FileProvider
> com.sun.jersey.core.impl.provider.entity.InputStreamProvider
> com.sun.jersey.core.impl.provider.entity.DataSourceProvider
> com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
> com.sun.jersey.core.impl.provider.entity.ReaderProvider
> com.sun.jersey.core.impl.provider.entity.DocumentProvider
> com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider
> com.sun.jersey.core.impl.provider.entity.SourceProvider$SourceWriter
> com.sun.jersey.server.impl.template.ViewableMessageBodyWriter
> com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
> com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General
> Oct 29, 2011 4:22:03 PM com.sun.jersey.spi.container.ContainerResponse
> traceExceptionSEVERE: Mapped exception to response: 500 (Internal Server
> Error)javax.ws.rs.WebApplicationException       at
> com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:273)
>     at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1140)
>       at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1053)
>        at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1043)
>        at
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:406)
>     at
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:477)
>     at
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:662)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>   at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
>   at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>   at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>   at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>       at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>   at org.mortbay.jetty.Server.handle(Server.java:326)     at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>  at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
>      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)  at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)     at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)     at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>       at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> ----------------------------------------
> > From: ccp...@hotmail.com
> > To: user@lists.neo4j.org
> > Date: Sat, 29 Oct 2011 06:49:51 +0000
> > Subject: [Neo4j] Server log file for HA
> >
> >
> > Hi,
> > I could not find any log message for unmanaged extension when a 500
> error respond generated in HA configuration.Does neo4j rest server generate
> any message for unmanaged extension?
> > I was trying to use JAXB for JSON respond of an object but get the 500
> error respond. But I can successfully get a XML respond.Any idea?
> > Regards,
> > Brendan
> > _______________________________________________
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
>
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to