Re: [VOTE] Release MINA 1.0.3

2007-04-11 Thread Jannie Pieterse
[ ]: +1, release On 4/10/07, Maarten Bosteels <[EMAIL PROTECTED]> wrote: [X]: +1, release On 4/6/07, Uday Prakash (DHL CZ) <[EMAIL PROTECTED]> wrote: > > > [X]: +1, release > [ ]: 0, abstain > [ ]: -1, don't release > > -Original Message- > From: Trustin Lee [mailto:[EMAIL PROTECTED] >

Re: "Best" stable version?

2007-04-11 Thread Trustin Lee
Hello Sean, On 4/12/07, Sean LeBlanc <[EMAIL PROTECTED]> wrote: Hello, I'm using Java 1.5 so I compiled 1.1 using "mvn install" after doing a svn co https://svn.apache.org/repos/asf/mina/branches/1.1/ mina-1.1 I'm trying to write a bit of client code and I'm running into some odd behavior (se

Re: [OT] My wedding photos

2007-04-11 Thread Trustin Lee
Hi everyone, On 4/12/07, Paul Chen <[EMAIL PROTECTED]> wrote: The human touch you added to the Mina community makes it like a real community. Wish you a wonderful honey moon... and come back fully recharged. I am very happy for congratulations from the MINA community members. As Paul said, I r

Re: [OT] My wedding photos

2007-04-11 Thread Paul Chen
Trustin, The human touch you added to the Mina community makes it like a real community. Wish you a wonderful honey moon... and come back fully recharged. Best On 4/10/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi folks, Some of you might already have seen these pictures from my blog, but I'

RE: Getting started - lifecycle question

2007-04-11 Thread Scott Peters
Sean, The default worker timeout I believe is 60 seconds so you might want to add this to the part where you do the SocketConnector configuration. // Change the worker timeout to 1 second to make the I/O thread quit soon // when there's no connection to manage. s_connector.setWorkerTimeout( 1 );

Getting started - lifecycle question

2007-04-11 Thread Sean LeBlanc
I'm trying to write some client code. I think it's working okay, *except* that the program does not end. At least not immediately. It shuts down after some time. If I put a shutdown hook that registers the time from when my work is finished and the application actually shuts down, the difference is

"Best" stable version?

2007-04-11 Thread Sean LeBlanc
Hello, I'm using Java 1.5 so I compiled 1.1 using "mvn install" after doing a svn co https://svn.apache.org/repos/asf/mina/branches/1.1/ mina-1.1 I'm trying to write a bit of client code and I'm running into some odd behavior (separate question in another thread), so I'm wondering if I should u

Re: What are the release plans for MINA 2.x

2007-04-11 Thread Emmanuel Lecharny
Deepak Nadig a écrit : Thanks, Deepak Hi Deepak, you can get info about 2.0.x roadmap here : http://issues.apache.org/jira/browse/DIRMINA?report=com.atlassian.jira.plugin.system.project:roadmap-panel However, don't expect a fixed date ... This is a volunteered based project :) Emman

What are the release plans for MINA 2.x

2007-04-11 Thread Deepak Nadig
Thanks, Deepak

Re: [OT] My wedding photos

2007-04-11 Thread Marcin Waldowski
Congratulations. Beautiful photos. Best wishes to you and your wife :) Thank you for posting us the pictures. For me it was some kind of closer contact with your culture, thank you... Regards, Marcin Trustin Lee wrote: Hi folks, Some of you might already have seen these pictures from my blo

Re: Issue with decoding variable length messages on MINA server

2007-04-11 Thread Niklas Therning
Yogs wrote: > Hi > > I have a blocking client connected to a MINA based server. And client is > sending variable length message to server. The Message doesn’t have a notion > of msgLength. So in my decoder.docodable() method can’t figure out whether > this message is complete or not. So when I act

How can I configure multiple decoders in MINA?

2007-04-11 Thread Yogs
Hi, Can I register more than one Encoders and Decoders to ProtocolCodecFactory which is extended from mina’s DemuxingProtocolCodecFactory? Or we can have only one decoder and encoder registered as demonstrated in SumUp example? How can I configure multiple decoders in MINA? Thanks in Advance

Issue with decoding variable length messages on MINA server

2007-04-11 Thread Yogs
Hi I have a blocking client connected to a MINA based server. And client is sending variable length message to server. The Message doesn’t have a notion of msgLength. So in my decoder.docodable() method can’t figure out whether this message is complete or not. So when I actually decode the messa

[jira] Commented: (DIRMINA-367) 1.1 proxy example broken with svn revision: 522721

2007-04-11 Thread keith mcneill (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488132 ] keith mcneill commented on DIRMINA-367: --- Thanks. I think you are right on the money. There is a race conditi

Re: Mina token

2007-04-11 Thread mat
Great. I will try that. Thanks a lot. 2007/4/11, Julien Vermillard <[EMAIL PROTECTED]>: Yes, It's what I ususaly do. Julien Le mercredi 11 avril 2007 à 22:30 +0800, mat a écrit : > Hi, there > > Is it possible for now(since the filter is not officely in mina 1.0.2) I > send the ping info ever

Re: Mina token

2007-04-11 Thread Julien Vermillard
Yes, It's what I ususaly do. Julien Le mercredi 11 avril 2007 à 22:30 +0800, mat a écrit : > Hi, there > > Is it possible for now(since the filter is not officely in mina 1.0.2) I > send the ping info every 1 mins and also set session.setIdleTime( > IdleStatus.READER_IDLE, 2mins) to do this job

MessageDecoder

2007-04-11 Thread mat
Hi, If something wrong in the MessageDecoder decodeBody(unexpected exception happened with no handling by programmer), what will mina do? Automatically close the session? Thanks.

Re: Mina token

2007-04-11 Thread mat
Hi, there Is it possible for now(since the filter is not officely in mina 1.0.2) I send the ping info every 1 mins and also set session.setIdleTime( IdleStatus.READER_IDLE, 2mins) to do this job? Thanks. 2007/4/10, Eero Nevalainen <[EMAIL PROTECTED]>: mat wrote: > Thanks. Trustin > > Howev

A backward-incompatible change in IoFilter of MINA 2.0

2007-04-11 Thread Trustin Lee
Hi community, I found a critical design flaw that prevents me from implementing a new utility filter related to implementation of a request-response protocol. You can browse the overall context in the following JIRA page: https://issues.apache.org/jira/browse/DIRMINA-368 The change already has

Re: setting IoProcessor thread number and SocketAcceptor threads

2007-04-11 Thread Trustin Lee
On 4/11/07, Murat OZDEMiR <[EMAIL PROTECTED]> wrote: Hi Trustin, ... Executors.newCachedThreadPool: Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available, and uses the provided ThreadFactory to create new threads when nee

[jira] Resolved: (DIRMINA-368) IoFilter.messageSent should have access to WriteRequest instead of the written message.

2007-04-11 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-368. - Resolution: Fixed The change has been checked in. DIRMINA-92 will be the first issue that util

[jira] Updated: (DIRMINA-368) IoFilter.messageSent should have access to WriteRequest instead of the written message.

2007-04-11 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-368: Description: IoFilter.filterWrite() accepts WriteRequest as its parameter to allow an IoFilter im

[jira] Created: (DIRMINA-368) IoFilter.messageSent should have access to WriteRequest instead of the written message.

2007-04-11 Thread Trustin Lee (JIRA)
IoFilter.messageSent should have access to WriteRequest instead of the written message. --- Key: DIRMINA-368 URL: https://issues.apache.org/jira/browse/DIRMINA-368 Pr

RE: setting IoProcessor thread number and SocketAcceptor threads

2007-04-11 Thread Murat OZDEMiR
Hi Trustin, ... Executors.newCachedThreadPool: Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available, and uses the provided ThreadFactory to create new threads when needed. ... Are the two of code parts given below same?

Re: setting IoProcessor thread number and SocketAcceptor threads

2007-04-11 Thread Trustin Lee
On 4/11/07, Murat OZDEMiR <[EMAIL PROTECTED]> wrote: Question - 2 Pls. correct me if i'm wrong, if i don't use Thread Model an AnonymousIoService thread pool (1-16) is running. If i use it, different Thread pools are constructed for me. Do you say not to use Thread Model because of performance

Re: [OT] My wedding photos

2007-04-11 Thread Mark Webb
Congratulations. Very nice pictures. Enjoy your life together. Best wishes. On 4/11/07, 贺齐 <[EMAIL PROTECTED]> wrote: Congratulations! Best regards to you and your beautiful wife! HeQi 2007/4/11, Trustin Lee <[EMAIL PROTECTED]>: > Hi folks, > > Some of you might already have seen these pic

RE: setting IoProcessor thread number and SocketAcceptor threads

2007-04-11 Thread Murat OZDEMiR
Hi Trustin, Thank you for your reply. I'm a little bit confused while reading Thread Model Tutorial. I'm trying to understand which is more effective; to use Thread Model or not. Question - 1 is ok. After importing "edu.emory.mathcs.backport.java.util.concurrent.Executors" instead of "java.util.co

Re: problems in ramp-up

2007-04-11 Thread Trustin Lee
On 4/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, i have used Mina to re-implement a messaging gateway (Unix/Linux to IBM-Mainframe). The spoken protocol is proprietary and i am really happy that Mina's API was so easy to understand. Now i am experiencing some problems during the ra

problems in ramp-up

2007-04-11 Thread Oliver . Michels
Hi, i have used Mina to re-implement a messaging gateway (Unix/Linux to IBM-Mainframe). The spoken protocol is proprietary and i am really happy that Mina's API was so easy to understand. Now i am experiencing some problems during the ramp-up phase. When the first bunch of connections (about 10

Re: setting IoProcessor thread number and SocketAcceptor threads

2007-04-11 Thread Trustin Lee
Hi Murat, On 4/11/07, Murat OZDEMiR <[EMAIL PROTECTED]> wrote: *Question - 1* I'm trying to set IoProcessor thread number. At http://mina.apache.org/configuring-thread-model.html under *Configure the number of I/O worker threads* title a sample code is given to determine the I/O Processor thr

setting IoProcessor thread number and SocketAcceptor threads

2007-04-11 Thread Murat OZDEMiR
Question - 1 I'm trying to set IoProcessor thread number. At http://mina.apache.org/configuring-thread-model.html under Configure the number of I/O worker threads title a sample code is given to determine the I/O Processor thread as IoAcceptor acceptor = new SocketAcceptor(Runtime.getRuntime(

Re: [OT] My wedding photos

2007-04-11 Thread 贺齐
Congratulations! Best regards to you and your beautiful wife! HeQi 2007/4/11, Trustin Lee <[EMAIL PROTECTED]>: Hi folks, Some of you might already have seen these pictures from my blog, but I'm posting the following link for those who didn't enjoy them. :) http://www.flickr.com/photos/trustin

Re: [OT] My wedding photos

2007-04-11 Thread Emmanuel Lecharny
Man, you both look so bright, like if the light comes from yourselves ! Please do me a favor : enjoy every single minute of your life together! Emmanuel -- Cordialement, Emmanuel Lécharny www.iktek.com

Re: [OT] My wedding photos

2007-04-11 Thread jian wu
Hi Trustin, I am not sure people in different countries take this kind of photos, which is taken in a studio before the actual wedding ceremony to remember the good old days. I think that you could call it East Asia Style. Congratulation and best wishes to you and your wife! Jian On 4/10/07