|
From: Ron S. <rs...@re...> - 2015-09-17 17:10:49
|
Hi Stephen, I don't know about a repository, but if the missing MessageBodyWriter is in Jersey, can't you get the code, compile it, and register it with Resteasy? -Ron On 07/25/2015 08:17 AM, Stephen More wrote: > I am trying to utilize https://github.com/docker-java/docker-java > within wildfly. The developer of docker-java has stated "docker-java > depends on and is tested with Jersey runtime". My first option was to > try and utilize a different JAX-RS in wildfly, but I found this: > https://java.net/jira/browse/JAX_RS_SPEC-488 so now I guess it is back > to a code fix. Here is the stack trace I am getting from wildfly: > javax.ws.rs.ProcessingException: Unable to find a MessageBodyReader of > content-type application/vnd.docker.raw-stream and type class > java.io.InputStream > at > org.jboss.resteasy.core.interception.ClientReaderInterceptorContext.throwReaderNotFound(ClientReaderInterceptorContext.java:39) > at > org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.getReader(AbstractReaderInterceptorContext.java:73) > at > org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:50) > at > org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readFrom(ClientResponse.java:248) > at > org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readEntity(ClientResponse.java:181) > at > org.jboss.resteasy.specimpl.BuiltResponse.readEntity(BuiltResponse.java:217) > at > com.github.dockerjava.jaxrs.util.WrappedResponseInputStream.<init>(WrappedResponseInputStream.java:25) > at > com.github.dockerjava.jaxrs.ExecStartCmdExec.execute(ExecStartCmdExec.java:34) > at > com.github.dockerjava.jaxrs.ExecStartCmdExec.execute(ExecStartCmdExec.java:17) > at > com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:24) > at > com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) > at > com.github.dockerjava.core.command.ExecStartCmdImpl.exec(ExecStartCmdImpl.java:71) > > I did see > https://docs.jboss.org/resteasy/docs/1.0.0.GA/userguide/html/Content_Marshalling_Providers.html#Content_Marshalling_with__Provider_classes > > Is there a repository of JAX-RS plugins ? Is it possible someone has > already written this plugin ? Is there a working example/testcase I > can look at to help me write this plugin ? > > > -Thanks > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |