Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 57050 invoked from network); 28 Apr 2009 18:51:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Apr 2009 18:51:33 -0000 Received: (qmail 28001 invoked by uid 500); 28 Apr 2009 18:51:33 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 27921 invoked by uid 500); 28 Apr 2009 18:51:32 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 27913 invoked by uid 99); 28 Apr 2009 18:51:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2009 18:51:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andreas.veithen@gmail.com designates 209.85.132.241 as permitted sender) Received: from [209.85.132.241] (HELO an-out-0708.google.com) (209.85.132.241) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2009 18:51:22 +0000 Received: by an-out-0708.google.com with SMTP id c37so427535anc.6 for ; Tue, 28 Apr 2009 11:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=lHsiyliiKWlP48M4L+zn1eNpv2KZV1hSQgC4mTxGatw=; b=PQgV8AUosh/38Byj1NBzcgbJ6rpiQS5Ak4yS16YYWb3zHAdPFDnbDq0kj0XuOKJJsE 5SN9rLW9D7IMB5IoDVuGOPoRCdY/CmaornJKy+2FpC1FOJiRpECSputWV07x0Bww/BqV WxzBfPh04dt66trlGTnoUGHtFSdu55DQWC5Ow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=K8yMXoktOBWpZx5PyggbpC+ikfuUlB7kTZrbxbX3AvaFgq+YH8K8EpdWxuJY9RjeLb 8mOdGiRpsUufVfMOoRXnW/Y5qXckudD/eJy6SN4xrSTh0p+mTjFykWKqiVDNoudCVnuP yL0MGh902P004VLMlm8LLxVjwK3QqAkGja82s= MIME-Version: 1.0 Received: by 10.100.119.17 with SMTP id r17mr7036104anc.3.1240944661217; Tue, 28 Apr 2009 11:51:01 -0700 (PDT) In-Reply-To: <12AEA201F6668F4AAA121035CCFEEB1A502B18@berwnexmb06.jcorp.ad.jamba.net> References: <23278450.post@talk.nabble.com> <88f5d710904280931p1391e6a6nc1481bee5d47dee4@mail.gmail.com> <12AEA201F6668F4AAA121035CCFEEB1A502B18@berwnexmb06.jcorp.ad.jamba.net> Date: Tue, 28 Apr 2009 20:50:59 +0200 Message-ID: Subject: Re: HttpCoreNIOListener$1 - System may be unstable: IOReactor encountered a runtime exception : null From: Andreas Veithen To: dev@synapse.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The problem can easily be reproduced with a current snapshot build: - Start Synapse - Do a telnet localhost 8280 - Hit enter Andreas On Tue, Apr 28, 2009 at 19:53, Hubert, Eric wro= te: > Hi all, > > Hmmm, I'm actually not sure, if the issue pointed out by Paul is really t= he cause of the problem. > > Too me it looks like the status line of an HTTP request is parsed by the = BasicLineParse which throws an exception complaining about an invalid proto= col version (consisting of protocol name, separator and major.minor). > > According to the output read from the buffer, this string is: " HTTP\1.1" > I'm not completely sure, but I guess the trailing space will be skipped, = but what about the separator "\". Shouldn't this be "/"? > > If the character followed by the protocol name (HTTP) is not "/" this exc= eption will be thrown. Any possibility "/" changes to "\" at some point? > > Regards, > =A0 Eric > > > >> -----Original Message----- >> From: Paul Fremantle [mailto:pzfreo@gmail.com] >> Sent: Tuesday, April 28, 2009 6:32 PM >> To: dev@synapse.apache.org >> Subject: Re: HttpCoreNIOListener$1 - System may be unstable: IOReactor >> encountered a runtime exception : null >> >> Murali >> >> Its probably this: >> >> https://issues.apache.org/jira/browse/SYNAPSE-341 >> >> Paul >> >> On Tue, Apr 28, 2009 at 3:39 PM, cmurali >> wrote: >> > >> > I am seeing the following in my synapse log after which the server >> becomes >> > non-responsive. I have no other go except to just restart synapse. Is >> there >> > any fix for this? >> > >> > Thanks, >> > Muralidaran Chakravarthy >> > >> > >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1095]: GE= T >> /? >> > HTTP/1.0 >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 4] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1094]: >> > Connected >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1091]: GE= T >> /? >> > HTTP/1.1 >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 4] ERR= OR >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1092]: No= t >> a >> > valid protocol version: =A0HTTP\1.1 >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | >> org.apache.http.ProtocolException: >> > Not a valid protocol version: =A0HTTP\1.1 >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.codecs.AbstractMessageParser.parse(AbstractMess= ag >> eParser.java:159) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(Defau= lt >> NHttpServerConnection.java:114) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.synapse.transport.nhttp.PlainServerIOEventDispatch.inputReady= (P >> lainServerIOEventDispatch.java:69) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.ja= va >> :85) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(Abstract= IO >> Reactor.java:177) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.reactor.BaseIOReactor.processEvent(BaseIOReacto= r. >> java:66) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1085]: >> > Connected >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1085]: GE= T >> /? >> > HTTP/1.0 INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatch= er 4] >> DEBUG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1084]: >> > Connected >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 4] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1084]: GE= T >> /? >> > HTTP/1.0 INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatch= er 3] >> DEBUG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1085]: >> Output >> > ready >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [closed]: Content encoder >> > [identity; completed: true] >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1082]: >> Output >> > ready >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [/144.100.83.31:1082]: >> Content >> > encoder [chunk-coded; completed: true] >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [closed]: Closed >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [closed]: Closed >> > >> > >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 3] DEB= UG >> > LoggingNHttpServiceHandler - HTTP connection [closed]: Closed >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | [I/O dispatcher 4] WAR= N >> > HttpCoreNIOListener$1 - System may be unstable: IOReactor encountered = a >> > runtime exception : null >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | java.lang.NullPointerE= xception >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.synapse.transport.nhttp.ServerHandler.exception(ServerHandler= .j >> ava:264) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.synapse.transport.nhttp.LoggingNHttpServiceHandler.exception(= Lo >> ggingNHttpServiceHandler.java:84) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(Defau= lt >> NHttpServerConnection.java:145) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.synapse.transport.nhttp.PlainServerIOEventDispatch.inputReady= (P >> lainServerIOEventDispatch.java:69) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.ja= va >> :85) >> > INFO =A0 | jvm 1 =A0 =A0| 2009/04/27 18:17:11 | =A0 =A0 =A0 at >> > >> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(Abstract= IO >> Reactor.java:177) >> > >> > -- >> > View this message in context: >> http://www.nabble.com/HttpCoreNIOListener%241---System-may-be-unstable%3= A- >> IOReactor-encountered-a-runtime-exception-%3A-null- >> tp23278450p23278450.html >> > Sent from the Synapse - Dev mailing list archive at Nabble.com. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org >> > For additional commands, e-mail: dev-help@synapse.apache.org >> > >> > >> >> >> >> -- >> Paul Fremantle >> Co-Founder and CTO, WSO2 >> Apache Synapse PMC Chair >> OASIS WS-RX TC Co-chair >> >> blog: http://pzf.fremantle.org >> paul@wso2.com >> >> "Oxygenating the Web Service Platform", www.wso2.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org >> For additional commands, e-mail: dev-help@synapse.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org For additional commands, e-mail: dev-help@synapse.apache.org