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

2007-04-11 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488000 ] Trustin Lee commented on DIRMINA-367: - The additional check is added to fix DIRMINA-362. isWritable() ans

RE: [OT] My wedding photos

2007-04-11 Thread Gaston Dombiak
Hey Trustin, Very nice pictures. Many of them are so nice that look artistic. Thanks for sharing them with us. I wish you and your wife the very best. Take care, -- Gato -Original Message- From: Trustin Lee [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 8:40 PM To:

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 贺齐
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. :)

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

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

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

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

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 pictures

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

[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

[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

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

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 However,

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 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?

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 every 1

[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

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

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 actually

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

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 :)

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

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

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

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