Adding support for EnumSet to ByteBuffer

2007-06-08 Thread Mike Heath
I've been twiddling a lot of bits with MINA and got tired of it so I created a utility class that converts instances of EnumSet to bit vectors and vice-versa. I thought this feature would be a good addition to MINA's ByteBuffer. Instead of just committing the change, I wanted to run the idea past

[jira] Issue Comment Edited: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Kenji Hollis (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503019 ] Kenji Hollis edited comment on DIRMINA-386 at 6/8/07 10:58 PM: --- If this is done, the p

[jira] Commented: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Kenji Hollis (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503019 ] Kenji Hollis commented on DIRMINA-386: -- If this is done, the problem here is that the IOException will "ignore"

[jira] Commented: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503009 ] Trustin Lee commented on DIRMINA-386: - I'm not sure InetAddress.getLocalHost() always returns a loopback addres

Re: Close ioSession

2007-06-08 Thread Trustin Lee
Hi Rob, On 6/8/07, Rob Butler <[EMAIL PROTECTED]> wrote: Hey Trustin, I'm building a server that must handle lots of UDP traffic. By it's very nature the connections are not kept open and I call session.close() after servicing each one. The server will also have a good number of TCP clients

[jira] Commented: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503006 ] Mike Heath commented on DIRMINA-386: Wouldn't it be more appropriate to use java.net.InetAddress.getLocalHost()

[jira] Updated: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-386: Fix Version/s: 1.0.4 Affects Version/s: (was: 1.1.1) (was: 2

[jira] Commented: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502976 ] Trustin Lee commented on DIRMINA-386: - I found creating a unconnected Socket (i.e. initialize() without ServerSo

Re: Problem with messages.

2007-06-08 Thread Trustin Lee
Hi Ravinder, On 6/9/07, ravinder singh <[EMAIL PROTECTED]> wrote: Hi Trustin, I have solved this problem, it's currently hard-coded but can make this configurable. If you have still not started working on this particular issue, then would to share my code with you. waiting for your response.

[jira] Commented: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Kenji Hollis (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502944 ] Kenji Hollis commented on DIRMINA-386: -- Further note: I -assume- that the previous code for the ServerSocket co

[jira] Commented: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Kenji Hollis (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502942 ] Kenji Hollis commented on DIRMINA-386: -- Well, there's no patch, but further research fixes the issue without ha

[jira] Issue Comment Edited: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Kenji Hollis (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502942 ] Kenji Hollis edited comment on DIRMINA-386 at 6/8/07 2:36 PM: -- Well, there's no patch,

Re: [AsyncWeb] Short question about SVN version

2007-06-08 Thread Michael Bauroth
Hi hezjing, thank you for the answer. But my initial question is still open: Which of the svn versions is more actual? Trustin? Best Regards Michael

[jira] Commented: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread peter royal (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502896 ] peter royal commented on DIRMINA-386: - a patch would rock! > SocketSessionConfigImpl: initialize() uses "localh

Re: Compatability with JAVA 6?

2007-06-08 Thread Frédéric Brégier
I don't know for Mina 0.8.2, but I am currently using Mina 2.0pre1 (in other word the trunk version) under JDK5 and JDK6 with no problem (JDK from Sun and JDK from IBM). Frederic - Original Message - From: "vinamra singhai" <[EMAIL PROTECTED]> To: Sent: Friday, June 08, 2007 1:31 PM Subj

Re: [AsyncWeb] Short question about SVN version

2007-06-08 Thread hezjing
Hi Michael The concurrent.jar is bundled in the releases available at https://svn.safehaus.org/repos/asyncweb/release/ I'm not sure the version of this concurrent.jar though. Nice to see there are more people asking about AsyncWeb now! On 6/8/07, Michael Bauroth <[EMAIL PROTECTED]> wrote: H

Fwd: Problem with messages.

2007-06-08 Thread ravinder singh
Hi Trustin, I have solved this problem, it's currently hard-coded but can make this configurable. If you have still not started working on this particular issue, then would to share my code with you. waiting for your response. Thanks -- Forwarded message -- From: Trustin Lee

[jira] Created: (DIRMINA-386) SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead

2007-06-08 Thread Kenji Hollis (JIRA)
SocketSessionConfigImpl: initialize() uses "localhost" to bind InetSocketAddress, should use IP instead --- Key: DIRMINA-386 URL: https://issues.apache.org/jira/br

Re: Problem with messages.

2007-06-08 Thread ravinder singh
Hi Trustin, Just want to know if this problem is with our implementation or some Java library problem? Thanks On 6/8/07, Trustin Lee <[EMAIL PROTECTED]> wrote: On 6/8/07, peter royal <[EMAIL PROTECTED]> wrote: > On Jun 7, 2007, at 9:11 AM, ravinder singh wrote: > > I am using MINA 1.1 to writ

[AsyncWeb] Short question about SVN version

2007-06-08 Thread Michael Bauroth
Hi, I've checked out the trunk version 238 today. Unfortunately the ThreadPoolFilter needs a package called EDU.oswego.cs.dl.util.concurrent. I've also found, that in the 'tags' version this imports like many other things are converted to the java.util.concurrent stuff. Now my question: Whi

Re: Close ioSession

2007-06-08 Thread Rob Butler
Hey Trustin, I'm building a server that must handle lots of UDP traffic. By it's very nature the connections are not kept open and I call session.close() after servicing each one. The server will also have a good number of TCP clients with the same traffic pattern. (connect-request-response-

Compatability with JAVA 6?

2007-06-08 Thread vinamra singhai
Dear members, I need clarification on following queries: 1) Will MINA 2.0.0. going to be Compatabile with JAVA 6? 2) Is MINA 0.8.2 comapabile with JAVA 6? Thanks and Regards, Vinamra

Re: How could I set thread pool for IoServices and ExecutorFilters?

2007-06-08 Thread Niklas Therning
Messi Chan wrote: > Thx, Trustin. > > > Now I have an other newbie question. > It's about the integrality of the message sent by socket. When I used TCP > connection, > does the message been ensured its integrality. Is that to say, the message > won't been cut down or changed during it's passing

Re: [AsyncWeb] possible bug

2007-06-08 Thread Dave Irving
Hi Adam! A stateless SIP server built on top of AsyncWeb - wow that sounds exciting! Thanks so much for the detailed bug detail. The official place for asyncweb bugs is our Jira over at safehouse: http://jira.safehaus.org/secure/BrowseProject.jspa?id=10070. This, of course, could all change soon