Re: Newbie Questions

2007-12-14 Thread Steve Johns
On Dec 15, 2007 5:52 AM, Mike Heath <[EMAIL PROTECTED]> wrote: > Steve Johns wrote: > > Thanks for Mina. It is a great project. > > After I am trying out the Mina, I had some questions. > > 1) If the server session.write() a message, however client network is > really > > SLOW. Will mina keep tryi

Re: [New Committer] Everyone let's give a warm welcome to Jeff Genender

2007-12-14 Thread Emmanuel Lecharny
Jeff Genender wrote: Thank you and I am honored. ;-) Nah, we are honored to have you within us ! I am a big fan of Mina and have been for quite a while and am excited to step up and help out. About me...I am a Apache junkie of sorts as I am a committer on Geronimo, OpenEJB, ServiceMix, and

Re: [New Committer] Everyone let's give a warm welcome to Jeff Genender

2007-12-14 Thread Jeff Genender
Thank you and I am honored. ;-) I am a big fan of Mina and have been for quite a while and am excited to step up and help out. About me...I am a Apache junkie of sorts as I am a committer on Geronimo, OpenEJB, ServiceMix, and CXF. more or less a Java dude (Ill bet ya couldn't tell). Thanks agai

Re: Mina 1 vs Mina 2 current

2007-12-14 Thread Brian McCallister
If the committers are recommending using trunk, that suggests it is time for a release. Seriously. -Brian On Dec 14, 2007, at 1:35 PM, Mike Heath wrote: mclovis wrote: mclovis wrote: We currently have NIO server code working based on our own current design. Looking at the Mina code we fe

Re: Newbie Questions

2007-12-14 Thread Mike Heath
Steve Johns wrote: > Thanks for Mina. It is a great project. > After I am trying out the Mina, I had some questions. > 1) If the server session.write() a message, however client network is really > SLOW. Will mina keep trying to send > out the message until timeout?(I guess session.settimeout() is

Re: Mina 1 vs Mina 2 current

2007-12-14 Thread Mike Heath
mclovis wrote: > mclovis wrote: >> We currently have NIO server code working based on our own current >> design. Looking at the Mina code we feel we could simplify things somewhat >> by switching to Mina. We are also currently in a refactoring phase. That >> being said it looks like you will relea

[New Committer] Everyone let's give a warm welcome to Jeff Genender

2007-12-14 Thread Alex Karasulu
Hi all, We have a new committer, Jeff Genender, who's a committer other projects here at the ASF and a member of the foundation as well. He's great guy and has been working on some of the http client code and is pretty excited about MINA ... let me stop putting words in his mouth though. Jeff g

[jira] Updated: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-495: --- Attachment: DIRMINA-495-mikeheath.patch DIRMINA-495-mikheath.patch should compile this time. And it

[jira] Updated: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-495: --- Attachment: (was: DIRMINA-295-mikeheath.patch) > IoConnector needs a way to store information in

Re: Revisiting logging in MINA 2.0

2007-12-14 Thread David M. Lloyd
On Fri, 14 Dec 2007 19:26:13 +0100 "Maarten Bosteels" <[EMAIL PROTECTED]> wrote: > about (1) and (3) : I have (almost) no experience with java.util.logging but > I from the info in this thread I understand that is necessary to set a > system property to use a custom LogManager. > This means two we

[jira] Commented: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread David M. Lloyd (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551910 ] David M. Lloyd commented on DIRMINA-495: It's missing the SessionCallback interface, so it won't compile. >

[jira] Issue Comment Edited: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551900 ] mheath edited comment on DIRMINA-495 at 12/14/07 11:12 AM: --- Here is the callback solut

[jira] Issue Comment Edited: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551900 ] mheath edited comment on DIRMINA-495 at 12/14/07 11:12 AM: --- Here is the callback solut

[jira] Updated: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-495: --- Attachment: DIRMINA-295-mikeheath.patch Here is the callback solution I've implemented. Any feedbac

Re: Revisiting logging in MINA 2.0

2007-12-14 Thread Maarten Bosteels
Hello all, On Dec 13, 2007 3:50 AM, Trustin Lee <[EMAIL PROTECTED]> wrote: > This issue is becoming a real headache even a bottle of tylenol can't > fix, along with the reentrant logging issue: http://xrl.us/bctaa > > I think these two issues should be considered together to resolve the > issues

[jira] Updated: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread David M. Lloyd (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David M. Lloyd updated DIRMINA-495: --- Attachment: DIRMINA-495-3.patch This is one possible implementation of the callback approach

[jira] Updated: (DIRMINA-495) IoConnector needs a way to store information into the IoSession before the IoHandler gets ahold of it

2007-12-14 Thread David M. Lloyd (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David M. Lloyd updated DIRMINA-495: --- Attachment: (was: IoConnector.patch) > IoConnector needs a way to store information into

Re: Revisiting logging in MINA 2.0

2007-12-14 Thread Luc Willems
On Thursday 13 December 2007 18:26:38 Trustin Lee wrote: > On Dec 14, 2007 2:05 AM, Luc Willems <[EMAIL PROTECTED]> wrote: > > On Thursday 13 December 2007 03:50:14 Trustin Lee wrote: > > > This issue is becoming a real headache even a bottle of tylenol can't > > > fix, along with the reentrant log

[jira] Updated: (DIRMINA-497) Thread safety issue: incorrect usage of Collections.synchronizedMap in DefaultIoSessionDataStructureFactory.DefaultIoSessionAttributeMap

2007-12-14 Thread David M. Lloyd (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David M. Lloyd updated DIRMINA-497: --- Attachment: DIRMINA-497-1.patch A patch that uses regular synchronization instead of Collec

Re: If client machine shutdown abnormally, will MINA detect

2007-12-14 Thread mat
You can try out one of example on two machines(one client and one server). Unplug the power and see if server detects it. Just kidding. I believe the only 100% way to detect the client disconnection is to send the heartbeat message between client and server. On Dec 14, 2007 2:42 PM, johnnyv_cn <[E