Re: Question About Port Stucking(It has troubled me 4 a very long term)

2007-04-05 Thread Vinod Panicker
On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: On 4/5/07, Coding Horse [EMAIL PROTECTED] wrote: But why didn't I have this problem before using mina? I used nio directly and never called setReuseAddres(). The server was in the same linux box before using mina. Why don't you trace the

Re: Async bind/unbind

2007-04-05 Thread Greg Duffy
Here's one possible use case: I have just one processor thread and no thread pool. I want to unbind from within an IoHandler method (messageReceived, sessionIdle, etc), but currently we wait for the unbind to finish. Doesn't this automatically create a deadlock? I.e., waiting for an unbind in the

Re: Question About Port Stucking(It has troubled me 4 a very long term)

2007-04-05 Thread Vinod Panicker
On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi Vinod, On 4/5/07, Vinod Panicker [EMAIL PROTECTED] wrote: On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: On 4/5/07, Coding Horse [EMAIL PROTECTED] wrote: But why didn't I have this problem before using mina? I used nio directly

Re: Contribution question and TrafficMask

2007-04-05 Thread Trustin Lee
On 4/5/07, Greg Duffy [EMAIL PROTECTED] wrote: Yes, I am queuing write requests as well, but the way you mentioned seems like a possible ticket to OutOfMemoryError. Yep, but user wrote by one's own will. ;) And on the read operation, we can't remove OP_READ on DatagramAcceptor, because there

[jira] Reopened: (DIRMINA-342) TCP service not shutting down cleanly

2007-04-05 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee reopened DIRMINA-342: - Assignee: Trustin Lee TCP service not shutting down cleanly

Re: Async bind/unbind

2007-04-05 Thread Greg Duffy
Great! Yes, I will take this on, and I will also see about getting the change into SocketAcceptor. I'll let you know if I need any help. Thanks -Greg On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: On 4/5/07, Greg Duffy [EMAIL PROTECTED] wrote: Here's one possible use case: I have just one

[jira] Closed: (DIRMINA-366) Default socket option values are retrieved incorrectly.

2007-04-05 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-366. --- Resolution: Fixed Done. I made sure reuseAddress and sendBufferSize is configured properly.

Re: Contribution question and TrafficMask

2007-04-05 Thread Greg Duffy
On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: Yep, but user wrote by one's own will. ;) True ... I guess it doesn't make sense to encourage all of the overhead of writing a message if we just drop it on the floor. Maybe I can add some clarity to the documentation for this, though. I think

[jira] Closed: (DIRMINA-342) TCP service not shutting down cleanly

2007-04-05 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-342. --- Resolution: Duplicate Fix Version/s: (was: 1.0.2) 1.0.3 DIRMINA-366

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Trustin Lee
On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: [X]: +1, release Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6

[VOTE] Release MINA 1.1.0

2007-04-05 Thread Trustin Lee
Hi folks, Sorry to bother you by firing two votes at once, but I must admit that MINA 1.1.0, Java 5 port of MINA 1.0.x is ready to be released IMHO. Java 5 Generics and covariant return type have been used extensively so there's no more cumbersome down-casts. Except that it doesn't have any

[jira] Closed: (DIRMINA-365) Make use of covariant return types

2007-04-05 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee closed DIRMINA-365. --- Resolution: Fixed Fix Version/s: 2.0.0-M1 Done. Make use of covariant return types

Re: Question About Port Stucking(It has troubled me 4 a very long term)

2007-04-05 Thread Trustin Lee
Hi Vinod, On 4/5/07, Vinod Panicker [EMAIL PROTECTED] wrote: On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: On 4/5/07, Coding Horse [EMAIL PROTECTED] wrote: But why didn't I have this problem before using mina? I used nio directly and never called setReuseAddres(). The server was in

[VOTE] Release MINA 1.0.3

2007-04-05 Thread Trustin Lee
Hi community, We have fixed 7 bugs since we released MINA 1.0.2. I was actually shocked that there were so many unexpected bugs. Thank you all community members for reporting bugs that the committers couldn't find! The following URL shows the list of the fixed bugs: http://tinyurl.com/ytbq2f

Re: [VOTE] Release MINA 1.0.3

2007-04-05 Thread Emmanuel Lecharny
[X]: +1, release -- Cordialement, Emmanuel Lécharny www.iktek.com

Re: Performances questions

2007-04-05 Thread yann Blazart
Thanks ! My use case is to provide a framework to make a replacement of Rmi for internal use in entreprise (RAD) without the f... problems of registry SecurityManager and codebase and Remote interface , based on Mina (very fun framework you've done !) I will try to improve my framework

way to extract a java object from a MINA byte buffer?

2007-04-05 Thread Yogs
Hi I have prototype for latency measurements, in which I have a blocking stream based client and server based on MINA. When client sends handshake data, which is really a java object, I get a Byte buffer on the server but I don’t how to extract a java object from that byte buffer. I tried using

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Vinod Panicker
[x]: +1, release [ ]: 0, abstain [ ]: -1, don't release I've been waiting :)

Re: Performances questions

2007-04-05 Thread yann Blazart
Hi thanks for your answer, but I 've tried to set the tcpNoDelay to false on each side and I didn't saw any really performance improvment. The first problem is that if I test by only sending message but not waiting for response, mina take 0.12 ms per call, aigainst Rmi that take 0.16 ms per call

RE: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Dawie Malan
*** Click here to view our e-mail legal notice: http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 7000 *** [x]: +1, release [ ]: 0, abstain [ ]: -1, don't

Re: [VOTE] Release MINA 1.0.3

2007-04-05 Thread Trustin Lee
On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: [X]: +1, release Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6

Re: Performances questions

2007-04-05 Thread Vinod Panicker
On 4/5/07, yann Blazart [EMAIL PROTECTED] wrote: Hi thanks for your answer, but I 've tried to set the tcpNoDelay to false on each side and I didn't saw any really performance improvment. The first problem is that if I test by only sending message but not waiting for response, mina take 0.12 ms

Re: way to extract a java object from a MINA byte buffer?

2007-04-05 Thread Trustin Lee
Hi Yogs, On 4/5/07, Yogs [EMAIL PROTECTED] wrote: Hi I have prototype for latency measurements, in which I have a blocking stream based client and server based on MINA. When client sends handshake data, which is really a java object, I get a Byte buffer on the server but I don't how to

RE: [VOTE] Release MINA 1.0.3

2007-04-05 Thread Dawie Malan
*** Click here to view our e-mail legal notice: http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 7000 *** [x]: +1, release [ ]: 0, abstain [ ]: -1, don't

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Emmanuel Lecharny
[X]: +1, release -- Cordialement, Emmanuel Lécharny www.iktek.com

Re: [VOTE] Release MINA 1.0.3

2007-04-05 Thread Vinod Panicker
[x]: +1, release [ ]: 0, abstain [ ]: -1, don't release

Re: Performances questions

2007-04-05 Thread Maarten Bosteels
On 4/5/07, yann Blazart [EMAIL PROTECTED] wrote: Thanks ! My use case is to provide a framework to make a replacement of Rmi for internal use in entreprise (RAD) without the f... problems of registry SecurityManager and codebase and Remote interface , based on Mina (very fun framework

Re: Question About Port Stucking(It has troubled me 4 a very long term)

2007-04-05 Thread Coding Horse
Great job! Trustin. I just updated mina trunk and tried acceptor.getSessionConfig().setReuseAddress(true); and it works like magic in the production server! Sorry about not providing enough problem trace when I reported the issue on my server - the major reason among others is that the water

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Julien Vermillard
[X]: +1, release [ ]: 0, abstain [ ]: -1, don't release

Re: [VOTE] Release MINA 1.0.3

2007-04-05 Thread Hanson Char
[x]: +1, release [ ]: 0, abstain [ ]: -1, don't release Hanson

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Hanson Char
[x]: +1, release [ ]: 0, abstain [ ]: -1, don't release Hanson

Re: Will the HTTP APIs like AsyncWeb be available in Mina?

2007-04-05 Thread Dong Liu
Thank you, Trustin. Looking forward to its release. Cheers, Dong On 4/4/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi Dong, On 4/3/07, Dong Liu [EMAIL PROTECTED] wrote: Hi, As I understand, AsyncWeb is merging with Mina. So when will similar APIs available? AsyncWeb is going to be our

Re: Performances questions

2007-04-05 Thread Rob Butler
I've done some simple tests and the IO subsystem (BIO vs NIO) makes little difference on a servers performance (when properly configured). For example, I built a quick client and server to test NIO vs BIO performance. It was a simple echo server, only had 1 thread and the messages were small,

Re: [VOTE] Release MINA 1.0.3

2007-04-05 Thread Enrique Rodriguez
On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: ... [ X ]: +1, release [ ]: 0, abstain [ ]: -1, don't release Enrique

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Enrique Rodriguez
On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: ... [ X ]: +1, release [ ]: 0, abstain [ ]: -1, don't release Enrique

Re: [VOTE] Release MINA 1.0.3

2007-04-05 Thread Rodrigo Madera
+1 On 4/5/07, Enrique Rodriguez [EMAIL PROTECTED] wrote: On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: ... [ X ]: +1, release [ ]: 0, abstain [ ]: -1, don't release Enrique

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Rodrigo Madera
+1 On 4/5/07, Enrique Rodriguez [EMAIL PROTECTED] wrote: On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: ... [ X ]: +1, release [ ]: 0, abstain [ ]: -1, don't release Enrique

Re: [VOTE] Release MINA 1.1.0

2007-04-05 Thread Alex Karasulu
+1 Alex On 4/5/07, Rodrigo Madera [EMAIL PROTECTED] wrote: +1 On 4/5/07, Enrique Rodriguez [EMAIL PROTECTED] wrote: On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: ... [ X ]: +1, release [ ]: 0, abstain [ ]: -1, don't release Enrique