problem to restart my server

2016-06-22 Thread Simo Chiegang, Boris Arthur
I try to restart my server and I get the following unexpected exception as Warning: 2016-06-20 06:18:35,630 | WARN | NioSocketAcceptor-33 (DefaultExceptionMonitor.java:47) | Unexpected exception. java.lang.IllegalStateException: A disposed processor cannot be accessed. at

RE: problem to restart my server

2016-06-22 Thread Simo Chiegang, Boris Arthur
: problem to restart my server Le 22/06/16 à 11:50, Simo Chiegang, Boris Arthur a écrit : > I try to restart my server and I get the following unexpected exception as > Warning: > > 2016-06-20 06:18:35,630 | WARN | NioSocketAcceptor-33 > (DefaultExceptionMonitor.java:47) | Unexp

RE: Acceptor dispose block indefinitely

2016-06-24 Thread Simo Chiegang, Boris Arthur
- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Friday, June 24, 2016 12:56 PM To: users@mina.apache.org Subject: Re: Acceptor dispose block indefinitely Le 24/06/16 à 10:50, Simo Chiegang, Boris Arthur a écrit : > I Guys, > > I have a server and I called to stop t

Acceptor dispose block indefinitely

2016-06-24 Thread Simo Chiegang, Boris Arthur
I Guys, I have a server and I called to stop the server: Acceptor.dispose(true); But the call never come back. I don't know why: java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0xf94bcd30>

Ensure sequential execution

2016-08-16 Thread Simo Chiegang, Boris Arthur
I guys, I have the following Problem: - I defined a Server to handle some Json Strings. Acceptor a = new NioSocketAcceptor(); - I had some filters so: a.getFilterChain().clear(); // I removed all filters a.getFilterChain().addLast("jsonString", new

RE: Ensure sequential execution

2016-08-16 Thread Simo Chiegang, Boris Arthur
Thanks, this answer my question! -Original Message- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Tuesday, August 16, 2016 11:20 AM To: users@mina.apache.org Subject: Re: Ensure sequential execution Le 16/08/16 à 11:15, Simo Chiegang, Boris Arthur a écrit : > I guys, I h

Use another Object type with TextLineEncoder

2016-08-16 Thread Simo Chiegang, Boris Arthur
Hi, I have a Client that use a TextLineCodecFactory to send Message. So I think normally I must sometimes like that when I want to send a Message: ioSession.write(message); // where message is from type String Now, can I do something like that inside ? ioSession.write(request) // where request

Too many ports open

2018-03-16 Thread Simo Chiegang, Boris Arthur
Hi, I made a little test: test() { NioSocketConnector connector = new NioSocketConnector(); Connector.dispose(); } When I debug through this code, I can see that the instantiation of the connector create exactly 12 ports. Why?. It depends on the number of processors on the machine?

RE: Too many ports open

2018-03-16 Thread Simo Chiegang, Boris Arthur
Chiegang, Boris Arthur < boris.s...@heidelberg.com> wrote: > Hi, > > I made a little test: > > test() > { > NioSocketConnector connector = new NioSocketConnector(); > Connector.dispose(); > } > > When I debug through this code, I can see that the instanti

Question about IohandlerAdapter

2013-06-26 Thread Simo Chiegang, Boris Arthur RD-P8.1
Hi guys, my question: the method messageReceived(IoSession, Object) in the class IoHandlerAdapter executes parallel or sequenciel? I have a client, who send me a lot of messages and the server processes the message in different way. When the server got a message that take a lot of time to

AW: Question about IohandlerAdapter

2013-06-26 Thread Simo Chiegang, Boris Arthur RD-P8.1
about IohandlerAdapter Le 6/26/13 10:09 AM, Simo Chiegang, Boris Arthur RD-P8.1 a écrit : Hi guys, my question: the method messageReceived(IoSession, Object) in the class IoHandlerAdapter executes parallel or sequenciel? Depends. 1) You have many clients (ie, many sessions) the server

NioSocketConnector/NioSocketAcceptor

2013-08-15 Thread Simo Chiegang, Boris Arthur RD-P8.1
Hi guys, I want to know, what is he difference between the constructor: - NioSocketConnector() and NioSocketConnector(Processorcount) - NioSocketAcceptor() and NioSocketAcceptor(Processorcount) In which case I use which of them? Best Regards Boris Simo

AW: NioSocketConnector/NioSocketAcceptor

2013-08-15 Thread Simo Chiegang, Boris Arthur RD-P8.1
3:21 PM, Simo Chiegang, Boris Arthur RD-P8.1 a écrit : Hi guys, I want to know, what is he difference between the constructor: - NioSocketConnector() and NioSocketConnector(Processorcount) - NioSocketAcceptor() and NioSocketAcceptor(Processorcount) In which case I use

AW: AW: NioSocketConnector/NioSocketAcceptor

2013-08-15 Thread Simo Chiegang, Boris Arthur RD-P8.1
. August 2013 17:04 An: users@mina.apache.org Betreff: Re: AW: NioSocketConnector/NioSocketAcceptor Le 8/15/13 3:49 PM, Simo Chiegang, Boris Arthur RD-P8.1 a écrit : I know. I want to know the meaning of the parameter Processorcount? Und which effect has this? Ah, that's a different question