Aug 23, 2016 11:38:37 AM org.apache.tomcat.websocket.pojo.PojoEndpointBase onClose SEVERE: Failed to call onClose method of POJO end point for POJO of type [com.ssg.cm.websocket.DemoServer] java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tomcat.websocket.pojo.PojoEndpointBase.onClose(PojoEndpointBase.java:107) at org.apache.tomcat.websocket.WsSession.fireEndpointOnClose(WsSession.java:512) at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:466) at org.apache.tomcat.websocket.WsSession.close(WsSession.java:432) at org.apache.tomcat.websocket.WsSession.close(WsSession.java:426) at org.apache.tomcat.websocket.pojo.PojoEndpointBase.handleOnOpenError(PojoEndpointBase.java:96) at org.apache.tomcat.websocket.pojo.PojoEndpointBase.doOnOpen(PojoEndpointBase.java:79) at org.apache.tomcat.websocket.pojo.PojoEndpointServer.onOpen(PojoEndpointServer.java:70) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:138) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:651) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.IllegalStateException: The WebSocket session [96] has been closed and no method (apart from close()) may be called on a closed session at org.apache.tomcat.websocket.WsSession.checkState(WsSession.java:741) at org.apache.tomcat.websocket.WsSession.getBasicRemote(WsSession.java:419) at com.ssg.cm.websocket.DemoServer.broadcastUsersList(DemoServer.java:313) at com.ssg.cm.websocket.DemoServer.onClose(DemoServer.java:144) ... 19 more
Aucun commentaire:
Enregistrer un commentaire