Re: ProtocolEncoder not getting used in the response path

2016-10-25 Thread Murty Devarakonda
Thank you so much for accepting my suggestion and hope that helps the future developers. And thanks for your support over the past few days too!!! -- View this message in context: http://apache-mina.10907.n7.nabble.com/ProtocolEncoder-not-getting-used-in-the-response-path-tp51558p51620.html

Re: ProtocolEncoder not getting used in the response path

2016-10-25 Thread Emmanuel Lécharny
Le 25/10/16 à 16:54, Murty Devarakonda a écrit : > We could identify what the problem is at last. While sending the response > back to the client, we created a IoBuffer and added the bytes to the same > and did a session.write(). And we identified that if the response is of > type IoBuffer, Min

Re: ProtocolEncoder not getting used in the response path

2016-10-25 Thread Murty Devarakonda
tting-used-in-the-response-path-tp51558p51618.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Murty Devarakonda
And not only that. I am seeing that the filter for my ProtocolCodecFilter also was not hit in the entry.getNextFilter() call. -- View this message in context: http://apache-mina.10907.n7.nabble.com/ProtocolEncoder-not-getting-used-in-the-response-path-tp51558p51605.html Sent from the Apache

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Murty Devarakonda
occurred invoking method. I am looking into where this one popped out from. -- View this message in context: http://apache-mina.10907.n7.nabble.com/ProtocolEncoder-not-getting-used-in-the-response-path-tp51558p51604.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Emmanuel Lécharny
Le 24/10/16 à 19:24, Murty Devarakonda a écrit : > I did read that section to see where things may be going wrong and didn't see > anything that's different than what we are doing. > > Now, to explain a bit about our project, so far the MINA server is listening > on one port and protocol encoder

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Emmanuel Lécharny
Le 24/10/16 à 20:59, Murty Devarakonda a écrit : > Thank you for the tip. I looked into the NioSocketSession.filterChain and I > could see my protocolcodecfactory object there. Here is how I am adding the > filters: > > protected static void addFilters(Properties props, NioSocketAcceptor > acce

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Murty Devarakonda
ll as new port. Do you think the name "protocol" is causing some conflicts? As the same name "protocol" is being used to add the code filter factory for both instances of the acceptors? -- View this message in context: http://apache-mina.10907.n7.nabble.com/ProtocolEncode

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Murty Devarakonda
pache-mina.10907.n7.nabble.com/ProtocolEncoder-not-getting-used-in-the-response-path-tp51558p51597.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Emmanuel Lécharny
Le 24/10/16 à 19:12, Murty Devarakonda a écrit : > Thanks for the reply. I set the logging at the debug level for all the code > in org.apache and didn't see any exceptions being thrown or any error > messages. I tried to debug the MINA code, but didn't get much clues from it > in terms of any

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Murty Devarakonda
message in context: http://apache-mina.10907.n7.nabble.com/ProtocolEncoder-not-getting-used-in-the-response-path-tp51558p51595.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Re: ProtocolEncoder not getting used in the response path

2016-10-23 Thread Emmanuel Lécharny
oject/userguide/ch9-codec-filter/ch9-codec-filter.html page ? > > > > -- > View this message in context: > http://apache-mina.10907.n7.nabble.com/ProtocolEncoder-not-getting-used-in-the-response-path-tp51558.html > Sent from the Apache MINA User Forum mailing list archive at Nabble.com. -- Emmanuel Lecharny Symas.com directory.apache.org

Re: ProtocolEncoder not getting used in the response path

2016-10-23 Thread 李庆松1
ast("limiter", filter); >} >} > > Any help with this would be greatly appreciated. I even tried logging the > MINA related log lines at the debug level to see if there is an exception > during response flow within MINA. But there is no exceptions too. >

ProtocolEncoder not getting used in the response path

2016-10-23 Thread Murty Devarakonda
NA related log lines at the debug level to see if there is an exception during response flow within MINA. But there is no exceptions too. -- View this message in context: http://apache-mina.10907.n7.nabble.com/ProtocolEncoder-not-getting-used-in-the-response-path-tp51558.html Sent from the Ap