score:1

Accepted answer

adding async-supported in web.xml does the trick for me. i no longer see the exception after that.

although i am still having issue on my client side where it is not receiving chunked output each time when a write occur. instead it is receiving all chunked output all at once at the end.

  <servlet>
    <servlet-name>jersey rest service</servlet-name>
    <servlet-class>org.glassfish.jersey.servlet.servletcontainer</servlet-class>
    <init-param>
      <param-name>jersey.config.server.provider.packages</param-name>
      <param-value>jaxrs.prototype;org.codehaus.jackson.jaxrs</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    <async-supported>true</async-supported>
  </servlet>

Related Query

More Query from same tag