directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [MINA] Need some enlightenment ...
Date Fri, 13 Jan 2006 00:37:20 GMT
Hi Piyush,

2006/1/11, Piyush Purang <ppurang@gmail.com>:
>
> I have been trying to quickly integrate MINA into a small project that
> i have undertaken.
>
> I decided to use the HTTPProtocolHandler example as my guide. So in
> the run method of my Worker thread I have these two lines of code tha
> basically try and read all of the request at one go. (Is that
> adviced?)


<snip/>

Of course the client log doesn't differ too much from the unsuccessful
> attempt.
>
> What I can't understand is why this startegy sometimes (rather seldom)
> succeeds and most of the times fails?
>
> And another question would of course be how can I rectify this?
>
> When server and client both use IOUtills with reading and writing
> directly to socket streams things work out rather nicely.
>
> Thanks for any comments, questions, suggestions etc.


Why don't you give us the full thread dump?  It will clarify which component
is responsible for this problem.

Thanks,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C

Mime
View raw message