https://issues.apache.org/bugzilla/show_bug.cgi?id=55143
Niki Dokovski <nick...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #3 from Niki Dokovski <nick...@gmail.com> --- Please close it again if you find it as inpropriate. I'd like to continue the discussion on this topic (just to keep everything on same place): Here I attach a sample war file (decoder.war) that when deployed on WebSocket RI (glassfish4) handles endpoint just fine: Output Glassfish4 system: connection established, ws://localhost:8181/decoder/pep command: /binary test sent: <4B of binary data> 74 65 73 74 |test | received: <4B of binary data> 74 65 73 74 |test | On Tomcat 8 sample example produces SEVERE: Error reading request, ignored java.lang.IllegalArgumentException: Unable to add the message handler [pd.mh.AppMessageHandler@2cb5e028] as it was for the unrecognised type [class pd.bean.StringBean] at org.apache.tomcat.websocket.WsSession.addMessageHandler(WsSession.java:182) The RI is normative and if the spec text is unclear then the implementation should be correct. If that is not the case here then RI and the spec should be changed IMHO, otherwise we should implement the same behaviour in Tomcat 8. Opinions ? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org