[Fwd: Application Period Opens for Travel Assistance to ApacheCon US 2008]

2008-09-26 Thread Emmanuel Lécharny
The Travel Assistance Committee is taking in applications for those wanting to attend ApacheCon US 2008 between the 3rd and 7th November 2008 in New Orleans. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon US 2008 who need some financial

CFP open for ApacheCon Europe 2009

2008-10-02 Thread Emmanuel Lécharny
/ -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org

[ANNOUNCE] Apache MINA 2.0.0-M4 released

2008-12-12 Thread Emmanuel Lécharny
org.apache.mina.proxy.NTLMTest.testType1Message on windows Vista The Apache MINA PMC. -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org

Sign up for ApacheCon US by 14 August and save up to $500!

2009-08-10 Thread Emmanuel Lécharny
-- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org ---BeginMessage--- Sign up for ApacheCon US by 14 August and save up to $500! This year's ApacheCon US promises to deliver our most extensive program to date, and largest anticipated gathering of the global

Re: message process order

2010-01-09 Thread Emmanuel Lécharny
to be ready for write. Now, that leads to something different to deal with : potential OOM errors. You have to handle the idle event, and kill the long lasting message by closing the malevolent sessions. Life stinks ;) -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: Problem closing a session

2010-01-15 Thread Emmanuel Lécharny
Leandro Casadei a écrit : On Fri, Jan 15, 2010 at 2:54 PM, Emmanuel Lécharny elecha...@apache.orgwrote: Where in your code is the disconnect() method called ? It's called somewhere else. Not very helpful ;) The same place where connect() is called. The code i've posted is a piece

Re: R: Re: Mina and jms/rmi

2010-02-23 Thread Emmanuel Lécharny
version you are using, have you implemented a JMS protocol codec ? -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: Possible memory leak using Mina 1.1.7

2010-03-22 Thread Emmanuel Lécharny
! -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: Problem upgrading from 1.1.7 to 2.0.0-RC1

2010-03-22 Thread Emmanuel Lécharny
) in the logs on occasion concerns me because it's possible that those final messages are not actually being sent to the client, which make my protocol broken. I understand. Not sure I can come with a solution though, at least not immediately :/ -- Regards, Cordialement, Emmanuel Lécharny

Re: java.lang.NullPointerException IN ProtocolCodecFilter.filterWrite

2010-03-23 Thread Emmanuel Lécharny
, I agree that it's difficult to tell exactly what's going wrong with this stack trace... Is it possible to see the code of your encoder ? -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: High CPU usage with MINA 1.1.7 - a.k.a. How to properly configure the IoProcessor threads

2010-03-26 Thread Emmanuel Lécharny
) In 2.0.0-RC1, when we met this kind of problem, we ditch the selector and register all the keys on a new selector. -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: Writing scalable network applications with mina

2010-03-29 Thread Emmanuel Lécharny
the time it takes to process a request ? 1 seconds is like 1000 years for a computer ... -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: Writing scalable network applications with mina

2010-03-29 Thread Emmanuel Lécharny
the response to the client. No more problem with the number of clients you can handle in parallel... -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: SocketAcceptor pausing on CentOS

2010-04-20 Thread Emmanuel Lécharny
Emmanuel, thanks for the reply JAVA IS java version 1.6.0_19 Java(TM) SE Runtime Environment (build 1.6.0_19-b04) Java HotSpot(TM) Server VM (build 16.2-b04, mixed mode) MINA 1.1.4 Woot !!! It's just 3 years old ! Have you tried 1.1.7 ? -- Regards, Cordialement, Emmanuel Lécharny

Re: How to write from Mina-Acceptor based server to a client session?

2010-06-03 Thread Emmanuel Lécharny
passed to the acceptor based server; even the encoder's encode() method is not getting called. What am I missing? Maybe you are not writing anything onto the session (ie the buffer is empty *or* you forgot to flip it before calling the session.write( buf ) ) ? -- Regards, Cordialement, Emmanuel

Re: How to write from Mina-Acceptor based server to a client session?

2010-06-04 Thread Emmanuel Lécharny
it in different places in the chain, so you'll be able to know which filters are called. -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: Apache MINA communication protocol

2010-06-10 Thread Emmanuel Lécharny
either :) -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Fwd: Re: DIRMINA-790: 2.0.0M6 + 2.0.0RC1: Win7 performance issue

2010-06-17 Thread Emmanuel Lécharny
Forwarded to the correct mailing list Original Message On Thu, 17 Jun 2010 12:13:07 +0200, Emmanuel Lecharny elecha...@gmail.com wrote: On 6/17/10 11:42 AM, Jens Reimann wrote: Maybe this is not a MINA issue but a Windows issue: http://support.microsoft.com/kb/823764

Fwd: Re: Fwd: Re: DIRMINA-790: 2.0.0M6 + 2.0.0RC1: Win7 performance issue

2010-06-24 Thread Emmanuel Lécharny
Forwarded to the correct ML. Please be careful when replying... On Thu, 24 Jun 2010 13:55:57 +0200, Emmanuel Lecharny elecha...@gmail.com wrote: I set the buffer size to 1, so that the data transfer from client to server should be horrible slow. But it isn't. So the change I made on

Re: Example of layer 7 protocol proxy

2010-07-08 Thread Emmanuel Lécharny
() a message, it's not going to end up in the message handlers, right? Not sure that I understand what you mean by broadcast() ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Mina server

2010-07-16 Thread Emmanuel Lécharny
, Emmanuel Lécharny www.iktek.com

Re: Fwd: Re: Encoding Decoding Java Collections Using Mina

2010-07-29 Thread Emmanuel Lécharny
. But I also have to keep the pending buffer in the session, so that I can continue decoding the data as soon as I receive some more bytes. That works pretty well. At this point, I think you get it, everything else is just a matter of taste :) -- Regards, Cordialement, Emmanuel Lécharny

Re: Never getting request reply !

2010-08-16 Thread Emmanuel Lécharny
the message before send it to the server and I got the right response. Good ! Thanks a lot for your ideas. You're welcome ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Never getting request reply !

2010-08-17 Thread Emmanuel Lécharny
explains me why this causes an exception during the TCP/IP exchanges. No idea. I don't know what is the protocol you are trying to implement, nor how you implemented it. Track down the exception origine, you'll get a clue about what's going on. -- Regards, Cordialement, Emmanuel Lécharny

Re: MINA 2.0.0 GA

2010-09-06 Thread Emmanuel Lécharny
with ? Its hard to know what your codec is supposed to produce without this input -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: MINA 2.0.0 GA

2010-09-07 Thread Emmanuel Lécharny
. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Mina 2.0 : ProtocolCodecFilter send two WriteRequest

2010-09-13 Thread Emmanuel Lécharny
to ignore such WriteRequest. That's an option. We are trying to figure out the best way to deal with such problem form 3.0. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Possible synchronization issue

2010-09-14 Thread Emmanuel Lécharny
On 9/14/10 1:07 PM, Guy Itzhaki wrote: No. This is the filter I'm using: new ExecutorFilter(Executors.newFixedThreadPool(2)) Try to use the OrderedThreadPool then. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Many local connections created with windows 2003 SP2

2010-09-16 Thread Emmanuel Lécharny
this (it was about socket opened in a web browser when using MINA). -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Too Many Open Files with SocketConnector on 1.1.7

2010-09-18 Thread Emmanuel Lécharny
On 9/18/10 7:04 PM, Charles Hudak wrote: The sessions are closed in the session handler when it receives the terminate session ack from the server: Ok, fine then. Any idea about what are the opened sessions ? nestat -a ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Too Many Open Files with SocketConnector on 1.1.7

2010-09-18 Thread Emmanuel Lécharny
if they are hitting the same problem). Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: MINA performance on Centos/Tomcat

2010-09-20 Thread Emmanuel Lécharny
, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Can't find SerialConnector

2010-10-25 Thread Emmanuel Lécharny
The ASF for that. However, i'm not sure that the code itself using a LGPL jar should be excluded. We will discuss this again on the dev ML. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Newbie: SingleSessionIoHandlerAdapter deprecated; replaced by???

2011-02-08 Thread Emmanuel Lécharny
with the contextual data : they are associated with the session, not with the thread processing them. All in all, you should not taking care of the threads your session is running on with MINA. Attach you data to the user's session, this is the way to go. -- Regards, Cordialement, Emmanuel Lécharny

Re: Best Practice for ChatServer Deployment

2011-02-10 Thread Emmanuel Lécharny
to profile your application to see where exactly you have a bottleneck. If it's the DB, then using some cache could help.-- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: where to place the ExecutorFilter?

2011-02-13 Thread Emmanuel Lécharny
the throughput, then you have to think about having more than one server... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Synchronous behavior while adding and removing connections

2011-02-16 Thread Emmanuel Lécharny
(DIRMINA-678) works well. Otherwise, once we decide to release, it's a matter of 72 hours to get something out. 2.0.3 is a bug fix release, so we don't have any roadmap, we can more or less release whenever we like (ie, even twice a week if needed). -- Regards, Cordialement, Emmanuel

[ANNOUNCE] Apache MINA 2.0.3 released

2011-04-16 Thread Emmanuel Lécharny
The Apache MINA PMC. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Why does every NioSocketConnector create at least 8 Connections ?

2011-04-20 Thread Emmanuel Lécharny
. I'm going to investigate the problem. Can you fill a JIRA for your problem ? Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: A few high level questions about my communication pattern implemented in MINA.

2011-04-26 Thread Emmanuel Lécharny
won't have a baby in one months. Also you never mentioned what were your constraints nor the kind of data you are transmitting. For instance, we have no idea if they can be compressed, or not. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Why does every NioSocketConnector create at least 8 Connections ?

2011-04-26 Thread Emmanuel Lécharny
On 4/26/11 11:17 AM, Francesco Vivoli wrote: I'm stepping in here, as I also have noticed the same issue. I think I posted about this on the ml. It seems that this pattern doesn't show up under *nix (Linux/BSD) though... Are you on windows ? -- Regards, Cordialement, Emmanuel Lécharny

Re: Why does every NioSocketConnector create at least 8 Connections ?

2011-04-26 Thread Emmanuel Lécharny
On 4/26/11 2:18 PM, Francesco Vivoli wrote: We have seen this on windows yes (albeit I don't have a windows machine myself, our pre-production and production environments run on windows) How many CPU/Core do you have on this machine ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Using blocking filter

2011-05-12 Thread Emmanuel Lécharny
if (isSignInReply(message)) nextFilter.sessionOpened(session); } Thanks -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Regarding asyncweb

2011-09-01 Thread Emmanuel Lécharny
On 9/1/11 8:38 AM, Sam Mizanin wrote: Why is the asyncweb stalled? Good question... Not enough volunteers, I guess. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Regarding asyncweb

2011-09-01 Thread Emmanuel Lécharny
project in the ASF incubator : http://incubator.apache.org/deft/ -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Regarding asyncweb

2011-09-01 Thread Emmanuel Lécharny
On 9/1/11 9:13 AM, Sam Mizanin wrote: There are no files in the trunk to checkout. Oops, sorry, it's on http://svn.apache.org/viewvc/incubator/deft/sandbox/ -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Regarding asyncweb

2011-09-01 Thread Emmanuel Lécharny
to work on it. You can be one of them, contributing is easy : http://directory.apache.org/community%26resources/contribute.html (it's not the MINA page, but somehow, it's the same process) -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Apache Mina NioAcceptor

2011-09-04 Thread Emmanuel Lécharny
more than one thread executing some costly action, like decoding an expensive message, or accessing a database. This allows other users who are less demanding to be served whatever happens. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Apache Mina NioAcceptor

2011-09-04 Thread Emmanuel Lécharny
), as soon as one of them is busy processing one long request, all other sessions associated with this thread will also be enqueued, waiting for the thread to be done. Using an executor can allow those pending requests to be processed. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Fwd: Re: Apache Mina NioAcceptor

2011-09-05 Thread Emmanuel Lécharny
Forwarded this message to mina's ML. 1) the socket configuration is really important, more specifically the in and out buffers.In your case, you should configure large buffers (I think the default is 4 kb, from the topof my head). Does the buffer size makes Mina to adjust the TCP packet

Re: Fwd: Re: Apache Mina NioAcceptor

2011-09-05 Thread Emmanuel Lécharny
for event for other sessions (returned to thread pool used by Exec Filter or smth like this)? Of course. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Fwd: Re: Apache Mina NioAcceptor

2011-09-05 Thread Emmanuel Lécharny
into the socket). (see http://www.ibm.com/developerworks/library/j-zerocopy/) -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: session.write not in messageReceived

2011-09-07 Thread Emmanuel Lécharny
of incoming requests, so you won't usually lose any requests. The only problem is that one costly request will slow down all the others. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: session.write not in messageReceived

2011-09-07 Thread Emmanuel Lécharny
which DB you will talk to, and it's your application business, not MINA's. Keep in mind that MINA is *just* a NIO framework, it won't brew your coffee... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Strange problem in reading the data on socket in ProtocolDecoder

2011-10-13 Thread Emmanuel Lécharny
in your chain. If so, then add it at the end of the chain, not at the beginning. Unless the decoding is an expensive operation, then you should use an OrderedThreadPoolExecutor, which will push any messages arriving on a session to the same thread. -- Regards, Cordialement, Emmanuel Lécharny

Re: Strange problem in reading the data on socket in ProtocolDecoder

2011-10-13 Thread Emmanuel Lécharny
client connection remains in TIME-WAIT state, how can I set SO_REUSEADDR option in MINA so that kernel allows to start even if there are connections in WAIT state. acceptor.getSessionConfig().setReuseAddress( true ); -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Filters POJO Messaging with Large File Transfers / BufferException Issue

2011-11-26 Thread Emmanuel Lécharny
many little flaws we don't like, and some that are not easy to fix, so we do think that a complete rewrite is probably a better idea (thus this MINA 3 effort). This include documentation... Thanks a lot for your patience ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Mina Session Limit

2011-12-05 Thread Emmanuel Lécharny
. Otherwise, the answer is still 42... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Mina Session Limit

2011-12-05 Thread Emmanuel Lécharny
certainly exhausting the files you can open with such a config. See http://gnufreakz.wordpress.com/2009/08/12/increase-ulimit-in-centos/, for instance or http://lists.centos.org/pipermail/centos/2005-February/002656.html (just 2 of the top google responses). -- Regards, Cordialement, Emmanuel

Re: Mina Session Limit

2011-12-05 Thread Emmanuel Lécharny
On 12/5/11 6:33 PM, Antonio Rodriges wrote: Thank you, Emmanuel, we'll try this to do with our admin Ok. Let me know if that solves your problem :) Feel free to post if some more help is needed. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Mina Session Limit

2011-12-06 Thread Emmanuel Lécharny
incoming connection) and the many sockets that manage the clients communications (one per client). -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Apache mina 2.0.4 netstat connections to my port is growing up

2011-12-11 Thread Emmanuel Lécharny
, handling the sessionClose event. If you never receive this even, that means the session is never closed. You should also add some logs (or the log filter) to see if the session.close() is really called. It's likely to be a bug in your application... -- Regards, Cordialement, Emmanuel Lécharny

Re: Apache mina 2.0.4 netstat connections to my port is growing up

2011-12-11 Thread Emmanuel Lécharny
On 12/12/11 12:13 AM, antares wrote: Emmanuel do you think i can use another type of thread executor instead OrderedThreadPoolExecutor ? or nothing ? Do you really need an executor ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Perfomance related question...

2011-12-18 Thread Emmanuel Lécharny
will concume CU, and dedicate a pool of thread for them, and let the other messages being processed by some other threads (assuming there is a upper limit of thread you can create). Bottom line : there is no rule here, it's all about tuning and experimenting :) -- Regards, Cordialement, Emmanuel

Re: R: Threads and IO concurrency question

2011-12-19 Thread Emmanuel Lécharny
Lécharny www.iktek.com -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: sending String and fragmentation

2012-01-22 Thread Emmanuel Lécharny
it, and then what are your options. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: sending String and fragmentation

2012-01-23 Thread Emmanuel Lécharny
, Cordialement, Emmanuel Lécharny www.iktek.com Ok so after removing executor it still doesnt work as should. Its basicly the same. Messages are delivered randomly, sometimes they are, sometimes after request for second time, sometimes they arent at all. And again, only happens when im trying to send

Re: sending String and fragmentation

2012-01-23 Thread Emmanuel Lécharny
the data structure you are expecting. I hope I have explained clearly what MINA does and where to check for a potential error. Tell me if you need more direction. Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: sending String and fragmentation

2012-01-23 Thread Emmanuel Lécharny
of a complete message How to do this ? besides example which i put in first post. see my answer to your previous question above. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: sending String and fragmentation

2012-01-24 Thread Emmanuel Lécharny
else, depending on your local env). The best is to decode using one specific encoding. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: sending String and fragmentation

2012-01-24 Thread Emmanuel Lécharny
that it working 100%. Im running out of ideas... Sorry, your bug, your pain. I have already spent too much of my time to try to explain you how MINA was working, I'm not going to code your application. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Fwd: Re: Mina with Java AIO

2012-01-26 Thread Emmanuel Lécharny
Forwarded this message the the users ML... On Thu, 26 Jan 2012 09:12:59 +0100, Emmanuel Lecharny wrote: On 1/26/12 4:02 AM, Chad Beaulac wrote: Punt on Java 6 and just goto Java 7 with Mina 3? That could be an option, but I'm afraid that Java 6 will be around for a few years before Java

Re: Mina with Java AIO

2012-01-26 Thread Emmanuel Lécharny
, Cordialement, Emmanuel Lécharny www.iktek.com

Re: session.write behaviour

2012-02-02 Thread Emmanuel Lécharny
. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: break or contiue

2012-02-10 Thread Emmanuel Lécharny
certainly... JIRA :) Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Read buffer size vs Receive buffer size

2012-02-14 Thread Emmanuel Lécharny
, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Get Write queue from session

2012-02-17 Thread Emmanuel Lécharny
, please delete this email immediately. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: **URGENT** - possible problem in Mina AbstractPollingIoProcessor -or- Vysper Socks5AcceptorHandler

2012-02-21 Thread Emmanuel Lécharny
radar. /me waiting for your feedback with the suggested fix on Vysper (even if I know nothing about Vysper code base). -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: How to correctly handle exceptionCaught when connection get's broken while read() is active?

2012-02-22 Thread Emmanuel Lécharny
... MINA is lacking a set of exceptions to properly inform the user about what is going on. Can you fill a JIRA requesting for at least an ErrorCode to be returned ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: How to correctly handle exceptionCaught when connection get's broken while read() is active?

2012-02-22 Thread Emmanuel Lécharny
this part in MINA 3. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Apahe Directory Studio -- LDIF Export BASE-64 Encoding Strings -- RESOLVED

2012-02-27 Thread Emmanuel Lécharny
Le 2/27/12 8:41 PM, Lohse Chris a écrit : Emmanuel, Thanks for the lesson. I'll find another way! If you need to read a LDIF file, you can use the LdifReader class from the Ldap API. It converts a LDIF formatted file to a java object. -- Regards, Cordialement, Emmanuel Lécharny

Re: TextLineDecoder

2012-02-27 Thread Emmanuel Lécharny
/apache/mina/example/tapedeck/ -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Apache Mina java.io.IOException: Connection reset by peer

2012-03-12 Thread Emmanuel Lécharny
me think that there may be some setting in the Apache Mina for the TCP connection number. What is the config you are using ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: AbstractIoBuffer and getHexDump

2012-03-22 Thread Emmanuel Lécharny
should be changed to Short.MAX_VALUE to save on heap space. Any thoughts? David This is just a configuration parameter. It will be used only if the ByteBuffer to dump is bigger than Integer.MAX_VALUE, something that is *very* unlikely to happen... -- Regards, Cordialement, Emmanuel Lécharny

Re: mina 2.0.2 - NullPointerException in AbstractPollingIoProcessor

2012-03-29 Thread Emmanuel Lécharny
Le 3/29/12 2:15 PM, Guy Itzhaki a écrit : Dear forum, I'm using mina 2.0.2 and once in a while I get this error in the console: Have you tried with the latest MINA version (ie 2.0.4) ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: mina 2.0.2 - NullPointerException in AbstractPollingIoProcessor

2012-03-29 Thread Emmanuel Lécharny
:/ -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: mina 2.0.2 - NullPointerException in AbstractPollingIoProcessor

2012-03-29 Thread Emmanuel Lécharny
line number, and I can't debug the code... Can you connect on IRC, channel #mina so that we chekc a few other things ? I'm a bit clueless here.. Appreciate your help on that. Guy -Original Message- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Thursday, March 29, 2012 5:11

Re: CumulativeProtocollHandler

2012-03-30 Thread Emmanuel Lécharny
, the CumulativeProtocolDecoder will manage the buffer. The next time my Decoder is called he decodes the message which is in Buffer from previous double message and the current one is in the end of the buffer an would´nt be decoded. You most certainly flip the buffer. Don't. -- Regards, Cordialement, Emmanuel Lécharny

Re: MINA Server Scalability

2012-04-19 Thread Emmanuel Lécharny
a metaphore, MINA is just the injector in the engine of your car. Design the car, the engine, then we will be able to give adives to tune the injector assuming that everything else is already tuned... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: MINA core lib bug

2012-04-28 Thread Emmanuel Lécharny
you have found... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: Logging jars.....

2012-05-03 Thread Emmanuel Lécharny
logging is important. The mina jar is distributed with the slf4j-api-1.6.1.jar, jcl-over-slf4j-1.6.1.jar and commons-logging-1.0.3.jar packages. Check on http://mina.apache.org/dyn/closer.cgi/mina/2.0.4/apache-mina-2.0.4-bin.tar.gz -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: help with SSL implementation

2012-05-03 Thread Emmanuel Lécharny
, Cordialement, Emmanuel Lécharny www.iktek.com

Re: help with SSL implementation

2012-05-04 Thread Emmanuel Lécharny
Le 5/4/12 11:00 PM, dipesh a écrit : On May 3, 2012, at 2:49 PM, Emmanuel Lécharny wrote: Le 5/3/12 9:37 PM, dipesh a écrit : Hello everybody, I have created a Mina proxy and added SSL support to it, following the two examples given on the site. i am running into two issues now: Which MINA

Re: help with SSL implementation

2012-05-04 Thread Emmanuel Lécharny
the way we manage SSL in the examples : http://mina.apache.org/report/trunk/xref-test/org/apache/mina/example/echoserver/ssl/package-summary.html -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: help with SSL implementation

2012-05-04 Thread Emmanuel Lécharny
wireshark traces to it. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: using different transports with MINA

2012-05-14 Thread Emmanuel Lécharny
of the protocol itself (how do we handle disconnection, fragmentation, retry, etc) Hope it helps... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: using different transports with MINA

2012-05-15 Thread Emmanuel Lécharny
-core/src/main/java/org/apache/mina/core/service/ and the current implementations here : http://svn.apache.org/viewvc/mina/tags/2.0.4/mina-core/src/main/java/org/apache/mina/transport/socket/ -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: What does getLastReadTime return ?

2012-06-17 Thread Emmanuel Lécharny
mean. The getLastReadTime() method return the time (in ms) when the server has received a message for the last time, or the last time some bytes have been read. Isn't it what you expect ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: What does getLastReadTime return ?

2012-06-17 Thread Emmanuel Lécharny
this, so that we can discuss this option, which seems reasonnable to me. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: What does getLastReadTime return ?

2012-06-18 Thread Emmanuel Lécharny
probably woraround your problem by checking that the counter is 0 when you first check the heartbeat, then wit for one more heartbeat. Also note that I'm just checking the code, it would be easier to check while debugging it to be sure I'm not missing something. -- Regards, Cordialement, Emmanuel

  1   2   3   4   5   6   >