[jira] Resolved: (DIRMINA-416) Possible visibility problem against Selector access

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-416. - Resolution: Fixed Changed as following: http://svn.apache.org/viewvc?view=rev&revision=562355

Re: Unsafe concurrency issue in SocketIoProcessor ?

2007-08-02 Thread Trustin Lee
On 7/31/07, James Im <[EMAIL PROTECTED]> wrote: > >>So for the case that we're talking about, I think that we agree that > >>we've found a potential problem. The question is not then IF it will be > >>a problem in practice or not, but rather HOW do we fix it. I believe > >>that making the selecto

[jira] Created: (DIRMINA-416) Possible visibility problem against Selector access

2007-08-02 Thread Trustin Lee (JIRA)
Possible visibility problem against Selector access --- Key: DIRMINA-416 URL: https://issues.apache.org/jira/browse/DIRMINA-416 Project: MINA Issue Type: Bug Components: Transport

[jira] Closed: (DIRMINA-413) Documentation error in IoHandler

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-413. --- Resolution: Fixed Assignee: Trustin Lee Done... although we need further refactoring of docume

[jira] Updated: (DIRMINA-410) DefaultIoFilterChainBuilder synchronization issue with contains(...) methods

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-410: Fix Version/s: (was: 2.0.0-M1) 1.0.5 Assignee: Trustin

[jira] Resolved: (DIRMINA-410) DefaultIoFilterChainBuilder synchronization issue with contains(...) methods

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-410. - Resolution: Fixed I made the following changes to simplify DefaultIoFilterChainBuilder: http://

Re: Unsafe concurrency issue in SocketIoProcessor ?

2007-08-02 Thread Mike Heath
On Thu, 2007-08-02 at 07:55 -0700, peter royal wrote: > On Jul 30, 2007, at 11:50 PM, James Im wrote: > > An alternative to synchronization would be to declare the selector > > final. However this doesn't seems to be possible without some broader > > refactoring. > > ... which i would love to see

Re: [POLL] What do you expect in MINA 2.0.0-M1?

2007-08-02 Thread Trustin Lee
On 8/2/07, Mark <[EMAIL PROTECTED]> wrote: > In the spirit of getting ready for a 2.0 release, we should formulate a list > of where we need the most work in the area of documentation. There are not > many entries in JIRA for documentation, and to say "Javadocs need > improvement" might be too vag

Re: passing settings into an IoHandler

2007-08-02 Thread Seth Pollack
Thanks, i will next time. Appreciate your responsiveness. Seth > Thanks Trustin, makes sense. Thanks for feed back, but it would be nice if you can reply to dev@mina.apache.org instead of me next time. -- View this message in context: http://www.nabble.com/passing-settings-into-an-IoHandler

Re: [jira] Updated: (DIRMINA-302) Unbounded nature of writeRequestQueue can cause OutOfMemoryException

2007-08-02 Thread Trustin Lee
On 8/3/07, mat <[EMAIL PROTECTED]> wrote: > Which means: instead of let users "GUESS" the traffic rate, the mina core > will take care of that? It will be provided as a form of an IoFilter rather than being tightly integrated with core. But I think we need more discussion about how to control the

Re: [jira] Updated: (DIRMINA-302) Unbounded nature of writeRequestQueue can cause OutOfMemoryException

2007-08-02 Thread mat
Which means: instead of let users "GUESS" the traffic rate, the mina core will take care of that? On 8/3/07, Trustin Lee <[EMAIL PROTECTED]> wrote: > > On 8/3/07, mat <[EMAIL PROTECTED]> wrote: > > WriteThrottleFilter is different from this solution? > > No, we will merge ReadThrottleFilter and Wr

Re: passing settings into an IoHandler

2007-08-02 Thread Trustin Lee
On 8/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks Trustin, makes sense. Thanks for feed back, but it would be nice if you can reply to dev@mina.apache.org instead of me next time. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID:

Re: passing settings into an IoHandler

2007-08-02 Thread Trustin Lee
On 8/3/07, Tan Ka Ju <[EMAIL PROTECTED]> wrote: > > >For now, session idle time and write timeout can not be configured in > >an IoC manner because they don't belong to IoSessonConfig but > directly > >to IoSession. I think Moving these properties to IoSessionConfig so > >they can be configured be

Re: [jira] Updated: (DIRMINA-302) Unbounded nature of writeRequestQueue can cause OutOfMemoryException

2007-08-02 Thread Trustin Lee
On 8/3/07, mat <[EMAIL PROTECTED]> wrote: > WriteThrottleFilter is different from this solution? No, we will merge ReadThrottleFilter and WriteThrottleFilter to provider better user experience. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID:

Re: [jira] Updated: (DIRMINA-302) Unbounded nature of writeRequestQueue can cause OutOfMemoryException

2007-08-02 Thread mat
WriteThrottleFilter is different from this solution? On 8/2/07, Trustin Lee (JIRA) <[EMAIL PROTECTED]> wrote: > > > [ > https://issues.apache.org/jira/browse/DIRMINA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Trustin Lee updated DIRMINA-302: > --

Re: [POLL] What do you expect in MINA 2.0.0-M1?

2007-08-02 Thread mat
To me, DIRMINA-302 is so important. I wish it will be fixed. Thanks. On 8/2/07, Trustin Lee <[EMAIL PROTECTED]> wrote: > > Hi community, > > Since we've been working so hard to clean the overall API up in trunk, > I fell we are getting closer to the release of 2.0.0-M1, our first > milestone relea

Re: passing settings into an IoHandler

2007-08-02 Thread Tan Ka Ju
>For now, session idle time and write timeout can not be configured in >an IoC manner because they don't belong to IoSessonConfig but directly >to IoSession. I think Moving these properties to IoSessionConfig so >they can be configured before an IoSession is created. WDYT? Hello, I have a sugge

Re: passing settings into an IoHandler

2007-08-02 Thread Trustin Lee
Hi Seth, On 8/3/07, Seth Pollack <[EMAIL PROTECTED]> wrote: > > Hello, > > i'm working on my first MINA project, and i'm wondering what the best > practice is for passing additional state into my IoHandler. For example, i > want to pass in what the idle timeout period should be (as determined > el

passing settings into an IoHandler

2007-08-02 Thread Seth Pollack
Hello, i'm working on my first MINA project, and i'm wondering what the best practice is for passing additional state into my IoHandler. For example, i want to pass in what the idle timeout period should be (as determined elsewhere in my code), references to some external objects, etc. Of cour

Testimonial

2007-08-02 Thread fred . bregier
As Julien suggested, I try to wrote a small testimonial on Mina. Mina was the rock that was missing in my project when we started to think about it. When I found it, one year ago, I started very quickly my project (OpenLSD for Open Legacy Storage Document as a framework for document archiving for

Re: Unsafe concurrency issue in SocketIoProcessor ?

2007-08-02 Thread peter royal
On Jul 30, 2007, at 11:50 PM, James Im wrote: An alternative to synchronization would be to declare the selector final. However this doesn't seems to be possible without some broader refactoring. ... which i would love to see if you want to take it on :) -pete -- [EMAIL PROTECTED] - http://f

Re: Integrating SessionLog into IoSession

2007-08-02 Thread peter royal
On Jul 27, 2007, at 4:15 AM, Mark Webb wrote: I am thinking that it might be best to keep the two separate. The separation of the session and slf4j is best IMHO. I'm also in favor of keeping them separate. -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi smime.p7s Description: S/MIME c

Re: [POLL] What do you expect in MINA 2.0.0-M1?

2007-08-02 Thread Julien Vermillard
On Thu, 02 Aug 2007 16:05:20 +0200 [EMAIL PROTECTED] wrote: > My 2 cents for this future big event. > For Trustin question: > - DIRMINA-382 close feature waiting for all messages to be written > For me it could be interesting since it would allow another way > to close connections from a serve

Re: [POLL] What do you expect in MINA 2.0.0-M1?

2007-08-02 Thread fred . bregier
My 2 cents for this future big event. For Trustin question: - DIRMINA-382 close feature waiting for all messages to be written For me it could be interesting since it would allow another way to close connections from a server in a clean approach. However, the close with a timeout is pro

Re: [POLL] What do you expect in MINA 2.0.0-M1?

2007-08-02 Thread Mark
In the spirit of getting ready for a 2.0 release, we should formulate a list of where we need the most work in the area of documentation. There are not many entries in JIRA for documentation, and to say "Javadocs need improvement" might be too vague. So if people want to reply with a list of docu

Re: IoSession User-Defined Attributes Concurrency

2007-08-02 Thread Trustin Lee
On 8/2/07, alimli <[EMAIL PROTECTED]> wrote: > > Hi, > I use IoSession.get/setAttribute to store session specific information. I > wonder if I have to perform this operations in a > synchronized () { } block? Is locking IoSession is > right or do I have to lock some other object? A lock is acquire

[POLL] What do you expect in MINA 2.0.0-M1?

2007-08-02 Thread Trustin Lee
Hi community, Since we've been working so hard to clean the overall API up in trunk, I fell we are getting closer to the release of 2.0.0-M1, our first milestone release from 2.0 branch. To make the relese cycle shorter, I'd like to ask all the community members about what issues you think import

[jira] Updated: (DIRMINA-188) All-in-one JAR

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-188: Fix Version/s: 2.0.0-M1 I found out how to create a all-in-one JAR. Let me fix it soon... > All-i

[jira] Updated: (DIRMINA-375) Synchronous Client API

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-375: Fix Version/s: 2.0.0-M1 Affects Version/s: (was: 1.1.0) Will fix this issue in 2.0.0-M

IoSession User-Defined Attributes Concurrency

2007-08-02 Thread alimli
Hi, I use IoSession.get/setAttribute to store session specific information. I wonder if I have to perform this operations in a synchronized () { } block? Is locking IoSession is right or do I have to lock some other object? Thanks, alimli -- View this message in context: http://www.nabble.com

[jira] Created: (DIRMINA-415) Proxy support

2007-08-02 Thread Trustin Lee (JIRA)
Proxy support - Key: DIRMINA-415 URL: https://issues.apache.org/jira/browse/DIRMINA-415 Project: MINA Issue Type: New Feature Components: Core Reporter: Trustin Lee Fix For: 2.0.0-M1 There has

[jira] Updated: (DIRMINA-302) Unbounded nature of writeRequestQueue can cause OutOfMemoryException

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-302: Component/s: (was: Core) Filter Fix Version/s: 2.0.0-M1 Will fix this

[jira] Updated: (DIRMINA-68) Automatic reconnect configuration for client channels.

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-68: --- Component/s: Core Fix Version/s: 2.0.0-M1 Issue Type: New Feature (was: Improvement) Wi

[jira] Closed: (DIRMINA-414) Infinite loop in SSLFilter on the server side when the client requests renegotiation.

2007-08-02 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-414. --- Resolution: Fixed I already checked in the fix in coordination with the reporter (James Gould). He

[jira] Created: (DIRMINA-414) Infinite loop in SSLFilter on the server side when the client requests renegotiation.

2007-08-02 Thread Trustin Lee (JIRA)
Infinite loop in SSLFilter on the server side when the client requests renegotiation. - Key: DIRMINA-414 URL: https://issues.apache.org/jira/browse/DIRMINA-414 Projec