RE: TIMEOUT on messageReceieved

2007-10-31 Thread Kumaran Arul
Hi Ignore my last email. I can cast it back to the ThreadPoolExecutor and purge the task. Arul Kumaran Senior Java/J2EE developer/designer Woolworths Limited P 02 8885 7528 E [EMAIL PROTECTED] 1 Woolworths Way Bella Vista, NSW 2153 PO Box 8000 Baulkham Hills, NSW 2153 P PLEASE CONSIDER

AsyncHttpClient with no content-length header

2007-10-31 Thread berdim99
Hi. It seems that AsyncHttpClient fails to decode a web page in which the web-server doesn't send a content-length header. What happens is that the callback is called with a null content, after which the decoder throws an exception because it thinks that the rest of the incoming data are of a new

SSL Support for Codec

2007-10-31 Thread param singh
Hi, I am trying to implement a simple Java NIO server client socket connection with SSL support (apparently using MINA...). Consider me as a novice in network and SSL programming. In short, I am trying to extend the image server to use SSL on both ends (server and client...) and it did not

Re: How to implement the synchronized function call?

2007-10-31 Thread Brad Harvey
Hi, That's because you're ignoring the exception and then continuing on with more sends on the same socket. If your receive times out you need to decide what to do with the connection - the server hasn't responded yet, but you don't know why. It might still respond later if the processing

Re : [Announce] SubEthaSMTP 2.0 released (now with MINA support)

2007-10-31 Thread Edouard De Oliveira
Hi Trustin, Congratulations first of all! I'd better add SubEthaSMTP to our related projects list page now. Well that's good news :) I did get the common problems with SSL that were in fact, most of the time, related with the JCE's limited strength jurisdiction. I also ran into sockets

Re: SSL Support for Codec

2007-10-31 Thread Trustin Lee
Hi Param, On 10/31/07, param singh [EMAIL PROTECTED] wrote: Hi, I am trying to implement a simple Java NIO server client socket connection with SSL support (apparently using MINA...). Consider me as a novice in network and SSL programming. In short, I am trying to extend the image server

Increasing write throughput of SocketIOProcessor

2007-10-31 Thread sriramc
Hi: I am evaluating mina to replace our home grown networking layer. It is really a fabulous framework. Even though in Mina we have the ability to use a thread pool to execute the business logic , the read and writes are performed by the SocketIoProcessor threads. The business logic threads

messageReceived and bussiness logic

2007-10-31 Thread Angel.Figueroa
If more that one message is received at the same time. How to control the execution of the business logic method. public void messageReceived(IoSession session, Object message) throws Exception {

How to decode messages remaining in buffer when tcp session is idle?

2007-10-31 Thread johnnyv_cn
Thank you, Trustin. Your instructions are of great help. I have another question: How to decode messages remaining in buffer when tcp session is idle? I have stored the buffer in session, and I can also get the buffer from my sessionIdle() method. But I don't know how to tell MINA to decode the