Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Emmanuel Lécharny
Le 10/4/13 2:43 PM, Jose María Zaragoza a écrit : > Yes, 2.0.7 > > I've checked that closing sessions isn't enough to free all underlying > resources and I need to execute dispose() method on SocketConnector > object > I've see that I only execute session.close() , there is a waiting JVM > thread w

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Jose María Zaragoza
Yes, 2.0.7 I've checked that closing sessions isn't enough to free all underlying resources and I need to execute dispose() method on SocketConnector object I've see that I only execute session.close() , there is a waiting JVM thread what never ends 2013/10/4 Bugra Cakir : > > > But we don

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Bugra Cakir
But we don't get this problem. We are using Mina 2.0.7 ? Isn't it strange ? Bugra 4 Eki 2013 tarihinde 15:10 saatinde, Jose María Zaragoza şunları yazdı: > OK > I think that I found the cause of the problem > > > I need to perform > > SocketConnector.dispose() > > I only was closing ses

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Jose María Zaragoza
OK I think that I found the cause of the problem I need to perform SocketConnector.dispose() I only was closing session with session.close() What is the right way to finish a communitcation immediately? session.close(): socket.dispose(); ? or is it only enough to perfom socket.dispose();

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Jose María Zaragoza
I'm closing the same resources with MINA 2.x and MINA 1.1.x. Maybe there are new resources in MINA 2.x which should be close and I don't know them I'm going to start standalone tests because I had to downgrade from 2.0.7 to 1.1.7 because the application is running on production enviroment and I c

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Emmanuel Lécharny
Le 10/4/13 9:06 AM, Jose María Zaragoza a écrit : > OK. > I'm going to debug that issue and I will tell you my conclusions > > So far, I only can know that the same code running on Tomcat but with > lastest MINA release creates a lot of FIFO file descriptors, but 1.1.7 > doesn't, You most certainl

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Jose María Zaragoza
OK. I'm going to debug that issue and I will tell you my conclusions So far, I only can know that the same code running on Tomcat but with lastest MINA release creates a lot of FIFO file descriptors, but 1.1.7 doesn't, Thanks 2013/10/4 Emmanuel Lécharny : > Le 10/4/13 8:26 AM, Jose María Zaragoz

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-04 Thread Emmanuel Lécharny
Le 10/4/13 8:26 AM, Jose María Zaragoza a écrit : > Thanks > I'd like it but I'm having problems with a lot of FIFO file > descriptores with that release You still should keep going with MINA 2.0.7, otherwise you are totally on yoru own, with a version which has many unfixed issues. Now, I'm orry

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-03 Thread Jose María Zaragoza
Thanks I'd like it but I'm having problems with a lot of FIFO file descriptores with that release 2013/10/4 Emmanuel Lécharny : > Le 10/3/13 10:32 PM, Jose María Zaragoza a écrit : >> Hello: >> >> I'm using Mina 1.1.7 > > I strongly suggest that you switch to MINA 2.0.7. We don't mainatin any >

Re: Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-03 Thread Emmanuel Lécharny
Le 10/3/13 10:32 PM, Jose María Zaragoza a écrit : > Hello: > > I'm using Mina 1.1.7 I strongly suggest that you switch to MINA 2.0.7. We don't mainatin any more 1.1.7 -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Bug (?) getting encoder in TextLineCodecFactory in Mina 1.1.7

2013-10-03 Thread Jose María Zaragoza
Hello: I'm using Mina 1.1.7 I'm getting problems when i try to use a custom ProtocolCodecFilter + TextLineCodecFactory Decoding works fine but encoding doesn't: method getEncoder() is never invoked ( but getDecoder() does ) This the code: I add the filter by passing a config object when conn