Session is getting closed. Seems the session was idle for a while, and it fired the session closing.
can try increasing the session idle time. - ashish On Fri, Jan 8, 2010 at 12:23 PM, huangyuchen <[email protected]> wrote: > Hiya, > > This is a client used mina-core-2.0.0-M6.jar, a default IoFilter Decoder in > the jar. > > And every time to connect to the server will have exceptions as follows: > > > > 2010-01-08 15:27:42,425 [DEBUG] MyLog - I (0x00000002: nio socket, client, > /10.10.41.186:47741 => /10.10.41.186:8081)/reader idle/1 > > 2010-01-08 15:27:42,427 [DEBUG] IoFilterEvent - Event SESSION_IDLE has been > fired for session 2 > > 2010-01-08 15:27:42,428 [DEBUG] IoFilterEvent - Firing a SESSION_IDLE event > for session 2 > > 2010-01-08 15:27:42,428 [DEBUG] Service4Q2 - # getJobs(20)...C:0/Rest:0 > > 2010-01-08 15:27:42,429 [DEBUG] MyLog - I (0x00000002: nio socket, client, > /10.10.41.186:47741 => /10.10.41.186:8081)/writer idle/10 > > 2010-01-08 15:27:42,429 [DEBUG] MyLog - I (0x00000002: nio socket, client, > /10.10.41.186:47741 => /10.10.41.186:8081)/writer idle/1 > > 2010-01-08 15:27:42,430 [DEBUG] IoFilterEvent - Event SESSION_IDLE has been > fired for session 2 > > 2010-01-08 15:27:42,430 [DEBUG] IoFilterEvent - Firing a SESSION_CLOSED > event for session 2 > > 2010-01-08 15:27:42,449 [DEBUG] DecodingStateMachine - Ignoring the > exception caused by a closed session. > > org.apache.mina.filter.codec.ProtocolDecoderException: Unexpected end of > session while waiting for a HTTP version field. > > at > org.apache.mina.filter.codec.http.HttpVersionDecodingState.finishDecode(Http > VersionDecodingState.java:85) > > at > org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode( > DecodingStateMachine.java:153) > > at > org.apache.mina.filter.codec.statemachine.DecodingStateMachine.finishDecode( > DecodingStateMachine.java:153) > > at > org.apache.mina.filter.codec.statemachine.DecodingStateProtocolDecoder.finis > hDecode(DecodingStateProtocolDecoder.java:99) > > at > org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(ProtocolCodec > Filter.java:329) > > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed( > DefaultIoFilterChain.java:394) > > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.access$900(DefaultIoFi > lterChain.java:47) > > at > org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionClo > sed(DefaultIoFilterChain.java:786) > > at > org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:98) > > at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63) > > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(Ord > eredThreadPoolExecutor.java:801) > > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(Or > deredThreadPoolExecutor.java:793) > > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(Ordered > ThreadPoolExecutor.java:735) > > at java.lang.Thread.run(Thread.java:595) > > 2010-01-08 15:27:42,455 [INFO ] MyLog - * (0x00000002: NioSocketConnector, > /10.10.41.186:47741 => /10.10.41.186:8081)...Sessions=0 > > > > Can any one can help to give the advice to solve it..thank u very much. > > > > > > > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
