Re: Please review the new version numbering scheme.

2006-11-13 Thread Mark Webb
+1 On 11/13/06, Niklas Therning <[EMAIL PROTECTED]> wrote: Trustin Lee wrote: > Hi community, > > I've just updated version numbering scheme of MINA according to the > recent > discussion on MINA version numbering scheme: > > http://mina.apache.org/downloads.html > > Please review and let me kno

Re: mina 1.0 and java5

2006-11-13 Thread Mark Webb
Is this something that you still want to do? I have the # of warnings down to about 20. If so, tonight I will add a JIRA entry and add a patch to the entry. On 11/6/06, peter royal <[EMAIL PROTECTED]> wrote: On Nov 6, 2006, at 5:16 PM, Mark Webb wrote: > I noticed that th

Re: VmPipe Transport

2006-11-13 Thread Mark Webb
how about some sample code that demonstrates the problem? This would go a long way in at least allowing others to duplicate the problem. Thank you. On 11/13/06, Simon Raess <[EMAIL PROTECTED]> wrote: Hi OK, I'll create the JIRA issue. A JUnit test won't be that easy, because I cannot reprod

Re: mina 1.0 and java5

2006-11-13 Thread Mark Webb
I will add it here with additional comments. https://issues.apache.org/jira/browse/DIRMINA-274 The code is at home, so I will do this tonight... On 11/13/06, peter royal <[EMAIL PROTECTED]> wrote: On Nov 13, 2006, at 7:08 AM, Mark Webb wrote: > Is this something that you still want

Re: mina 1.0 and java5

2006-11-13 Thread Mark Webb
JIRA entry updated and patch file attached in JIRA On 11/13/06, Mark Webb <[EMAIL PROTECTED]> wrote: I will add it here with additional comments. https://issues.apache.org/jira/browse/DIRMINA-274 The code is at home, so I will do this tonight... On 11/13/06, peter royal <[EMAIL

how to get commiter status

2006-11-14 Thread Mark Webb
How does one go about getting commiter status? Thank you.

Re: [jira] Commented: (DIRMINA-299) innacurate JMX statistics

2006-11-15 Thread Mark Webb
299 > Project: Directory MINA > Issue Type: Bug > Components: Core >Affects Versions: 1.1 > Environment: Fedora Core 5, Eclipse 3.2 using Java 1.4 compiler settings. >Reporter: Mark Webb > Assigned To: Julien Verm

Re: how to get commiter status

2006-11-15 Thread Mark Webb
Not a problem. Thanks. On 11/15/06, peter royal <[EMAIL PROTECTED]> wrote: On Nov 14, 2006, at 7:24 PM, Mark Webb wrote: > How does one go about getting commiter status? bombard us with patches so that lazyness kicks in and we make you apply them yourself ;) (you're doing a gr

IoService question

2006-11-27 Thread Mark Webb
I was looking at the IoService class and noticed that there are some fields that would be nice to have: long getCreationTime(); long getReadBytes(); long getWrittenBytes(); long getReadMessages(); long getWrittenMessages(); These methods are in the IoSession interface, and thought

Re: IoService question

2006-11-27 Thread Mark Webb
panded to have more and more details. I'm thinking about 3 monitoring profiles (low, medium, high) that gives a growing number of information details. Mark Webb wrote: >I was looking at the IoService class and noticed that there are some fields >that would be nice to have: &g

documentation link problem

2006-11-27 Thread Mark Webb
This page http://mina.apache.org/documentation.html contains an error (I think). Go to the previously mentioned page, and click "Configuring a Thread Model". You are prompted to log in. Not sure this is what we want. Thanks.

Re: IoService question

2006-11-27 Thread Mark Webb
performance impact and at the same time ensure a thread safe solution. -- Gato -Original Message- From: Trustin Lee [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 4:53 PM To: dev@mina.apache.org Subject: Re: IoService question On 11/27/06, Mark Webb <[EMAIL PROTECTED]>

Re: documentation link problem

2006-11-27 Thread Mark Webb
OK. sorry. On 11/27/06, Trustin Lee <[EMAIL PROTECTED]> wrote: On 11/28/06, Mark Webb <[EMAIL PROTECTED]> wrote: > > This page http://mina.apache.org/documentation.html contains an error > (I think). Go to the previously mentioned page, and click > "Configuri

Re: IoService question

2006-11-27 Thread Mark Webb
added a JIRA entry. Number 317, and also added a patch to support creation time. Will start working on the others... On 11/27/06, Mark Webb <[EMAIL PROTECTED]> wrote: That is what I was thinking. the concurrent.atomic package is your friend :) On 11/27/06, Gaston Dombiak <[EMAIL

Re: logo tweaks

2006-11-28 Thread Mark Webb
I agree with Jeroen, the bottom pics are better. On 11/28/06, Jeroen Brattinga <[EMAIL PROTECTED]> wrote: I prefer the bottom left (or right) one. It gives the logo more depth. The current color of the second ring is too similar and unbalanced IMO. Jeroen Brattinga 2006/11/28, Trustin Lee <

Re: IoService question

2006-11-28 Thread Mark Webb
TED]> wrote: On 11/28/06, Mark Webb <[EMAIL PROTECTED]> wrote: > > That is what I was thinking. the concurrent.atomic package is your friend > :) > > On 11/27/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: > > Hey Guys, > > > > I'm 100% new to MINA

Re: IoService question

2006-11-29 Thread Mark Webb
Is that 24,000 connections every 10 seconds? nice! On 11/29/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: Trustin Lee schrieb: > Hi Gaston, > > On 11/29/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: >> >> Sounds good to me. BTW, do you have an estimate (or range) for MINA 2.0 ? >> Today I re

list of developed protocols

2006-12-08 Thread Mark Webb
Does anyone think it would be a good idea to list publicly available MINA protocol implementations? For instance, if there is a protocol handler that someone has written(WebDAV, SMTP, FTP..etc) it would be put on this list. The list could be referenced on the MINA web site. What do you think?

Re: list of developed protocols

2006-12-11 Thread Mark Webb
PM To: dev@mina.apache.org Subject: Re: list of developed protocols Hi Mark, On 12/9/06, Mark Webb <[EMAIL PROTECTED]> wrote: > > Does anyone think it would be a good idea to list publicly available > MINA protocol implementations? Yes, it's a great idea. For instance, if t

Re: epoll support for Linux in JDK 6 and JDK 5 update 10

2006-12-12 Thread Mark Webb
wow. faster MINA. Just when you think it isn't possible to go any faster. On 12/11/06, Mike Heath <[EMAIL PROTECTED]> wrote: Good news for MINA users who use Linux. Java 6 SE and and Java 5 update 10 both have support for epoll on Linux. Using epoll should provide a significant performance

anyone else ever see this?

2006-12-12 Thread Mark Webb
We are in wikipedia!! http://en.wikipedia.org/wiki/Mina

Re: anyone else ever see this?

2006-12-13 Thread Mark Webb
Trustin - It looks like alot of the links in the FAQ have a "%3F" at the end of the link, and therefore when you click the link, nothing happens. ..Cheers Mark On 12/13/06, Trustin Lee <[EMAIL PROTECTED]> wrote: On 12/13/06, Mark Webb <[EMAIL PROTECTED]> wrote: &

Re: anyone else ever see this?

2006-12-13 Thread Mark Webb
e, just not on the FAQ page directly. Since the TOC is automatically generated I see two options: - possible bug in Confluence? Maybe an update is available - don't use questionmarks.. ? (HTML questionmark) doesn't work unfortunately -- Jeroen Brattinga 2006/12/13, Mark W

Re: anyone else ever see this?

2006-12-13 Thread Mark Webb
where can I get this CLA? Where do I fax it to? On 12/13/06, Julien Vermillard <[EMAIL PROTECTED]> wrote: Le mercredi 13 décembre 2006 à 09:59 -0500, Mark Webb a écrit : > Trustin - > > How can one update the Wiki without continuously posting messages to this list? > >

Re: MINA & Wildfire blog

2006-12-20 Thread Mark Webb
great news. Also a good find for me on the load testing (Tsung). I really don't like jmeter all that well. On 12/19/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: Today we posted a blog entry with some of our load testing results now that Wildfire is using MINA. http://www.igniterealtime.or

Re: Some questions (slf4j , how to reduce thread count, accessing session IP address)

2006-12-29 Thread Mark Webb
As far as #1 goes, http://www.slf4j.org/download.html. The rest, I can look in to, but am sure some smarter person on this list will beat me to the answer. On 12/29/06, Mehmet D. AKIN <[EMAIL PROTECTED]> wrote: Hi, I have three questions (Using mina 1.1 pre release snapshot) 1. I failed to fi

Re: MINA Example compile issue

2007-01-02 Thread Mark Webb
What JDK are you using? On 1/2/07, afa654321 <[EMAIL PROTECTED]> wrote: Hello, I'm having toruble compiling the EchoServer exmaple with the following trace(MINA V.1.0.1): Exception in thread "main" java.lang.VerifyError: class edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractO

Re: MINA Example compile issue

2007-01-03 Thread Mark Webb
ith JDK 1.5.0.06 as well. Mark Webb-4 wrote: > > What JDK are you using? > > On 1/2/07, afa654321 <[EMAIL PROTECTED]> wrote: >> >> >> Hello, >> >> I'm having toruble compiling the EchoServer exmaple with the following >> trace(M

mina proxy question

2007-01-12 Thread Mark Webb
I was wondering if it is possible to write a proxy that accepts multiple, concurrent connections on one side and pushes the data out the other side in serial? The data coming back would be serial and pushed out concurrently. The biggest problem I am running in to is that the responses that I am s

Re: mina proxy question

2007-01-12 Thread Mark Webb
On 1/12/07, Mark Webb <[EMAIL PROTECTED]> wrote: > I was wondering if it is possible to write a proxy that accepts multiple, > concurrent connections on one side and pushes the data out the other side in > serial? The data coming back would be serial and pushed out concurrently. &g

Re: mina proxy question

2007-01-14 Thread Mark Webb
Thanks for the information. I will give your idea a shot. On 1/14/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi Mark, On 1/13/07, Mark Webb <[EMAIL PROTECTED]> wrote: > > yes. Think of it as a multi-threaded web server going to a single > threaded > database,

Re: Mina 1.0.1 on Windows XP (SP2)

2007-01-16 Thread Mark Webb
Is there any code you can post that would help us? On 1/16/07, Akbar Munir <[EMAIL PROTECTED]> wrote: I have been using Mina 0.8 for a while now. When 1.0 came out, I tried to upgrade but was having the most basic problem of not being able to receive any message on the server side. Other IoHan

Re: Separating MINA ByteBuffer classes into a new JAR package.

2007-02-16 Thread Mark Webb
splitting the ByteBuffer code out into a separate jar file sounds good to me. I know of some programs that I am working with that do not perform any network I/O could still make good use of a small, stand-alone jar file without bringing along the MINA I/O classes +1 On 2/16/07, John E. Conlon <

slightly OT - Intel vs AMD with java

2007-02-21 Thread Mark Webb
I am working on a system that uses MINA, and I need to spec out some hardware. I am not sure if I should get AMD or Intel processors. Has anyone seen benchmarks using Java with the new multi-core processors? From java's perspective, is there much difference? TIA -- ..Cheers Mark

Re: What tutorials do we need sooner?

2007-02-22 Thread Mark Webb
On 2/22/07, mat <[EMAIL PROTECTED]> wrote: Hi, From the point view of a beginner, the flow chart of how MINA working which could help us to understand the source code and all the tech used in MINA(thread handling, message queue) well will be very helpful. +1 Thanks. 2007/2/22, Trust

Re: What tutorials do we need sooner?

2007-02-22 Thread Mark Webb
Another good tutorial might be for when/why/how to use codecs... On 2/21/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi folks, Assuming that we won't have many bugs left in 1.x branch, I'd like to write as many tutorials as I can to attract more people to the MINA community to help them develo

Re: What tutorials do we need sooner?

2007-02-22 Thread Mark Webb
Not sure I agree that good documentation is the last thing, but Marcin brings up some fantastic points. Maybe we are thinking too advanced here in our documentation. I would bet that there are alot of people who may not fully understand Event driven frameworks. I have read some SEDA documentati

Re: Proxy server using Mina

2007-02-22 Thread Mark Webb
so you are using the same acceptor to service the 200-300 ports? I would think that this would work, since an acceptor would have to handle the same data if it were all coming in on the same port. It certainly would not hurt to try and test your system with more than one acceptor though, just ke

streaming proxy

2007-02-27 Thread Mark Webb
Has anyone tried to tackle the problem of a streaming proxy using MINA? I was interested in this as maybe a video stream processor. Let me know if anyone has done any work in this area. -- ..Cheers Mark

Re: [VOTE] Please Review the First Tutorial: Configuring Thread Model

2007-03-05 Thread Mark Webb
the trunk can be considered 2.0, even though it is not an "official release" yet. On 3/5/07, Coding Horse <[EMAIL PROTECTED]> wrote: The tutorial says: MINA 2.0 and later versions doesn't have ThreadModel anymore. Please skip this section if you are using them. I started learning/playing with

documentation and JIRA

2007-03-05 Thread Mark Webb
I had a thought (I know, rare) that we should enter in documentation requests into JIRA. This way we can work documentation issues just like software bugs. I, for one, would like to help out with both documentation as well as bug fixing/feature improvements. If I feel like tackling a documentat

Re: [VOTE] What tutorials do we need sooner?

2007-03-05 Thread Mark Webb
While I agree that MINA is a great system, and the documentation needs help, I am not sure that the MINA documentation should support tutorials on Java I/O and networking. Maybe we should just provide links to sites that already provide good documentation on these subjects. On 3/5/07, Coding H

Re: [VOTE] What tutorials do we need sooner?

2007-03-05 Thread Mark Webb
rs to quick understand/start using mina if there is an introduction article(tutorial?) summarizing(and referring to) important concepts like "Future", "Excecutor", "Filter" etc. Then it'll be easier to understand Trusin's tutorial. Mark Webb-4 wrote: >

Re: [VOTE] What tutorials do we need sooner?

2007-03-05 Thread Mark Webb
disagree On 3/5/07, Coding Horse <[EMAIL PROTECTED]> wrote: I'm quite sure 90% of current java programmers, like me, will think "tomorrow" instead of "a standard interface" when you tell him/her "Future in Java". But to understand mina one must know Future interface. -- View this message in

Re: SOS!!!.............org.apache.mina.common.BufferDataException: Object length should be greater than 4: 0

2007-03-05 Thread Mark Webb
Try this... http://www.nabble.com/RE%3A-ObjectSerialization-problem-p7830060.html On 3/5/07, Monajit Choudhury <[EMAIL PROTECTED]> wrote: Hi I am trying to mix the proxy example with the sumup example.So all client requests in the in the sumup example goes via this proxy.In the proxy I have a

Re: ExecutorFilter Problem

2007-03-05 Thread Mark Webb
you either do not have this line in your java file: import edu.emory.mathcs.backport.java.util.concurrent.Executors; or you do not have this in your classpath: http://dcl.mathcs.emory.edu/util/backport-util-concurrent/ On 3/5/07, mat <[EMAIL PROTECTED]> wrote: connector.getFilterChain().addLa

Re: SOS!!!.............org.apache.mina.common.BufferDataException: Object length should be greater than 4: 0

2007-03-05 Thread Mark Webb
Regds Monajit -Original Message- From: Mark Webb [mailto:[EMAIL PROTECTED] Sent: Mon 3/5/2007 2:41 PM To: dev@mina.apache.org Subject: Re: SOS!!!.org.apache.mina.common.BufferDataException: Object length should be greater than 4: 0 Try this... http://www.nabble.com

Re: SOS!!!.............org.apache.mina.common.BufferDataException: Object length should be greater than 4: 0

2007-03-05 Thread Mark Webb
ere it fails. Regds Monajit -Original Message- From: Mark Webb [mailto:[EMAIL PROTECTED] Sent: Mon 3/5/2007 3:52 PM To: dev@mina.apache.org Subject: Re: SOS!!!.org.apache.mina.common.BufferDataException: Object length should be greater than 4: 0 Are you using a serialization

Re: [IRC] Should we create a mina-dev channel?

2007-03-06 Thread Mark Webb
Unless there is a way to access IRC via a browser(port 80/443), I won't be able to use it at work. We could all just get gmail accounts and talk :P On 3/5/07, Trustin Lee <[EMAIL PROTECTED]> wrote: 2007-03-05 (월), 09:44 -0500, Alex Karasulu 쓰시길: > Hi folks, > > Right now we have two projects o

Re: MINA vs.?

2007-03-06 Thread Mark Webb
The only thing that comes to mind is ACE. There is a java version of ACE ( http://cvs.doc.wustl.edu/JACE/), but I know nothing about it. On 3/6/07, Harold Combs <[EMAIL PROTECTED]> wrote: Justin, I know of no OpenSource implementation, but one (rather old) idea that seems similar to MINA is

Re: MINA vs.?

2007-03-06 Thread Mark Webb
this could be interesting to benchmark On 3/6/07, James Im <[EMAIL PROTECTED]> wrote: MINA vs Grizzly of course https://grizzly.dev.java.net/ Grizzly is used in GlassFish But I would prefer to see MINA 1.0 vs MINA 2.0

Re: MINA vs.?

2007-03-06 Thread Mark Webb
check the trunk out of subversion On 3/6/07, Stanczak Group <[EMAIL PROTECTED]> wrote: MINA 2.0? Where is this? I saw it referenced, but don't know where to get it. James Im wrote: > MINA vs Grizzly of course > > https://grizzly.dev.java.net/ > > Grizzly is used in GlassFish > > > But I wo

Re: Low throughput

2007-03-07 Thread Mark Webb
Is this data that is going to each port the same? Or are some ports getting more data than others? You might be able to share acceptors across different ports. On 3/6/07, Monajit Choudhury <[EMAIL PROTECTED]> wrote: Its throughput. Sorry for the spell mistake :-). And the sample size was abou

Re: [VOTE] What tutorials do we need sooner?

2007-03-07 Thread Mark Webb
which slides? On 3/6/07, Stanczak Group <[EMAIL PROTECTED]> wrote: I think that that graphic from the slides that shows the flow of MINA (at a glance slide 12) would be great on the site with more detail. Maybe that could cover the terminology some. Maybe create an image map with fly-outs showi

Re: Low throughput

2007-03-07 Thread Mark Webb
in the acceptors and connectors, is it more scalable to have one acceptor/connector per port? Regds Monajit -Original Message- From: Mark Webb [mailto:[EMAIL PROTECTED] Sent: Wed 3/7/2007 6:19 AM To: dev@mina.apache.org Subject: Re: Low throughput Is this data that is going to each port the sam

testing mina

2007-03-07 Thread Mark Webb
What does everyone use to test the throughput/load/etc of MINA. I have always had a love/hate relationship with jmeter, and wondered if anyone uses anything else. Thank you. -- ..Cheers Mark

Re: testing mina

2007-03-08 Thread Mark Webb
exactly. I think we should agree on a test tool and write test plans that can go into the baseline. On 3/8/07, James Im <[EMAIL PROTECTED]> wrote: Mark Webb wrote: >What does everyone use to test the throughput/load/etc of MINA. I have >always had a love/hate relationship with

Re: testing mina

2007-03-08 Thread Mark Webb
nal Message- From: James Im [mailto:[EMAIL PROTECTED] Sent: Thu 3/8/2007 10:05 AM To: dev@mina.apache.org Subject: Re: testing mina another testing tool: Grinder http://grinder.sourceforge.net/ Mark Webb wrote: >exactly. > >I think we should agree on a test tool and write test plans th

Re: testing mina

2007-03-08 Thread Mark Webb
result in a tabular format.I have modified the sumup client to work as a Jmeter sampler and it worked pretty neat.If you need I can send the file to you. Regds Monajit -Original Message- From: Mark Webb [mailto:[EMAIL PROTECTED] Sent: Thu 3/8/2007 11:05 AM To: dev@mina.apache.org Subject:

Re: testing mina

2007-03-08 Thread Mark Webb
u will be good to go. Regds Monajit -Original Message- From: Mark Webb [mailto:[EMAIL PROTECTED] Sent: Thu 3/8/2007 11:20 AM To: dev@mina.apache.org Subject: Re: testing mina sure. I'd take a look at it. Do you have the jmeter config file as well? Thanks. On 3/8/07, Monajit Choudh

Re: testing mina

2007-03-08 Thread Mark Webb
Monajit - You could send them to me [EMAIL PROTECTED] Thank you On 3/8/07, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: Apache ML don't support attachements, for many reasons. Just use JIRA for that. On 3/8/07, Monajit Choudhury <[EMAIL PROTECTED]> wrote: > > Well, I guess, this list doesnt

echo server example

2007-03-12 Thread Mark Webb
I am trying to get the Echo server example working in the 1.1 branch with a simple telnet application. I hope to use this echo server for more in the near future, but I have run into a problem I can't seem to fix. I start up the EchoServer example and telnet to port 8080. I type in something li

Re: echo server example

2007-03-12 Thread Mark Webb
Correction on the email. I can get the linux 'telnet' program to work with the EchoServer, but not my program whose code is listed below. On 3/12/07, Mark Webb <[EMAIL PROTECTED]> wrote: I am trying to get the Echo server example working in the 1.1 branch with a simple telnet

Re: echo server example

2007-03-12 Thread Mark Webb
urn -1 and will wait for more data. You probably have read the whole String. Mark Webb wrote: >Correction on the email. I can get the linux 'telnet' program to work with >the EchoServer, but not my program whose code is listed below. > > >On 3/12/07, Mark Webb <[EMAIL P

Re: echo server example

2007-03-12 Thread Mark Webb
in the Echo Server's messageReceived method, I put a session.close() call in, and everything works fine. On 3/12/07, Mark Webb <[EMAIL PROTECTED]> wrote: I believe that is exactly what the problem is. Should EchoServer close the connection, or is it designed to just read forever

Re: echo server example

2007-03-12 Thread Mark Webb
, Mark Webb <[EMAIL PROTECTED]> wrote: in the Echo Server's messageReceived method, I put a session.close() call in, and everything works fine. On 3/12/07, Mark Webb < [EMAIL PROTECTED]> wrote: > > I believe that is exactly what the problem is. Should EchoServer close >

Re: echo server example

2007-03-13 Thread Mark Webb
imeout exception by setting SO_TIMEOUT. HTH, Trustin On 3/13/07, Mark Webb <[EMAIL PROTECTED]> wrote: > > I think I found a better solution. I put in a call to session.close() in > the messageWritten method of the IoHandler. This way I make sure the > message gets written be

StreamIoHandler vs IoHandlerAdapter with HTTP

2007-03-13 Thread Mark Webb
I was looking at the 2 HTTP examples in Mina1.1, and have always wondered this: Why, if at line 50 of org.apache.mina.example.httpserver.stream.HttpProtocolHandler a comment says "You *MUST* execute stream I/O logic in a separate thread." there is a stream based HTTP server example? Is this just

mina 1.1 and maven

2007-03-13 Thread Mark Webb
I am starting a project in which I will be using maven. One of the dependencies is for MINA 1.1. Could someone assist me in how to set up my pom.xml file to properly get the MINA 1.1 jar file(s). Thank you. -- ..Cheers Mark

Re: MINA benchmarking issue

2007-03-13 Thread Mark Webb
this is certainly an interesting idea. An idea that I recall from reading some SEDA papers. An implementation such as this would require constant monitoring of CPU, bandwidth, memory footprint..etc. CPU could be handled by a custom Executor. Bandwidth could be monitored using the MINA JMX code

Re: Not able to execute any sample program

2007-03-14 Thread Mark Webb
select one example you would like to get working, and we can help walk you through. On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am not using maven and no plans to use though since we use ant in our project. Right now, I am evaluating MINA and Grizzly and need to decide which one

Re: Not able to execute any sample program

2007-03-14 Thread Mark Webb
you could import an example into Eclipse. I would recommend importing the entire MINA source tree into eclipse. You may have to gather up some jar files in order to make everything work. Once you have the source tree in Eclipse, you can run the examples. As for your question on test data, depe

Re: Shutting down a server elegantly

2007-03-21 Thread Mark Webb
you could do something like: new Throwable().printStackTrace(); On 3/21/07, Nicolas FROMENT <[EMAIL PROTECTED]> wrote: Hi all ! I think I have the same problem. Only on linux, when I shutdown my server and try to restart it immediatly I got an Address Already In Use message. I use unbindAll

Re: How to test my application written by mina

2007-03-29 Thread Mark Webb
maybe junit for stability. jmeter for capacity. On 3/29/07, mat <[EMAIL PROTECTED]> wrote: I already wrote a server by using mina. However, I just wonder how I can test my server's stablabity and capacity? -- ..Cheers Mark

Re: Tutorial List: Any more to come?

2007-03-29 Thread Mark Webb
I would like to help out, what format would you like the tutorials in (HTML, PDF..)? On 3/29/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi folks, I updated the list of 'coming soon' tutorials according to the recent discussion. Although I didn't write anything yet, at least it will remind co

Re: Tutorial List: Any more to come?

2007-03-30 Thread Mark Webb
Maybe I just don't know how to edit the wiki. I can log in to the wiki, but not sure how to add/update a new page. On 3/29/07, Trustin Lee <[EMAIL PROTECTED]> wrote: On 3/30/07, Mark Webb <[EMAIL PROTECTED]> wrote: > I would like to help out, what format would you like th

Re: Tutorial List: Any more to come?

2007-03-30 Thread Mark Webb
If you want to, make an HTML or Word document and I'll sent it to the Wiki. Please don't get unmotivated because of technical concerns. Even in notepad if you will!! But please write it!! =o) Thanks! Rodrigo Madera On 3/30/07, Mark Webb <[EMAIL PROTECTED]> wrote: > > Ma

Re: Tutorial List: Any more to come?

2007-03-30 Thread Mark Webb
will do that this weekend. I already have an account (elihusmails). Thank you. On 3/30/07, Maarten Bosteels <[EMAIL PROTECTED]> wrote: On 3/30/07, Mark Webb <[EMAIL PROTECTED]> wrote: > I started working on the JMX tutorial last night. I would like to be able > to: >

Re: Branch 1.1 and trunk now fully uses Java 5 Generics and covariant return types.

2007-04-03 Thread Mark Webb
I love seeing no errors or warnings in eclipse !!! On 4/3/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi community, Today, I embarked myself in removing compiler warnings related to Java 5 Generics. I reviewed the core API overally, fixed most warnings, and applied Generics where possible. T

Re: A tutorial for JMX integration

2007-04-09 Thread Mark Webb
ct: A tutorial for JMX integration > Hi folks, > > Mark Webb has uploaded a tutorial for JMX integration: > > http://mina.apache.org/jmx-integration.html > > I am so happy to see people continue contributing documentation for MINA! > > Cheers, > Trustin > -- > wha

Re: A tutorial for JMX integration

2007-04-09 Thread Mark Webb
I just tested the code in the tutorial, and it works with versions 1.0 and greater. I updated the tutorial to reflect this. On 4/9/07, Michael Grundvig <[EMAIL PROTECTED]> wrote: Thanks Mark, the tutorial is very helpful! Mike - Original Message - From: "Mark We

Re: A tutorial for JMX integration

2007-04-09 Thread Mark Webb
would be very helpful if there was a comparison between versions 1.0, 1.1and 2.0, since some things have changed. This document could also be short and up-to-the-point, just so we can get a grasp on things. Anyone has the knowledge to do this? Rodrigo On 4/9/07, Mark Webb <[EMAIL PROTECTE

Core API comparison document (Was Re: A tutorial for JMX integration)

2007-04-09 Thread Mark Webb
<[EMAIL PROTECTED]> wrote: I'm not talking about JMX =o) I mean on the core side of things. I remember seeing a comment from Trustin saying that some things changed from 1.0 -> 1.1 -> 2.0 in regards to API. Am I wrong? On 4/9/07, Mark Webb <[EMAIL PROTECTED]> wrote: > >

getting started guide

2007-04-10 Thread Mark Webb
I have added a tutorial that walks a new user through the process of developing a MINA based application. In this case, the tutorial shows the user how to write a time server. Take a look at the document and let me know what you think. http://mina.apache.org/quick-start-guide.html Thank you.

Re: getting started guide

2007-04-10 Thread Mark Webb
out.println("MINA Time server started."); > } > } > > As you can see, there's a litlle difference. > Maarten > > > On 4/10/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Mark, > > > > Could you also provide a 2.0 version of it

Re: getting started guide

2007-04-10 Thread Mark Webb
ence to the codec tutorial (yet to be written) would be sufficient. And maybe mention the possibility to add an ExecutorFilter, or add a link to http://mina.apache.org/configuring-thread-model.html fixed. Maarten On 4/10/07, Mark Webb <[EMAIL PROTECTED]> wrote: > > I have add

Re: getting started guide

2007-04-10 Thread Mark Webb
, Rodrigo Madera <[EMAIL PROTECTED]> wrote: In my opinion, whichever you choose is fine. Trustin, what are the plans for 2.0? Will it eventually replace 1.x or is it planed to branch independently? Rodrigo On 4/10/07, Mark Webb <[EMAIL PROTECTED]> wrote: > > I could just add a &quo

Re: [VOTE] Release MINA 1.1.0

2007-04-10 Thread Mark Webb
+1 On 4/10/07, Mike Heath <[EMAIL PROTECTED]> wrote: +1 On 4/5/07, Trustin Lee <[EMAIL PROTECTED]> wrote: > 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 covaria

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 pic

Re: http stream based output

2007-04-12 Thread Mark Webb
Based on previous discussions on this mailing list, I think that the 'codec' based HTTP example is the preferred method. If you are placing each line in to a HashMap as per the example, this could be your problem because HashMaps do not guarantee order. Check the API javadocs for more informatio

Re: http stream based output

2007-04-12 Thread Mark Webb
Sorry. Its not a HashMap, but a TreeMap. http://mina.apache.org/report/1.1/xref/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.html#69 TreeMaps use natural ordering, so I am still not sure that ordering can be guaranteed. The reason I mention ordering is that when you pull the i

Re: http stream based output

2007-04-12 Thread Mark Webb
ok. I think I understand your problem and was able to reproduce it. The first thing that jumps out at me is that you are using BufferedWriter. The problem here is that, your output stream is buffered. I would suggest placing a call to out.flush() after writing out your "" string. On my machine

Re: http stream based output

2007-04-12 Thread Mark Webb
I wrote a handler that used an OutputStream and a StringBuffer. Once I did this, I could not reproduce your problem. Before I made this change, I could reproduce your problem. BTW, I am testing this using MINA 2.0. -- START --

Re: [VOTE][RESULT] Releasing MINA 1.1.0

2007-04-13 Thread Mark Webb
* Mike Heath * Mark Webb I deployed all artifacts to the Maven repository sync area and all distributions to the official download area. Let me announce the release after updating our web site. Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP

Re: 1000+ simultaneous connections with data transfer?

2007-04-19 Thread Mark Webb
What about... acceptor = new SocketAcceptor(Runtime.getRuntime().availableProcessors()+1, Executors.newFixedThreadPool(50)); -- ..Cheers Mark On 4/19/07, Richard Lowe <[EMAIL PROTECTED]> wrote: Hi Peter, Thanks again for your help. This is the code that I'm currently using for my Socket

Re: OutOfMemory Exception

2007-04-24 Thread Mark Webb
depending on your machine, I would increase the MaxDirectMemorySize parameter to maybe 512M to start with. -- ..Cheers Mark On 4/24/07, mat <[EMAIL PROTECTED]> wrote: Hi folks, Out of direct buffer memory exception occured again. I already did ByteBuffer.setUseDirectBuffers(false); //

Re: Permanent solution for OOM errors

2007-04-25 Thread Mark Webb
Maybe one approach would be to categorize the ways in which people reach OOM conditions. Do these conditions happen only when the input and/or output queues get really large, or are there other reasons. Once we can start to categorize the OOM conditions that users are experiencing, we can properl

Re: UDP protocol examples

2007-04-25 Thread Mark Webb
The UDP protocol handlers are the same as the TCP protocol handlers. You can create a class that extends IoHandlerAdapter, and override any methods in that class. The only difference in your program is that you will use a DatagramAcceptor instead of a SocketAcceptor. If you would like a sample p

Re: Adding more than one filter of the same type.

2007-04-26 Thread Mark Webb
If the string manipulation/comparison/etc is a problem with using too many CPU cycles, could we just just an int or long and give each filter an id? This might also aid in the ordering. The developer should always know the name or id of a filter, so it should not make things any more complex. O

Re: Adding more than one filter of the same type.

2007-04-26 Thread Mark Webb
between 10 and 20, you have plenty of slots available. We could also expose a method that would return a filter's id in the chain. -- ..Cheers Mark On 4/26/07, Trustin Lee <[EMAIL PROTECTED]> wrote: On 4/26/07, Mark Webb <[EMAIL PROTECTED]> wrote: > If the string manipulati

  1   2   3   4   5   >