Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E906105D9 for ; Fri, 16 Aug 2013 19:23:32 +0000 (UTC) Received: (qmail 95951 invoked by uid 500); 16 Aug 2013 19:23:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 95904 invoked by uid 500); 16 Aug 2013 19:23:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 95894 invoked by uid 99); 16 Aug 2013 19:23:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 19:23:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bob.deremer@thingworx.com designates 207.46.163.151 as permitted sender) Received: from [207.46.163.151] (HELO na01-bn1-obe.outbound.protection.outlook.com) (207.46.163.151) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 19:23:20 +0000 Received: from CO1PR06MB206.namprd06.prod.outlook.com (10.242.166.155) by CO1PR06MB208.namprd06.prod.outlook.com (10.242.166.145) with Microsoft SMTP Server (TLS) id 15.0.731.16; Fri, 16 Aug 2013 19:22:56 +0000 Received: from CO1PR06MB206.namprd06.prod.outlook.com ([169.254.4.4]) by CO1PR06MB206.namprd06.prod.outlook.com ([169.254.4.4]) with mapi id 15.00.0731.000; Fri, 16 Aug 2013 19:22:56 +0000 From: Bob DeRemer To: Tomcat Users List Subject: RE: Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames Thread-Topic: Tomcat 7.0.42 closing websocket without any error receiving WebSocket ContinuationFrames Thread-Index: Ac6aoseuMe2aaZBJTdyODCZS+y/PAQABOPyAAALMa1AAAKDRAAAAJ2zg Date: Fri, 16 Aug 2013 19:22:56 +0000 Message-ID: <61ee055a594b4b97961446b18fac1d03@CO1PR06MB206.namprd06.prod.outlook.com> References: <520E6401.7060205@apache.org> <520E7B00.5060301@apache.org> In-Reply-To: <520E7B00.5060301@apache.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [98.237.127.73] x-forefront-prvs: 0940A19703 x-forefront-antispam-report: SFV:NSPM;SFS:(24454002)(51704005)(479174003)(199002)(5423002)(13464003)(252514010)(189002)(377454003)(50986001)(47736001)(81542001)(65816001)(47446002)(79102001)(49866001)(31966008)(80022001)(66066001)(81342001)(80976001)(54316002)(77982001)(47976001)(81816001)(74316001)(53806001)(81686001)(33646001)(56776001)(74662001)(59766001)(74502001)(76482001)(19580405001)(4396001)(19580395003)(83072001)(69226001)(83322001)(74876001)(51856001)(56816003)(76576001)(76796001)(63696002)(77096001)(74366001)(74706001)(46102001)(76786001)(54356001)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:CO1PR06MB208;H:CO1PR06MB206.namprd06.prod.outlook.com;CLIP:98.237.127.73;RD:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: thingworx.com X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Mark Thomas [mailto:markt@apache.org] > Sent: Friday, August 16, 2013 3:18 PM > To: Tomcat Users List > Subject: Re: Tomcat 7.0.42 closing websocket without any error receiving > WebSocket ContinuationFrames >=20 > On 16/08/2013 20:01, Bob DeRemer wrote: > > > > > >> -----Original Message----- > >> From: Mark Thomas [mailto:markt@apache.org] > >> Sent: Friday, August 16, 2013 1:40 PM > >> To: Tomcat Users List > >> Subject: Re: Tomcat 7.0.42 closing websocket without any error > >> receiving WebSocket ContinuationFrames > >> > >> On 16/08/2013 18:08, Bob DeRemer wrote: > >>> Hi Tomcat community, > >>> > >>> Has anyone had a large WS message sent as the response to an > >>> outbound call? We have a scenario where the request causes a 300K > >>> WS message to be sent back as the "response". The client is sending > >>> multiple WS continuation frames and after a couple of frames are > >>> successfully sent, Tomcat just closes the websocket connection. I > >>> the response fits in a single frame, it's fine. > >>> > >>> Where can I look to try and troubleshoot this? > >> > >> My first stop would be something like Wireshark to check that what > >> the client is sending is valid. > >> > >> If the input is valid then there isn't much logging in the Tomcat 7 > >> non-JSR356 WebSocket implementation so I'd probably move on to remote > >> debugging to see what is going on. > >> > > > > Assuming the continuation frames are ok, what code in the non-jsr IMPL > should I set some breakpoints in? >=20 > I'd start with org.apache.catalina.websocket.WsFrame.nextFrame(...) >=20 > You may need to go up or down the stack from there depending on where the > problem lies. Sounds good, thx! >=20 > Mark >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org