Re: code formatting rules

2006-11-16 Thread Emmanuel Lecharny
Hey, Julien, whatever coding standard you want to use, just use some :) I just gathered the one we were _currently_ using, but it's pretty much a de facto standard. I'm pretty sure that MINA should have its own set of rules, as any project. Feel free to get the one we have in ADS and modify

Re: JRockit vs Sun JDK

2006-12-13 Thread Emmanuel Lecharny
Interesting... What about IBM JVM ? Emmanuel On 12/13/06, Vinod Panicker [EMAIL PROTECTED] wrote: Hi, I ran my usual load test on JDK 6 and JRockit 5 and was surprised to see that JRockit did extremely poorly as compared to the Sun JVM. In terms of CPU utilization, for a user load of 10k,

Re: JRockit vs Sun JDK

2006-12-13 Thread Emmanuel Lecharny
space for huge optimization in Sun JVM ;) On 12/13/06, Vinod Panicker [EMAIL PROTECTED] wrote: On 12/13/06, Robert Greig [EMAIL PROTECTED] wrote: On 13/12/06, Emmanuel Lecharny [EMAIL PROTECTED] wrote: In terms of CPU utilization, for a user load of 10k, the Sun JVM used up 45% cpu while

Re: unsubscribe

2006-12-13 Thread Emmanuel Lecharny
Sorry Alessandro, but it won't work this way :) Just submit an _NON BLANK_ message, with a subject, too (could be unsubscribe [EMAIL PROTECTED]) to [EMAIL PROTECTED] [EMAIL PROTECTED] Sending a unsubscribe message to dev@mina.apache.org won't be enough for us to remove you from the list :) On

Re: Tabs or spaces for MINA source code?

2007-01-13 Thread Emmanuel Lecharny
Jeroen Brattinga a écrit : Spaces have the advantage of a universal consistent layout. And most IDEs have an option to convert or use spaces instead of tabs. Oh, and the tabspacing of 8 is IMO ridiculous ... that would lead to a very wide layout. Space. Not tabs. 4 spaces. final. Emmanuel.

Re: Duplicate messages

2007-01-17 Thread Emmanuel Lecharny
Nicolas FROMENT a écrit : As you seem convinced that my decoder is wrong can i suggest that Mina can failed too ? :) As a rule of thumb, for any library that has been widely used for more than one year, I would suggest the following steps : 1) first, suspect your program. This is basically

Re: Duplicate messages

2007-01-18 Thread Emmanuel Lecharny
: Thanks for your methodology advices, it was indeed mea culpa. My sentence might seem rude, I feel sorry for that... My problem is solved and was business related. Thanks you all for your time and help. Nicolas Emmanuel Lecharny a écrit : Nicolas FROMENT a écrit : As you seem convinced

Re: Anyone get's experience with IBM JVM ?

2007-01-18 Thread Emmanuel Lecharny
I have tested Apache DS with Sun JDK, IBM J9 and JRockit, either 1.4.x and 5.0 java VM. It was on intel processors, and Linux (FC5 an Ubuntu). So far, no problem. AIX is another beast... FYI, performance I got with IBM JVM was much better than with Sun JDK (around 30% better), and jrockit was

Re: Error while executing the MINA example - echoserver (with SSL)

2007-01-25 Thread Emmanuel Lecharny
What abbout testing with https://... instead of http://... ? On 1/25/07, giri reddy [EMAIL PROTECTED] wrote: Here i am not using the MINA client, i am just hitting the service with the url: http://localhost:8080 Regards Sai -Original Message- From: Niklas Therning [mailto:[EMAIL

Re: How the Apache MINA uses SSL certificates?

2007-01-25 Thread Emmanuel Lecharny
You may have a look here : http://cwiki.apache.org/DIRxSRVx10/how-to-enable-ssl.html#HowtoenableSSL-Serverconfiguration This is not directly MINA related at first glance, but as Apache DirectoryServer is based on MINA, if you follow this doco, you will setup a keystore for MINA. Hope it helps.

Re: First release of File Asynchronous File I/O library

2007-02-01 Thread Emmanuel Lecharny
I guess you are only responsible for a mistake when you know the rules :) As Alex said, this is PMC to check that those rules are not broken... Regarding 'snapshot', the best thing would be to use a continue build system (continuum ?) so that the build is done every night, and store somwhere on

Isn't MINA a TLP now?

2007-02-07 Thread Emmanuel Lecharny
Hi guys, it's pretty strange : there is no link to MINA on the apache.org main site... Any idea ? -- Cordialement, Emmanuel Lécharny www.iktek.com

New Apache Directory Web site HowTo

2007-02-08 Thread Emmanuel Lecharny
Hi guys, Pierre-Arnaud Marcelot and Ersin Er have done a tremendous work last week to brush our website, which is based on confluence. Now, when we modify a page on confluence, it is immediatly reflected on the web site (of course, we use a template plus some CSS). Pierre-Arnaud wrote a very

Re: Isn't MINA a TLP now?

2007-02-10 Thread Emmanuel Lecharny
robert burrell donkin a écrit : it's pretty strange : there is no link to MINA on the apache.org main site... Any idea ? submit a patch ;-) - robert Sometime, I feel just like being a lazzy dog... the Nike attitude (just do it) coupled with a good RTFM helps ! Here is the patch I

Re: [VOTE] Release MINA 1.0.2

2007-02-14 Thread Emmanuel Lecharny
[X]: +1: Release -- Cordialement, Emmanuel Lécharny www.iktek.com

Re: [VOTE] Release MINA 1.0.2

2007-02-14 Thread Emmanuel Lecharny
Why doesn't DIRMINA-352 appear on the roadmap ? Because there is no Fix/Version associated. There is only an Affects Version : 1.1.0 info. -- Cordialement, Emmanuel Lécharny www.iktek.com

Re: ASN.1 support

2007-03-06 Thread Emmanuel Lecharny
Pat Farrell a écrit : Trustin Lee wrote: Apache ASN.1 (under Apache Directory project) doesn't implement all ASN.1 encodings yet. IIRC, it only supports BER, which is being used by LDAP. ASN.1 is evil, IMHO. Evilness is a question of which religion is yours. The point is that many

Re: testing mina

2007-03-08 Thread Emmanuel Lecharny
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 support attachments. -- Cordialement, Emmanuel Lécharny www.iktek.com

Re: unsubscribe

2007-03-20 Thread Emmanuel Lecharny
It's not the way it works. Sending a message whose subject and body contains '*unsubscribe*' to [EMAIL PROTECTED][EMAIL PROTECTED]body=unsubscribein plain text format will unsubscribe you from the mailing list though. You can actually send an empty or rich text message to unsubscribe, but our

Re: MINA performance

2007-03-30 Thread Emmanuel Lecharny
Timur, FYI, the attached parts have been removed by the mailer. Could you just post them somwhere so we can read them ? The best solution would be to create a JIRA issue, and to attach those files into it. This is an interesting test you have done. Thanks a lot ! Emmanuel On 3/30/07, Timur I

Re: High latency in Mina ?

2007-03-30 Thread Emmanuel Lecharny
, if you see that MINA is slowing you down then the story is different. But I don't see that from your stats. Or may be I'm missing something. :) Regards, -- Gato -Original Message- From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 10:26 AM To: dev@mina.apache.org

Re: High latency in Mina ?

2007-03-30 Thread Emmanuel Lecharny
Csaba Endre Simon a écrit : Hi Emmanuel, Hi Csaba, I'm a little bit puzzled but some of the results I get. First of all, we are using MINA-1.0.1, with different JVM (JRockit, IBM, Sun) on different platforms (Linux, Mac OSx). The published results are on Linux? What kernel are you

[Fwd: Re: High latency in Mina ?]

2007-03-30 Thread Emmanuel Lecharny
Oops, I just forgot the reply all... ---BeginMessage--- Greg, I have done some more test, on the 'big server' ( 8 CPUs), changing the SocketAcceptor initialization with something like what you suggested : tcpAcceptor = new SocketAcceptor(

Re: [Fwd: Re: High latency in Mina ?]

2007-03-31 Thread Emmanuel Lecharny
Alex Karasulu a écrit : Emmanuel, I have done some more test, on the 'big server' ( 8 CPUs), changing the SocketAcceptor initialization with something like what you suggested : tcpAcceptor = new SocketAcceptor( Runtime.getRuntime().availableProcessors(), threadPoolExecutor

Re: [Fwd: Re: High latency in Mina ?]

2007-03-31 Thread Emmanuel Lecharny
James Im a écrit : Ok, so you seems to have missed a 'go fast' parameter. In my opinion, it is not your fault. It is mina that is not being user friendly. MINA should take care of these details itself. This optimization wisdom should be capture into mina so that everyone is not forced to be

Re: [VOTE] Release MINA 1.0.3

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

Re: [VOTE] Release MINA 1.1.0

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

Re: [OT] My wedding photos

2007-04-11 Thread Emmanuel Lecharny
Man, you both look so bright, like if the light comes from yourselves ! Please do me a favor : enjoy every single minute of your life together! Emmanuel -- Cordialement, Emmanuel Lécharny www.iktek.com

Re: What are the release plans for MINA 2.x

2007-04-11 Thread Emmanuel Lecharny
Deepak Nadig a écrit : Thanks, Deepak Hi Deepak, you can get info about 2.0.x roadmap here : http://issues.apache.org/jira/browse/DIRMINA?report=com.atlassian.jira.plugin.system.project:roadmap-panel However, don't expect a fixed date ... This is a volunteered based project :)

Re: New feature in 2.0: Request-Response Filter

2007-04-14 Thread Emmanuel Lecharny
gh_aiyz a écrit : Hi all, where can I get the latest code of mina 2.0? Hi, you can 'svn co http://svn.apache.org/repos/asf/mina/trunk/', this is the trunk, containing the 2.0.0 current development version Emmanuel

Re: Performance test reports page has been created.

2007-04-16 Thread Emmanuel Lecharny
Whaaaooo ! Pretty impressive results :) I wish some more tests could be done, because it just shows that Java is a perfect language for critical applications like a web server, or a ldap server (some people are still thinking that Java is slow, may be because they just stopped using java after a

Re: [ANNOUNCEMENT] Apache MINA 1.1.0 Released

2007-04-16 Thread Emmanuel Lecharny
I guess you subscribed to an apache mailing list in the past. Just unsubscribe, and you won't received any announcement. (and no need to SHOUT, we are not deaf :) Emmanuel On 4/16/07, Toby Miller [EMAIL PROTECTED] wrote: PLEASE BE ADVISED WE NEVER INSTALLED YOUR PROGRAM. THOUGH IT LOOKS

Re: Mina Exception

2007-04-18 Thread Emmanuel Lecharny
The DefaultExceptionMonitor class is a catch all for any uncaught exception (like OutOfMemoryExceptions). The error you get really mean you are short of memory. On 4/18/07, mat [EMAIL PROTECTED] wrote: hi there, thanks but why

Re: Apache mina 1.1.0 and russian letters from GET request

2007-05-16 Thread Emmanuel Lecharny
Can you show us the code you used to create the hz String ? Are you typing String hz = абв directly into your code ? In this case, you will have problems, unless your file is saved as UTF-8 encoded. As a rule of thumb, if you are using non-ascii chars into a String try to use the encoded Unicode

Re: Apache mina 1.1.0 and russian letters from GET request

2007-05-16 Thread Emmanuel Lecharny
from query string. Sorry for my english ^) 2007/5/16, Emmanuel Lecharny [EMAIL PROTECTED]: Can you show us the code you used to create the hz String ? Are you typing String hz = абв directly into your code ? In this case, you will have problems, unless your file is saved as UTF-8 encoded

Re: Coding stlye guide

2007-05-16 Thread Emmanuel Lecharny
Hi, I am not sure that MINA is still following the Directory project rules (I just don't remember if there were a vote about it or not last year). Anyway, here are the rules MINA used last year : http://cwiki.apache.org/confluence/display/DIRxDEV/Coding+standards Correct me, Trustin, if I'm

Re: Spring

2007-05-16 Thread Emmanuel Lecharny
mat a écrit : Can you explain more why Mina needs Spring? Mina does not need spring at all. But you can use Spring with Mina if you want. As trustin said, Spring is just a IoC container (http://www.springframework.org/) Mina itself is a framework, isn't it? It is. We use it in Apache

Re: Spring

2007-05-17 Thread Emmanuel Lecharny
mat a écrit : 2007/5/17, Emmanuel Lecharny [EMAIL PROTECTED]: mat a écrit : Can you explain more why Mina needs Spring? Mina does not need spring at all. But you can use Spring with Mina if you want. As trustin said, Spring is just a IoC container (http://www.springframework.org/) Mina

Re: Java doc 1.1.0 still remain in SNAPSHOT version.

2007-05-17 Thread Emmanuel Lecharny
Thanks for pointing the missing parts ! It would be great if you can fill a JIRA about them so that it won't be lost in the thousand mails in this mailing list :) Emmanuel mat a écrit : I also found out some source code were missing. CompressFilter.java for instance. 2007/5/17, Tan Ka Ju

Re: profiler

2007-05-22 Thread Emmanuel Lecharny
Hi mat, we are using Yourkit, which can be used inside Eclipse, but not as a plugin. Version 7 is a beta right now, but it works pretty well. I find it slick and easy to use. Emmanuel On 5/22/07, mat [EMAIL PROTECTED] wrote: Can anyone recommend a good java profiler and it will be better if

Re: grizzly versus mina

2007-05-26 Thread Emmanuel Lecharny
Mehmet D. AKIN a écrit : Still benchmarks presented in that document seems contradicting Trustin's benchmarks. In the presentation it says Grizzly with Async web is just a little faster than a C based web server but almost two times faster and scalable than Mina.But Trustin's test also

Re: IS MINA 1.1.0 compatabile with JAVA 6?

2007-05-28 Thread Emmanuel Lecharny
MINA 1.0.2 works well with Java 6, so far... Emmanuel On 5/28/07, Vinamra Singhai [EMAIL PROTECTED] wrote: Dear members, I would like to know whether MINA 1.1.0 is compatible with JAVA 6 or not? Thanks and Regards, Vinamra -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: DHCP Protocol Home (was: Re: [Vote] Sandboxing DHCP protocol)

2007-06-13 Thread Emmanuel Lecharny
Hi, Trustin, Alex, and band, I'm not available to comment a lot of what has been written (in an hotel, being busy all day long while working for one of my client). I will be short. I do think thate there are 2 misconception done about the 'protocols' we have under a Directory umbrella 1) We

Re: DHCP Protocol Home (was: Re: [Vote] Sandboxing DHCP protocol)

2007-06-14 Thread Emmanuel Lecharny
My opinion was very related to DNS. IMHO DNS is different from FPT, HTTP and SMTP because HTTP, FTP, SMTP clients (not protocol) will rely on DNS for hostname resolution and not viceversa. I don't really think that make any difference. A protocol is a protocol, whatever it depends on. The fact

Re: DHCP Protocol Home (was: Re: [Vote] Sandboxing DHCP protocol)

2007-06-14 Thread Emmanuel Lecharny
Specialy french who allways like too disagree :) french like to argument ;) I'm for waiting to see emerging code first, and discuss later. I'm actualy unable to manage to resolve a simple IN ADDR record with modified ADS DNS server, so I'm far of any usable server. Hmmm... It is supposed

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Emmanuel Lecharny
Ok, maybe the encoding scheme you are using (probably not US-ASCII) when including your java code in your mail made them considered as spams. Can you try to change the encoding for your mail with the pasted code to US-ASCII ? Attachements won't make their way to the ML, I'm afraid... If it

Re: How to use IoHandler in ClientSide

2007-06-20 Thread Emmanuel Lecharny
Btw, are you sending mails as HTML docs ? because they are all moderated, and it's a little bit painfull, as we have to accept them manually... Which mailer are you using ? Emmanuel On 6/20/07, 向秦贤 [EMAIL PROTECTED] wrote: Hi, There are some little java files. I zipped that files, and post

Re: 40 ms intermittent latency - large volume, small messages

2007-07-01 Thread Emmanuel Lecharny
Hi Colin if you are on Linux, you may want to disable the naggle algorithm : ((SocketSessionConfig)(acceptorCfg.getSessionConfig())).setTcpNoDelay( true ); I think it can change the performance *a lot* :) (Naggle algorithm will wait 25 ms before sending a packet, in order to send the less

Re: [VOTE] Release Apache MINA 1.0.4 1.1.

2007-07-17 Thread Emmanuel Lecharny
IMHO, the fact that some issue remains should not forbid a release. There is nothing wrong in releasing a new version as soon as the fix is provided. Postponing a release just because someone wants a specific issue to be fixed is the way to never release any version :) On 7/17/07, Adrian Sandor

Re: Site statistics

2007-07-20 Thread Emmanuel Lecharny
Hi trustin, it would be much more interesting if we know which user/password we have to use in order to see the numbers ;) FYI, we have used google analytics on directory.apache.org. On 7/20/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi folks, I've added free StatCounter script to

Re: Site statistics

2007-07-20 Thread Emmanuel Lecharny
When I click on the link you provided, I get On 7/20/07, Trustin Lee [EMAIL PROTECTED] wrote: On 7/20/07, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Hi trustin, it would be much more interesting if we know which user/password we have to use in order to see the numbers ;) All the numbers

Re: Site statistics

2007-07-20 Thread Emmanuel Lecharny
/07, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Hi trustin, it would be much more interesting if we know which user/password we have to use in order to see the numbers ;) All the numbers are public. Please let me know if you can't see the numbers. I set it up using my personal account. Because

Re: Site statistics

2007-07-20 Thread Emmanuel Lecharny
A ! it works better :) Thanks T-man ! On 7/20/07, Trustin Lee [EMAIL PROTECTED] wrote: I gave the wrong URL. Sorry for the confusion! http://my.statcounter.com/project/standard/stats.php?project_id=2754704guest=1 It should work now... Trustin -- what we call human nature is actually

Re: Coding ASN.1 Support

2007-07-24 Thread Emmanuel Lecharny
Hi Rodrigo, I can tell about LDAP codec support, as I was involved in the ASN.1 codec we are using in Apache Directory Server. So far, there is nothing existing to generate codec in MINA. We have started a lab called Dungeon (http://cwiki.apache.org/confluence/display/labs/dungeon), but due to

Re: Interesting question: does state machine hurt readability?

2007-07-26 Thread Emmanuel Lecharny
Like a State Machine ! (James brown) On 7/26/07, Alex Karasulu [EMAIL PROTECTED] wrote: Likewise! On 7/25/07, 向秦贤 [EMAIL PROTECTED] wrote: Just one word: Agree. 2007/7/26, Rodrigo Madera [EMAIL PROTECTED]: In my opinion, state machines are not only good but required on some contexts.

Re: Coding ASN.1 Support

2007-08-05 Thread Emmanuel Lecharny
Hi Abdulla, this is a very interesting news ! FYI, we have a labs going on (slowly) about a ASN.1 compiler, with a couple of person trying to spend a few hours here and there on it. Having a generic ASN.1 compiler (generating BER/DER/CER/XER and PER codec) in Apache would definitively be a big

Re: [VOTE] Releasing Apache MINA 1.0.5 and 1.1.2.

2007-08-05 Thread Emmanuel Lecharny
[X]: +1, Release Apache MINA 1.0.5 and 1.1.2 -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: unsubscrib

2007-08-08 Thread Emmanuel Lecharny
Hi, try again with unsubscribe instead of unsubscrib ... On 8/8/07, liguodong [EMAIL PROTECTED] wrote: liguodong 2007-08-08 -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Mina throughput

2007-08-21 Thread Emmanuel Lecharny
). I don't know if you guys ever faced this kind of problem. How to solve it? On 8/11/07, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Hi guys, when guessing relative performances of Java/C++ on a network environment, please keep in mind that data processing will be processed orders

Re: mina source code analysis

2007-09-07 Thread Emmanuel Lecharny
Hi Mark, once a week should be ok. Just check with Infrastructure that it's not a problem for them. Thanks ! On 9/7/07, Mark [EMAIL PROTECTED] wrote: IIRC, they perform this analysis once a week. I will verify before we agree to anything. On 9/7/07, Emmanuel Lecharny [EMAIL PROTECTED

Re: mina source code analysis

2007-09-07 Thread Emmanuel Lecharny
Hi Mark, this sounds pretty interesting. MINA and Directory projects could benefit from such a tool. There are two conditions though : - it should _not_ kill Apache SVN server by grabbing the last modifications every minutes. Once a week should be enough. I suggest to ask infra about allowing

Re: Configuring Mina-1-1 on Eclipse, Dependecy Issue

2007-09-11 Thread Emmanuel Lecharny
Hi Tyronne, you didn't declared a M2_REPO classpath variable pointing to ~/.m2/repository in eclipse. Doing it will immediatly solve your compilation problems. (Windows-Preference - Java - Build Path - ClassPath On 9/11/07, Tyronne Wickramaratne [EMAIL PROTECTED] wrote: hi, thanks for the

Re: Configuring Mina-1-1 on Eclipse, Dependecy Issue

2007-09-11 Thread Emmanuel Lecharny
' Project 'integration-jmx' is missing required Java project: 'mina-core' ... Trying to solve that for more than half an hour, but I couldn't find how. Maybe I gotta read a bit more on how eclipse works ? For now I am glad I have IDEA. Maarten On 9/11/07, Emmanuel Lecharny [EMAIL

Re: Coding style problem

2007-09-16 Thread Emmanuel Lecharny
Classes using SSL, IO, NIO, make sense to me. It's much more easier to know what they are doing than by using Ssl, Io or NIO. The Java standard rules say that the first letter of a noun shiuld be upcased, but SSL is not a noun, just the 3 first letters of Secure Socket Layer. My 2cts. On

Re: Coding style problem

2007-09-16 Thread Emmanuel Lecharny
of inconsistencies. Rich Emmanuel Lecharny wrote: Classes using SSL, IO, NIO, make sense to me. It's much more easier to know what they are doing than by using Ssl, Io or NIO. The Java standard rules say that the first letter of a noun shiuld be upcased, but SSL is not a noun, just the 3 first

Re: [Poll] Naming style for acronyms

2007-09-17 Thread Emmanuel Lecharny
[X]: All capital -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: [Poll] Should we remove 'Io' from all interfaces?

2007-09-17 Thread Emmanuel Lecharny
[X]: Retain them. For another reason. It's not because MINA is all about IO that those classes should not start or contains 'IO'. It can be very confusing sometime if we have an overlap with another class from another package. For some reasons, I felt quite confused when using MINA ByteBuffer,

Re: New name for ByteBuffer?

2007-09-18 Thread Emmanuel Lecharny
MinaByteBuffer would fit me. I don't like OctetBuffer too much, even if I'm french. What if M$ sudddenly decide that an Octet is 9 bits (8 bits for the data, plus 1 bit as a M$ tax to pay M$ fin to the EU ?:) On 9/18/07, Niklas Therning [EMAIL PROTECTED] wrote: Trustin Lee wrote: Hi folks,

Re: New name for ByteBuffer?

2007-09-18 Thread Emmanuel Lecharny
For the sake of some kind of consistency, DataBuffer. MINAByteBuffer will break the previous poll (capitalize only first letter). And talking about greeks : Timeo Microsoftaens et dona ferentes ... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: [Poll] Naming style for acronyms

2007-09-19 Thread Emmanuel Lecharny
About SUN (Sun ? :) inconstistant naming, just remember that as they are porviding APIs (Apis ? :), it's impossinle for them to rename a wrong class/metod as soon as it has made its way to the public. Remember the Hashtable class ... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: How do I set TCP_NODELAY?

2007-09-24 Thread Emmanuel Lecharny
Doing something like this, may be : SocketAcceptorConfig acceptorCfg = new SocketAcceptorConfig(); acceptorCfg.getSessionConfig().setTcpNoDelay( true ); (Works on MINA 1.1.2 AFAIK) On 9/24/07, justinkwaugh [EMAIL PROTECTED] wrote: I see recommendations to disable

Re: How do I set TCP_NODELAY?

2007-09-24 Thread Emmanuel Lecharny
more clear. Emmanuel Lecharny-3 wrote: Doing something like this, may be : SocketAcceptorConfig acceptorCfg = new SocketAcceptorConfig(); acceptorCfg.getSessionConfig().setTcpNoDelay( true ); (Works on MINA 1.1.2 AFAIK) On 9/24/07, justinkwaugh [EMAIL

Re: Problem with slf4j and log4j

2007-09-25 Thread Emmanuel Lecharny
http://www.slf4j.org/manual.html On 9/25/07, kwtan [EMAIL PROTECTED] wrote: I have a big problem using slf4j with log4j! I am not sure which jar to use in the classpath. How do I log it into a file using log4j properties file. how do I load the properties file? many questions, I can't find a

Re: [VOTE] Import KeepAlive functionality contribution under MINA PMC

2007-09-27 Thread Emmanuel Lecharny
[X]: +1, import -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: [VOTE] Import AsyncWeb from Safehaus to MINA

2007-09-27 Thread Emmanuel Lecharny
[X]: +1, import -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: What about addomg 'NIO' prefixes to all NIO services?

2007-09-27 Thread Emmanuel Lecharny
Well, as soon as it's compatible with the naming scheme the project selected (is the poll over btw ?), no objection. Nio, not NIO... On 9/27/07, Trustin Lee [EMAIL PROTECTED] wrote: It seems like there's no objection since the first posting. More than a week have been passed, so I assume there

Re: Is SLF4J hard to configure? (read: do we need to provide a way to choose the logging framework?)

2007-09-27 Thread Emmanuel Lecharny
Any logging framework will have pros and cons. SLF4J are solving a lot of pb we had with log4j. It's not perfect, and users who are not completely aware of the existence of a documentation may have pb. This is pretty much a RTFM problem than a SLF4j pb. I would much more favor an augmented FAQ to

Re: [VOTE] Release Apache MINA 1.0.6 and 1.1.3

2007-09-28 Thread Emmanuel Lecharny
[X]: +1, Release. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: [VOTE] New name for org.apache.mina.common.ByteBuffer

2007-09-28 Thread Emmanuel Lecharny
[X]: IoBuffer [X]: MinaBuffer I like both of them equally. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Vote

2007-10-03 Thread Emmanuel Lecharny
Hi Hez, Vote are open to everyone, as in any democratic system, but only committers vote do really matter, as in any meritocraty ;) I fact, we distinguished between 'binding votes' (vote from committers) and 'non binding vote' (vote from everyone else). Be sure that if many non binding votes

Re: Encoding/Decoding ISO 8583 Message

2007-10-05 Thread Emmanuel Lecharny
GPL licensed... Too bad ! On 10/5/07, Søren Hilmer [EMAIL PROTECTED] wrote: Do you know this projekt: http://www.jpos.org/ --Søren -- Søren Hilmer, M.Sc., M.Crypt. wideTrailPhone: +45 25481225 Pilevænget 41Email: [EMAIL PROTECTED] DK-8961 Allingåbro Web:

Re: result poll logging frameworks

2007-10-10 Thread Emmanuel Lecharny
AFAIK, you can always ask log4j to dump the thread name in your log, simply using a %t parameter in the format configuration. That should help to follow what's going on for a thread, even if it would be better to have MDC available into JUL (bad bad JUL ;) -- Regards, Cordialement, Emmanuel

Using XBEAN

2007-10-11 Thread Emmanuel Lecharny
Hi, here are some documentation about the way we are using XBeans in ApacheDS, for peeps who want to use it in MINA : Let's preview an explanation here to see if it explains enough. 1. Make sure xbean can find your interceptor by including @org.apache.xbean.XBean in the class level javadoc.

Re: MINA 1.0.3 Compatibility

2007-10-16 Thread Emmanuel Lecharny
http://mina.apache.org/faq.html#FAQ-Whatisrequiredtobuild%2FrunMINA%3F On 10/16/07, Nicolas Enjolras [EMAIL PROTECTED] wrote: Hi, I've shearched a lot on internet but I don't find any response to my question. Is MINA 1.0.3 compatible with a 1.4.1 JRE ? If the 1.0.3 is compatible what is

Re: [VOTE] Releasing Apache MINA 1.0.7 and 1.1.4

2007-10-24 Thread Emmanuel Lecharny
[X]: +1, Release -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Encoder error

2007-11-05 Thread Emmanuel Lecharny
Hi, Burca Ciprian wrote: I have a proble with Mina. I receive from a 3rd party application a message containing a hexa char DC. When I try to decode, I get an error. The character should be Ü. Here is a simple application that shows my problem: snip/ public static void main(String[]

Re: Encoder error

2007-11-06 Thread Emmanuel Lecharny
Burca Ciprian wrote: I understand all these. The problem is that this is the way the data comes to me from a 3rd party application, with encoded DC hexa. This sample app I just created it in order to show my problem. Any ideas? Fix the third party application. Or assume the data comes

Re: help - client problem

2007-11-10 Thread Emmanuel Lecharny
Hi, I'm forwarding this email to the correct list (dev@mina.apache.org). Ezzat, don't expect a lot of help with this kind of mail ! The description you give is so vague that you can't expect anyone to figure out what can be the real problem. A bare minimum would be a short example of your

Re: Performance problem

2007-11-10 Thread Emmanuel Lecharny
pietry wrote: I have read the configure thread model tutorial, and i dont know exaclty what to pick for my server program. I have lots of connections ( like 1000) and i want to get even more ( upto 5000, 1). The main problem is that at about 500 connections, broadcast messages get cpu to 100

Re: Performance problem

2007-11-10 Thread Emmanuel Lecharny
pietry wrote: But this shouldnt be happening right ? What should not happen ? he 100% CPU usage? certainly. Biut the interesting question is 'why does _your_ server use 100% of the CPU. In other terms, what is your server doing ? So mina supports what i want for my server. Did i choose the

Re: [VOTE] Release MiNA 1.0.8 and 1.1.5

2007-11-14 Thread Emmanuel Lecharny
Thanks for the good work ! [X]: +1, Release -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org

Re: TCP_NODELAY in MINA

2007-11-23 Thread Emmanuel Lecharny
Bogdan Ciprian Pistol wrote: Hello, Is it possible to set the TCP_NODELAY flag in MINA to disable Nagle's algorithm? In standard Java I do Socket.setTcpNoDelay(true). Thanks, Bogdan Try this : SocketAcceptorConfig acceptorCfg = new SocketAcceptorConfig(); ...

Re: Where can i download mina 2.x core

2007-12-11 Thread Emmanuel Lecharny
Ashish Sharma wrote: Hi A real novice question, but download section on website only mentions 1.xbuilds. From where can I download 2.x core, or do I have to build it from code? Thanks Ashish Hi, the snapshots are available here :

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: Revisiting logging in MINA 2.0

2007-12-17 Thread Emmanuel Lecharny
Trustin Lee wrote: snip/ However, taking the item #4 into picture, it leads me to think we need a thin built-in layer for logging that is dedicated to MINA. Please, don't ! This is MINA, a Network framework, not a Logger framework ! We already have so many meta-meta-meta-loger around

Re: Revisiting logging in MINA 2.0

2007-12-17 Thread Emmanuel Lecharny
David M. Lloyd wrote: My point is, as a framework, MINA should work to avoid imposing this preference upon the consumer of the framework. That's just friendly programming practice: make as few assumptions as possible about the user's environment, and impose as few constraints as possible.

Re: Revisiting logging in MINA 2.0

2007-12-18 Thread Emmanuel Lecharny
Trustin Lee wrote: On Dec 18, 2007 3:34 AM, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Trustin Lee wrote: snip/ However, taking the item #4 into picture, it leads me to think we need a thin built-in layer for logging that is dedicated to MINA. Please, don't

Re: Revisiting logging in MINA 2.0

2007-12-18 Thread Emmanuel Lecharny
Hi Trustin, I think that everybody should keep calm and peaceful. What are we discussing about ? A logging framework and nothing else. As you said, you have added a page explaining how to use SLF4J with MINA and another project. It works, it is simple, and you have added the full howto. So

Re: Revisiting logging in MINA 2.0

2007-12-18 Thread Emmanuel Lecharny
Trustin Lee wrote: On Dec 18, 2007 5:38 PM, Julien Vermillard [EMAIL PROTECTED] wrote: We all agree configuring slf4j is a piece of cake (drop the good jar). I can understand seeing another jar in the dependencies list can annoy some potential MINA users (who said politics ?:D). Ok, I

Re: Revisiting logging in MINA 2.0

2007-12-18 Thread Emmanuel Lecharny
Julien Vermillard wrote: Ok, I open my client project today, and what do I see ? more than 60 f**ing jars. What kind of problem can it be to add one more jar ??? Maven, maven, maven ! A real problem is trying to deploy native libs with maven and trying to find a nice solution in the

  1   2   3   4   5   6   7   8   9   10   >