I am using Metro 2.3.1-b104 with Tomcat 7.0.28 and all works without an issue. However, when switching to Tomcat 8.0.3 I get the following warning on every web service call. Any thoughts on:
(a) is if Tomcat or Metro ?
(b) How to fix ?
The warning I am seeing is:
Mar 02, 2014 8:09:33 PM org.apache.catalina.core.AsyncContextImpl fireOnComplete
WARNING: onComplete() failed for listener of type [org.apache.catalina.core.AsyncListenerWrapper]
java.lang.IllegalStateException: It is illegal to call getRequest() after complete() or any of the dispatch() methods has been called
at org.apache.catalina.core.AsyncContextImpl.getRequest(AsyncContextImpl.java:213)
at com.sun.xml.ws.transport.http.servlet.WSAsyncListener$1.onComplete(WSAsyncListener.java:69)