Mantis - Resin
Viewing Issue Advanced Details
4858 minor always 11-15-11 09:56 06-11-12 14:28
alex  
ferg  
normal  
closed 4.0.23  
fixed  
none    
none 4.0.28  
0004858: Check Resin versions: java.lang.UnsupportedOperationException: Expected binary at: 5
Chain[http://10.68.4.104:7141, [^] next=ProxyCacheFilterChain[/user/loginInterstitial.jsp?null, next=ServletFilterChain[dispatcher]]]]
[11-11-15 08:19:20.613] {server://10.68.4.104:7140-56} [^] TcpSocketLink[id=server://10.68.4.104:7140-56,server://10.68.4.104:7140,IDLE] [^] start thread server://10.68.4.104:7140-56 [^] (count=101, idle=15)
[11-11-15 08:19:20.614] {server://10.68.4.104:7140-172} [^] SessionImpl[aaapJUNZYin0W95E4aOot,] session remove
--
[11-11-15 08:19:30.273] {server://10.68.4.104:7140-111} [^] TcpSocketLink[id=111,tc-sp-maa] java.lang.UnsupportedOperationException: Expected binary at: 5
                                                        java.lang.UnsupportedOperationException: Expected binary at: 5
                                                            at com.caucho.remote.websocket.WebSocketInputStream.startBinaryMessage(WebSocketInputStream.java:78)
                                                            at com.caucho.hmtp.HmtpWebSocketReader.readPacket(HmtpWebSocketReader.java:66)
                                                            at com.caucho.cloud.hmtp.HmtpRequest.dispatchHmtp(HmtpRequest.java:201)
                                                            at com.caucho.cloud.hmtp.HmtpRequest.handleInitialRequest(HmtpRequest.java:190)
                                                            at com.caucho.cloud.hmtp.HmtpRequest.handleRequest(HmtpRequest.java:117)
                                                            at com.caucho.server.hmux.HmuxRequest.scanHeaders(HmuxRequest.java:887)
                                                            at com.caucho.server.hmux.HmuxRequest.handleInvocation(HmuxRequest.java:412)
                                                            at com.caucho.server.hmux.HmuxRequest.handleRequestImpl(HmuxRequest.java:371)
                                                            at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:337)
                                                            at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1215)
                                                            at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1171)
                                                            at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1155)
                                                            at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1078)
                                                            at com.caucho.network.listen.TcpSocketLink.handleAcceptTask(TcpSocketLink.java:907)
                                                            at com.caucho.network.listen.AcceptTask.doTask(AcceptTask.java:74)
                                                            at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:97)
                                                            at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:80)
                                                            at com.caucho.network.listen.AcceptTask.run(AcceptTask.java:59)
                                                            at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
                                                            at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)
[11-11-15 08:19:30.273] {server://10.68.4.104:7140-111} [^] TcpSocketLink[id=111,tc-sp-maa] closing connection TcpSocketLink[id=server://10.68.4.104:7140-111,server://10.68.4.104:7140,CLOSED], [^] total=144

Notes
(0005621)
ferg   
11-22-11 13:22   
Probable Resin version incompatibility issue (specifically when the websocket draft changed.)

Change the bug report as a request to add version checking to improve the logging.
(0005817)
ferg   
06-11-12 14:28   
For future bug reports like this, the level="finest" logging level will show the Hessian serialization, which will help track these down.