Return-Path: Delivered-To: apmail-mina-users-archive@www.apache.org Received: (qmail 81020 invoked from network); 26 May 2008 13:30:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 May 2008 13:30:01 -0000 Received: (qmail 94358 invoked by uid 500); 26 May 2008 13:30:02 -0000 Delivered-To: apmail-mina-users-archive@mina.apache.org Received: (qmail 94342 invoked by uid 500); 26 May 2008 13:30:02 -0000 Mailing-List: contact users-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@mina.apache.org Delivered-To: mailing list users@mina.apache.org Received: (qmail 94327 invoked by uid 99); 26 May 2008 13:30:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 06:30:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kinnza@gmail.com designates 209.85.146.179 as permitted sender) Received: from [209.85.146.179] (HELO wa-out-1112.google.com) (209.85.146.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 13:29:15 +0000 Received: by wa-out-1112.google.com with SMTP id l24so1959981waf.12 for ; Mon, 26 May 2008 06:29:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=qtaWtYPqluEwJNdvwmHFV54cWIW0o2+Psi2/J/gxv/s=; b=Sh/H8EQZ9ife5bnVh7AQSc5vt4OgeoVezLQJctHlv/6CWaMrHEXU4ykKKTfhIwjbNmP6xkhTyYylwDFfJyZZPYKsIqyvxH9fIqt0bNxHDPhXa8faJx/P/Ds99YzScJ0cQ2lcBrvdQr5AZ6J/pfZIQwDDw7dlwJb6FUBsG/Re0Gw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DnQh1y6nWsZuMMd/t1REzByJOcXCYf+YxAWNgIfNleRKq0p9HhyvS+Ibybv544+BaD+f/IkrfU+hK4V7QISR3afUFM5Q1GCwFAZ7xNfIYQ9ziJJm56iCi0BJ8IcGsnU7LDo/JspyeHhdF+qvl+hwWlZGhXWzxQPscSi1tWG919E= Received: by 10.114.121.1 with SMTP id t1mr35385wac.55.1211808571152; Mon, 26 May 2008 06:29:31 -0700 (PDT) Received: by 10.114.151.20 with HTTP; Mon, 26 May 2008 06:29:31 -0700 (PDT) Message-ID: <7b16f6f60805260629w4cab85aanee5ae95c9ac6d9a3@mail.gmail.com> Date: Mon, 26 May 2008 15:29:31 +0200 From: Kinnza To: users@mina.apache.org Subject: Re: problems with getting reply to server In-Reply-To: <483AB839.3030306@trillian.se> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2655_23062048.1211808571132" References: <7b16f6f60805260513j67aeca4coee9544f2b6925f7f@mail.gmail.com> <483AB1D9.9020202@trillian.se> <7b16f6f60805260557v3f3baaeeqdfeafb961d80a8e6@mail.gmail.com> <483AB839.3030306@trillian.se> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2655_23062048.1211808571132 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline well when the problems started we upgraded to mina 1.1.6 which was few weeks ago, im sure its not a prob to upgrade to 1.1.7 but im pretty sure it wont solve it, i will put it on our schedule On Mon, May 26, 2008 at 3:16 PM, Niklas Therning wrote: > I also suggest that you upgrade to MINA 1.1.7 which is the latest 1.1.x > version released. > > /Niklas > > Kinnza skrev: > > thank you for the fast response >> im using mina 1.1.6 >> i put the logger last, but the ProtocolCodecFilter is first and i didnt >> get >> there either >> i will try to put the logger first and get back to you >> >> thanks again for the fast response, >> kinnza >> >> On Mon, May 26, 2008 at 2:49 PM, Niklas Therning >> wrote: >> >> >> >>> Kinnza skrev: >>> >>> hello, >>> >>> >>>> im expiriancing a problem that i've been working on for a while and >>>> cannot >>>> see to find a way to solve it >>>> >>>> im using mina in my java server >>>> my server sends all sort of messages to the client (basicly refreshes >>>> the >>>> page of the client, and send some new data) >>>> if the client turns idle the server sends a ping message to it. it tries >>>> it >>>> 3 times and if after 3 times it doesnt get a reply it closes the >>>> connection >>>> and reestablish the connection >>>> >>>> in serveral cases (too many) the client does send the response message >>>> but >>>> it doesnt reach mina. >>>> i used a sniffer on the client side to see that the message does leave >>>> it. >>>> i >>>> also used tcpdump on the server side and saw that the message does reach >>>> the >>>> server, but it doesnt reach mina >>>> >>>> i added the mina logs using: >>>> socketAcceptor.getFilterChain().addLast("logger", new LoggingFilter()); >>>> and in those cases it didnt get the reply message (in normal cases i do >>>> see >>>> it there ofcourse) >>>> >>>> i also added a debug message in the ProtocolCodecFilter but it didnt >>>> get >>>> there either >>>> >>>> i dont see any errors (exceptions) in the server side >>>> >>>> is there a way that i can find out why it doenst get the message? >>>> >>>> Thanks for your help >>>> KInnza >>>> >>>> >>>> >>>> >>>> >>> Which version of MINA are you using? Did you add the LoggingFilter as the >>> first filter before any ExecutorFilter? If not, try that and see if it >>> logs >>> the missing messages. >>> >>> /Niklas >>> >>> >>> >>> >> >> >> >> > > -- Kinnza ------=_Part_2655_23062048.1211808571132--