Re: Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Emmanuel LŽcharny
Laurent Cohen a écrit : Hello Emmanuel, Thanks for your reply. I'm perfectly comfortable with English, so I'd rather stick to it, in case anyone else could benefit from reading this thread. As far as I know, the points you mentioned previously are already handled. The only thing I do not need

Re: Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Laurent Cohen
Hello Emmanuel, Thanks for your reply. I'm perfectly comfortable with English, so I'd rather stick to it, in case anyone else could benefit from reading this thread. As far as I know, the points you mentioned previously are already handled. The only thing I do not need to handle is the case wh

Re: Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Emmanuel Lecharny
Ok, after a quick check of your code, some other remarks : - as you have no guarantee that you may even receive the length of your serialized object in one single message, you must absolutely deal with this problem by rying to read the four first bytes, storing them in the session if you didn'

Re: 2.0.0-RC1 bug? --> IoConnectot.dispose blocks forever?

2010-01-03 Thread Emmanuel LŽcharny
Alexander Christian a écrit : Are there any new findings about that? Not yet. I guess that Mina developpers are still trying to get the alcohol out of their brains ...

Re: Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Emmanuel Lecharny
Laurent Cohen a écrit : A few tricks : - you may have more than one message in a single incoming buffer. You have to deal with that - you may have less than one message in the buffer too. Assuming that you have added the length of the incoming object, I guess you handle this situation - In the

Re: 2.0.0-RC1 bug? --> IoConnectot.dispose blocks forever?

2010-01-03 Thread Alexander Christian
Are there any new findings about that? br and a happy new year, Alex Emmanuel LŽcharny schrieb: Alexander Christian a écrit : Hi there, I now found time to build a small reproducer... (I hope attachments are working properly in this mailinglist?!) Yes, it went through :) It's a tiny mav

Re: Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Laurent Cohen
Hi Ashish, Thanks for the prompt reply. Below is a typical track trace I'm getting. You'll notice it has nothing to do with Mina, as my clients do not use it yet. java.lang.NegativeArraySizeException at org.jppf.comm.socket.AbstractSocketWrapper.receiveBytes(AbstractSocketWrapper.java:195)

Re: Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Ashish
Can we get the exception trace?. Also, is it possible to share your custom IoFilter? thanks ashish On Sun, Jan 3, 2010 at 3:58 AM, Laurent Cohen wrote: > Hello, > > I've just started with Mina and am facing a problem I've been stuck with for > days. > Environment: > -  Mina 2.0.0 RC1 > - Sun JD

Application works with single IoSession, throws exception on client side with multiple sessions

2010-01-03 Thread Laurent Cohen
Hello, I've just started with Mina and am facing a problem I've been stuck with for days. Environment: - Mina 2.0.0 RC1 - Sun JDK 1.5 / 1.6 / 1.6 x64 - Windows Vista x64 I'm currently trying to switch an open source grid computing project (http://www.jppf.org), of which I am a developer, to