clarin-eric / component-registry-rest

Component Registry back end
GNU General Public License v3.0
2 stars 1 forks source link

Regular WebApplicationException errors "the response is already committed" #32

Open twagoo opened 7 years ago

twagoo commented 7 years ago

The application log shows frequent occurrences of the following error:

2017-03-02 13:34:58,068 ERROR [com.sun.jersey.server.impl.application.WebApplicationImpl#_handleRequest:1483] - The response of the WebApplicationException cannot be utilized as the response is already committed. Re-throwing to the HTTP container javax.ws.rs.WebApplicationException at clarin.cmdi.componentregistry.rest.ComponentRegistryRestService$RegistryService$3.write(ComponentRegistryRestService.java:1299) at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71) at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)

Investigate the cause and resolve or suppress as required.