Jackson is by default configured to close streams, causing sometimes exceptions when using HTTP with Jackson codec. This can be fixed with objectMapper.configure(JsonGenerator.Feature.AUTO_CLOSE_TARGET, false). Do this by default.
Also go through the other configuration flags and adapt their defaults.
Jackson is by default configured to close streams, causing sometimes exceptions when using HTTP with Jackson codec. This can be fixed with
objectMapper.configure(JsonGenerator.Feature.AUTO_CLOSE_TARGET, false)
. Do this by default.Also go through the other configuration flags and adapt their defaults.