Re: [ASK] Proper Handling of Concurrency

2024-04-30 Thread Emmanuel Lécharny
this wrong? or maybe i dont need to do one of them? Currently this application is running well (around 10k TPS per core, so in production, one deployment can handle around 80-100k TPS), however i would like to see the explanations of those points if anyone don't mind Thanks Bobby -- *Emmanue

Re: Individual SSLFilter per connector

2024-02-18 Thread Emmanuel Lécharny
) and may contain confidential and/or privileged information and may be legally protected from disclosure. On Sat, Feb 17, 2024 at 5:06 PM Emmanuel Lécharny <mailto:elecha...@gmail.com>> wrote: Hi Jonathan, Kishore provided a thrzad dump a few weeks ago, wh

Re: Individual SSLFilter per connector

2024-02-17 Thread Emmanuel Lécharny
upper). The IoHandler should not try to write something on the sessionOpened message IMO (until the session has been secured), but in any case, the double lock is clearly the root cause of the problem. On 17/02/2024 17:41, Emmanuel Lécharny wrote: Hi Jonathan, regarding the queing, we did that

Re: Individual SSLFilter per connector

2024-02-17 Thread Emmanuel Lécharny
ttp://2.2.3.> In MINA 2.2, the SslFilter has been fully rewrote to fix some painful issues we had, and to add the support of TLS 1.3. -- *Emmanuel Lécharny* P. +33 (0)6 08 33 32 61 elecha...@apache.org - To unsubscribe,

Re: Individual SSLFilter per connector

2024-02-17 Thread Emmanuel Lécharny
the write messages. Somehow, that should replace what I think we should do in the SslFilter. But I don't think the burden should be put on the MINA library user... On Feb 17, 2024 at 2:00:30 AM, Emmanuel Lécharny wrote: Hi Jonathan, there are two aspects to consider: - first the est

Re: Individual SSLFilter per connector

2024-02-16 Thread Emmanuel Lécharny
. On Feb 10, 2024 at 2:14:01 PM, Kishore Mokkarala wrote: Any time line for removing synchronization block in SSLFilter? On Sat, 10 Feb, 2024, 9:48 pm Emmanuel Lécharny, wrote: Netty is not Apache, but Eclipse. We are discussing the error at the moment, trying to move away the SSLFilter

Re: LDAP bind requests being dropped

2024-02-14 Thread Emmanuel Lécharny
n production and the customer will never let me share that. -- *Emmanuel Lécharny* P. +33 (0)6 08 33 32 61 elecha...@apache.org - To unsubscribe, e-mail: users-unsubscr...@mina.apache.org For additional commands, e-mail: users-h...@mina.apache.org

Re: LDAP bind requests being dropped

2024-02-13 Thread Emmanuel Lécharny
n? I want to get a thread capture, but the issue is so intermittent that I'd need someone to be staring at the console to try to capture it. MINA: mina-core-2.1.5.jar Thanks Marc -- *Emmanuel Lécharny* P. +33 (0)6 08 33 32 61 elecha...@

Re: Individual SSLFilter per connector

2024-02-10 Thread Emmanuel Lécharny
like apache netty. On Fri, 9 Feb, 2024, 1:59 pm Emmanuel Lécharny, <mailto:elecha...@gmail.com>> wrote: Hi Jonathan, in this very case, I think there is a race condition when using the SSLFilter in conjonction with the StateMachine filter. On 09/02/2024 05:33,

Re: Individual SSLFilter per connector

2024-02-09 Thread Emmanuel Lécharny
ession session = connectFuture.getSession(); // Do something with the session if needed } else { System.err.println("Connection failed for iteration: " + i); } } Which approach is better ? Regards, -

Re: Mina UDP Server TPS Performance is Low

2024-01-18 Thread Emmanuel Lécharny
here? Thank you On 17/01/2024 17:00, Emmanuel Lécharny wrote: Hi, hard to tell. Have you profiled your application? Are you CPU bound? If not, you should probably increase the default number of threads capable of handling the incoming messages (it defaults to Nb cores + 1 ) On 16/01/202

Re: Mina UDP Server TPS Performance is Low

2024-01-17 Thread Emmanuel Lécharny
ieved minn 8k TPS Are there any suggestions how to improve my UDP Server performance ?? Another problem is when i increased deployment pod, no significant tps improved -- *Emmanuel Lécharny* P. +33 (0)6 08 33 32 61 elecha.

Re: Deadlock in Apache mina version 2.2.1

2024-01-06 Thread Emmanuel Lécharny
in this regard? -- M.V.S.Kishore 91-9886412814 On Sat, 30 Dec 2023 at 03:10, Emmanuel Lécharny <mailto:elecha...@gmail.com>> wrote: Sorry, stuck in bed with covid atm :/ On 29/12/2023 09:08, Kishore Mokkarala wrote: > Hi Emmanuel

Re: Deadlock in Apache mina version 2.2.1

2023-12-29 Thread Emmanuel Lécharny
* ------ M.V.S.Kishore On Thu, 28 Dec 2023 at 04:29, Emmanuel Lécharny mailto:elecha...@gmail.com>> wrote: Hi, what I can see from the 2 blocked threads is that one his holding a lock on the SM context

Re: Deadlock in Apache mina version 2.2.1

2023-12-27 Thread Emmanuel Lécharny
On Sun, 24 Dec 2023 at 08:06, Emmanuel Lécharny mailto:elecha...@gmail.com>> wrote: Can you provide the code you use that is related to the StateMachine usage? On 24/12/2023 03:22, Emmanuel Lécharny wrote: > Hi,

Re: Deadlock in Apache mina version 2.2.1

2023-12-23 Thread Emmanuel Lécharny
Can you provide the code you use that is related to the StateMachine usage? On 24/12/2023 03:22, Emmanuel Lécharny wrote: Hi, the problem is most certainly in the StateMachine part. I have to see what it does. On 22/12/2023 17:13, Kishore Mokkarala wrote: *Hi Emmanuel,* * * *Deadlock

Re: Deadlock in Apache mina version 2.2.1

2023-12-23 Thread Emmanuel Lécharny
1. DIRMINA-604 <https://issues.apache.org/jira/browse/DIRMINA-604> Deadlock occurs when implementing two mina StateMachine -- M.V.S.Kishore Lead Dev Engineer NetScout S/w Pvt. Ltd. 91-9886412814 On Fri,

Re: Fwd: Deadlock in Apache mina version 2.2.1

2023-12-23 Thread Emmanuel Lécharny
- From: *Kishore Mokkarala* <mailto:kishore@gmail.com>> Date: Fri, 22 Dec 2023 at 21:43 Subject: Re: Deadlock in Apache mina version 2.2.1 To: Emmanuel Lécharny <mailto:elecha...@gmail.com>>, <mailto:j...@apache.org>>, <mailto:users@mina.apache.org>

Re: install Apache Mina SSHD 2.9.2 on windows 11

2023-10-26 Thread Emmanuel Lécharny
Hi, there is no install doc. SSHd is a library, not an installable package. On 26/10/2023 09:03, chandan kumar wrote: Hi Team, Could you please share the steps to install Apache Mina SSHD 2.9.2 on windows 11. Thanks Chandan -- *Emmanuel Lécharny* P. +33 (0)6 08 33 32 61 elecha

Re: Azure servers flagged with vulnerability regarding Apache MINA

2023-07-02 Thread Emmanuel Lécharny
eed, and how it can be removed or updated? Thanks! -- Christopher McCoy -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.busit.

Apache MINA Mastodon account is on!

2023-07-02 Thread Emmanuel Lécharny
Hi! we just have created a Mastodon account to inform the world abouut the Apache MINA project evolution. Feel free to follow @apachem...@fosstodon.org ! -- *Emmanuel Lécharny* - To unsubscribe, e-mail: users-unsubscr

Re: Apache mina 2.2.1 thread blocking issue.

2023-04-26 Thread Emmanuel Lécharny
sniffers. -- M.V.S. Kishore 91-9886412814 On Wed, 26 Apr 2023 at 03:42, Emmanuel Lécharny <mailto:elecha...@gmail.com>> wrote: Hi Kishire, the fact it's working with 2.0.21 is pure luck, IMHO. Two things: - we need a full th

Re: Apache mina 2.2.1 thread blocking issue.

2023-04-25 Thread Emmanuel Lécharny
dler, "Primary IP connection timeout"); return; } } finally { connectionLock.unLock(); } -- M.V.S.Kishore 91-9886412814 -- *Emmanuel Lécharny - CTO* 205 Promenade des Angl

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Emmanuel Lécharny
ngine in client mode if necessary sslEngine.setUseClientMode(sslFilter.isUseClientMode()); Regards, -- M.V.S.Kishore 91-9886412814 On Wed, 12 Apr 2023 at 23:08, Emmanuel Lécharny wrote: Hi, On 12/04/2023 18:00, Kishore Mokkarala wrote: Thanks E

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-12 Thread Emmanuel Lécharny
On Mon, 10 Apr 2023 at 18:42, Emmanuel Lécharny wrote: Hi, Mina 2.0 branch is pretty old (5 years) and we have made significant changes in the 2.1 and more important the 2.2 branches. You should seriously consider migrating to 2.2. That being said: - 40 seconds to do whatever that was taking

Re: Upgrading from mina-core ( 1.7.1 ) to Mina-core 2.2.1

2023-04-10 Thread Emmanuel Lécharny
e stating packages not found as shown below , Please let me know how to resolve these *package org.apache.mina.common does not exist* * cannot find symbol[ERROR] symbol: class SocketSessionConfig[ERROR] location: package org.apache.mina.transport.socket.nio* *Regards* *Chandan* --

Re: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-10 Thread Emmanuel Lécharny
happend.", handleConnectionFailed(primaryAddress, captureHandler, "Primary IP connection timeout"); return; } Regards, M.V.S.Kishore 91-9886412814 -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4

Re: MINA maintaining order of incoming requests

2023-01-18 Thread Emmanuel Lécharny
at the server in correct order. But nearly immediately after start of the test the packages get out of order. I must also mention, that the processing time of a single request is significant with around 500ms up to several seconds. -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE

Re: New deadlock potential in MINA 2.2's SSLHandler

2022-12-21 Thread Emmanuel Lécharny
the 'streammanager' (which keeps statistics on data sent, received and acknowledged) is not used while data is being sent over the outbound connection. Does that make sense and answer your question? Kind regards,   Guus On Mon, Dec 19, 2022 at 4:00 AM Emmanuel Lécharny <mailto:elecha...@gmail

Re: New deadlock potential in MINA 2.2's SSLHandler

2022-12-18 Thread Emmanuel Lécharny
Kinderen wrote: Hi Emmanuel, I was trying to be helpful by leaving out unimportant details, but I seem to have messed up. A third thread is involved. I've now attached the full thread dump to this email. Kind regards,   Guus On Mon, Dec 12, 2022 at 9:53 AM Emmanuel Lécharny <mailto:elech

Re: New deadlock potential in MINA 2.2's SSLHandler

2022-12-12 Thread Emmanuel Lécharny
java.lang.Thread.run(Thread.java:829) -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.busit.com/ - To unsubscribe, e-

Re: MINA SSLFilter not sending server_name extension in ClientHello

2022-11-11 Thread Emmanuel Lécharny
of this communication and the attachments thereto (in whole or part), in any manner, is strictly prohibited and actionable at law. The recipient acknowledges that emails are susceptible to alteration and their integrity can

Re: Configuring idle timeouts on server

2022-03-07 Thread Emmanuel Lécharny
(IoSession session, IdleStatus status) throws Exception { // Empty handler } So just override this method to get the event. -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www

Re: Configuring idle timeouts on server

2022-03-07 Thread Emmanuel Lécharny
for at least 10 seconds. On 07/03/2022 17:35, Emmanuel Lécharny wrote: Hi Marc, this is probably a bit overkilling, especially if you manage many sessions. A better solution would be to modify the Handler to catch the sessionIdle event and check for how long the session was idling (the event

Re: Configuring idle timeouts on server

2022-03-07 Thread Emmanuel Lécharny
ointed me in the right direction I'm sure I can figure it out but I really don't know where to start. Thanks Marc -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.

Re: Configuring idle timeouts on server

2022-03-04 Thread Emmanuel Lécharny
-- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.busit.com/ - To unsubscribe, e-mail: users-unsubscr...@mina.apache.org For additional

Re: [ANNOUNCE] Apache MINA 2.0.23 released

2022-02-22 Thread Emmanuel Lécharny
it out. The latest release is now available here: https://mina.apache.org/mina-project/downloads_2_0.html Thanks for the feedback that made this release possible! The Apache MINA project -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com

Re: System become unresponsive. nio socket, server, null => 0.0.0.0/0.0.0.0:13101

2022-01-18 Thread Emmanuel Lécharny
log and let me know what went wrong and how to address it. Thanks and Regards, Sampath -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.busit.com/ -

Re: MINA's OrderedThreadPoolExecutor has queued work, but no workers

2022-01-12 Thread Emmanuel Lécharny
022 at 04:49, Emmanuel Lécharny <mailto:elecha...@gmail.com>> wrote: Hi again, my bad, if we get an exception during the runTasks execution, we won't exit the for(;;) loop, so this is plain normal to have an idleWorkers.incrementAndGet(); in the finally part. There are two

Re: MINA's OrderedThreadPoolExecutor has queued work, but no workers

2022-01-11 Thread Emmanuel Lécharny
zed section on workers. On 12/01/2022 04:34, Emmanuel Lécharny wrote: Hi Guus, I agree there is some inconsistency, and I need to check why. Regarding the initial pb, it seems like an exception causes the worker to be removed, and this exception seems to be due to some TLS handshake failure.

Re: MINA's OrderedThreadPoolExecutor has queued work, but no workers

2022-01-11 Thread Emmanuel Lécharny
s,   Guus image.png -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.busit.com/ - To unsubscribe, e-mail: use

Re: MINA and JMX: MemberAccess implementation must be provided

2021-08-06 Thread Emmanuel Lécharny
quot; or "ignl mina" does not give me any useful hints, and the mvnrepository.com <http://mvnrepository.com/> search index does not show any artifacts by that name either. Kind regards,   Guus On Fri, 6 Aug 2021 at 06:17, Emmanuel Lécharny <mailto:elecha...@gmail.com>&

Re: MINA and JMX: MemberAccess implementation must be provided

2021-08-05 Thread Emmanuel Lécharny
- org.apache.mina:mina-integration-jmx I experimented with adding: - org.apache.mina:mina-integration-beans - org.apache.mina:mina-integration-ognl Sadly, that didn't make a difference. Do I need another dependency, or am I looking at this entirely wrong? Kind regards, Guus -- *Emmanuel

Re: Mina Server losing messages

2021-06-27 Thread Emmanuel Lécharny
anks, Guy - To unsubscribe, e-mail: users-unsubscr...@mina.apache.org For additional commands, e-mail: users-h...@mina.apache.org -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit

Re: Secure websocket connection fails when browser does a TLS False Start

2021-06-17 Thread Emmanuel Lécharny
s connects successfully. Thanks! -- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.busit.com/ - To unsubscribe, e-mail: user

Re: No web page found for SHA hash code, Mina SSHD 2.5.1

2021-02-23 Thread Emmanuel Lécharny
Hi ! Sorry, this is a glitch on our web site. The signature can be found here : https://archive.apache.org/dist/mina/sshd/2.5.1 On 23/02/2021 12:29, Walla, Marcus wrote: Dear colleagues! I downloaded the latest release of Apache Mina SSHD 2.5.1

Re: sshd SHA1 link

2020-11-18 Thread Emmanuel Lécharny
Thanks, we will fix that on the web site. You can use the SHA256 or SHA512 signatures which are available on those links : https://downloads.apache.org/mina/sshd/2.5.1/apache-sshd-2.5.1.tar.gz.sha256 https://downloads.apache.org/mina/sshd/2.5.1/apache-sshd-2.5.1.tar.gz.sha512 check on

Re: MINA vs a NIO based protocol stack

2020-04-14 Thread Emmanuel Lécharny
On 14/04/2020 14:31, Simha N wrote: Hi, I am evaluating MINA for development of Java based networking clients based on protocols such as SNMP and Netconf. Protocol stacks are available for these protocols. Some of the stacks are based on Java NIO (example: SNMP4J) and some are not based on

Re: MINA: ExecutorFilter on NioSocketConnector

2020-04-09 Thread Emmanuel Lécharny
On 09/04/2020 16:01, Nitin Phuria wrote: Dear Jonathan, Anytime we write message to System-B session with session.write method the messageSent event has to be generated with it actually gets written on TCP/IP The messageSent event is only generated when the message has been fully

Re: MINA: ExecutorFilter on NioSocketConnector

2020-04-09 Thread Emmanuel Lécharny
On 09/04/2020 15:00, Jonathan Valliere wrote: The ExecutorFilter only works for the Server receiver side. Actually, it could be used on the client side too, but it makes little sense, as the client is not supposed to receive heavy load from the server (of course, there might be use cases

Re: How to get status on transferred files?

2020-01-02 Thread Emmanuel Lécharny
Happy new year ! On 01/01/2020 18:31, Itzhaki, Guy wrote: Happy new year team! I wrote a client (using MINA) that sends files. For that purpose I implemented a filter that extends AbstractStreamWriteFilter. I would like to display the user a real time progress means how many bytes were

Re: Vysper status?

2019-07-25 Thread Emmanuel Lécharny
Hi Reda, the PR has been pushed into the code base. And, yes, if you wish to revive the project, I'm absolutely +1 for that ! On 24/07/2019 23:26, Réda Housni Alaoui wrote: Hello, Here, trying to revive it for 3 days and still counting. I am still hoping to receive at least a message about

Re: Handling MQTT messages using apache mina library is possible?

2019-07-22 Thread Emmanuel Lécharny
On 22/07/2019 11:17, Dhananjay Kandari wrote: Hi, Is it possible to use apache mina library to handle MQTT messages? Sure. MQTT is based on TCP/IP, so MINA will be able to process incoming and outgoing messages. However, you will have to implement the MQTT protocol codec.

Re: Creating a UDP Broadcast via MINA

2019-07-03 Thread Emmanuel Lécharny
For some historical reasons MINA does not yet support Multicast. https://mina.apache.org/mina-project/faq.html#does-mina-support-multicast This is something we should seriously reconsider nowadays. On 03/07/2019 15:06, Alex Buechel wrote: Hello guys, I want to create a UDP Broadcast program,

Re: High CPU Utilization because of Mina-core jar

2019-05-24 Thread Emmanuel Lécharny
On 24/05/2019 15:57, Hrushikesh Agrawal wrote: Thank Guus. Do you know the expected date the 2.1.3 would be available? I wanted to try with this jar as well. Hi, I was going to cut a release this week-end. This is quite a critical issue, and a quick release does not hurt. Emmanuel

Re: Does mina-core-2.0.7.jar supported by JAva 11 or not

2019-05-21 Thread Emmanuel Lécharny
On 20/05/2019 10:38, Ravi Verma wrote: Hi, We are using mina-core-2.0.7.jar for one of our product. We need confirmation on - Does above jar supported with JDK 11. Mina 2.0.7 is 6,5 years old. Two things: - we haven't yet tested the latest MINA version with Java 11 (this is something we

Re: NioSocketAcceptor grabbing a number of ports when instantiated

2019-05-17 Thread Emmanuel Lécharny
On 17/05/2019 16:04, Phil Hudson wrote: Hi All, I have 2 questions about the way NioSocketAcceptor allocates and uses ports. Background We are using a 3^rd party product (QuickFix/J) for client/server communication, which in turn uses MINA for network communication.  For server side

Re: IoFilter mark() usage, between 2.0 and 2.1

2019-05-04 Thread Emmanuel Lécharny
On 04/05/2019 05:40, David Trott wrote: Hey Jonathan, I am transitively importing version 2.0.19 of mina-core through the sshd-core dependency (as I don't think it is safe to upgrade mina-core to 2.1 as I am using the sshd project). I started with the 2.1 version of the SshFilter as a

Re: StreamIoHandler. sessionClosed

2019-02-10 Thread Emmanuel Lécharny
On 10/02/2019 11:59, Vikram Darsi wrote: Hi Team Need small information about the callback StreamIoHandler. sessionClosed? Will this get invoked only when the remote node terminates/closes the session? Either when the remote peer closes the session, or if the server can't write in the

Re: How MINA works with lot of socket connections?

2018-12-19 Thread Emmanuel Lécharny
Hi, On 19/12/2018 16:28, Krishan Babbar wrote: Dear All, I am working on an IoT project. I have created a Java application using MINA library. All the devices are connecting to this Java application using TCP protocol. So far, so good. I have created simulator (to simulate devices) to

Re: release 2.1.0 on maven central

2018-09-27 Thread Emmanuel Lécharny
Le 26/09/2018 à 23:50, Matthias Sohn a écrit : > Hi, > > according to [1] the latest release of org.apache.sshd is 2.1.0. > When do you plan to deploy this version to maven central ? The release vote is not closed yet. -- Emmanuel Lecharny Symas.com directory.apache.org pEpkey.asc

Re: current Apache MINA state.

2018-07-13 Thread Emmanuel Lécharny
Le 13/07/2018 à 03:30, Pablo Caballero a écrit : > Hi Jonathan. Thanks a lot! I'll consider your suggestion. Hi Pablo, we are currently discussing about a change in the version naming scheme. MINA 3 was started 5 years ago, and the latest release (3.0.0-M2) was done 4 years ago, and it was a

Fwd: [ANNOUNCE] Apache MINA 2.0.18 released

2018-06-06 Thread Emmanuel Lécharny
PMC Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com pEpkey.asc Description: application/pgp-keys

Re: Maven Plugin Issue FTP Server

2018-05-07 Thread Emmanuel Lécharny
(the attachement has been dropped. This is standard behaviour of the ASF mail server) Le 07/05/2018 à 18:49, Jonathan Valliere a écrit : > I'm trying to make the security fix for the FTP server but I am seeing an > issue when building the maven project. > > apache-rat-plugin:0.12:check (5

Re: Apche Vysper

2018-04-01 Thread Emmanuel Lécharny
Hi, Le 01/04/2018 à 22:49, David Colmenares a écrit : > Hello, I would like to know if they will continue updating and / or > improving Vysper ? No, unless some volunteer to keep the project running. , I think I will use it, and I wanted to know if it > is a good idea, since I do not find an

Re: Detecting non-idle but non-active either sessions

2018-03-25 Thread Emmanuel Lécharny
Le 26/03/2018 à 01:55, Juan Palacios a écrit : > Hi > I was hoping I could get some support analysing a change I'd like to make > to our MINA integration. > > Our application limits the total number of sessions it will open > concurrently to keep high load from hurting our performance. > >

Re: The heartbeat task of client not support keepalive function well,is it a bug?

2017-10-27 Thread Emmanuel Lécharny
Please, don't cross-post. Your question is a users question, not a dev one. There is no need to post it to both the users and dev mailing list. Thanks. Le 28/10/2017 à 03:42, Mei a écrit : > > The heartbeat task of client not support keepalive function well,is it a bug? > > > > The

Re: MINA3.0 recommended

2017-08-18 Thread Emmanuel Lécharny
Le 18/08/2017 à 15:54, Jonathan Valliere a écrit : > I don't have the code in front of me, but are you saying that the > modification of the Write Queue is no longer concurrent? Possibly the > Write Queue is a concurrent data structure and the synchronize mechanism is > no longer required. It

Re: MINA3.0 recommended

2017-08-18 Thread Emmanuel Lécharny
Replying on dev@mina.a.o. Thanks to avoid cross posting in the future :-) Le 18/08/2017 à 05:41, 胡阳 a écrit : > Hi guys: > I read the source code of MINA3.0M2. The style of the code is very > good, the structure is clear, the design is concise and efficient, especially > the use of

Re: how to use two Apache Mina ProtocolCodecFilters

2017-07-13 Thread Emmanuel Lécharny
> > On 13 July 2017 at 07:33, Emmanuel Lécharny <elecha...@gmail.com> wrote: > >> >> Le 12/07/2017 à 20:00, Martin Asenov a écrit : >>> When creating my Mina Server, I specify this: >>> >>> this.acceptor = new NioSocketAcceptor();

Re: 1.5.0 missing in maven central

2017-06-08 Thread Emmanuel Lécharny
Le 08/06/2017 à 13:29, Oleg Nenashev a écrit : > I would guess it is about SSHD. It is discussed here: > http://www.mail-archive.com/users@mina.apache.org/msg06510.html . So 1.5.0 > is burned due to the license issue. Yes, I was suspecting that. Regarding 1.5.0, Guillaume stated that the

Re: 1.5.0 missing in maven central

2017-06-08 Thread Emmanuel Lécharny
1.5.0 of what ? Are you sure you have sent your message to the right mailing list ? Le 08/06/2017 à 11:23, Stefan Magnus Landrø a écrit : > Hi guys, > > It seems like 1.5.0 is missing in maven central. Any chance it might get > uploaded in near future? > > Cheers, > > Stefan > -- Emmanuel

Re: non-TLS configuration

2017-06-03 Thread Emmanuel Lécharny
Le 03/06/2017 à 11:39, gunnar gustavsson a écrit : > Hi, > > I'm looking to use apache vysper in a project of mine. I've been looking at > is for a while to NOT use TLS so I may easier understand what is sent over > the wire. > > The default spring configuration for it states a bnch of bogus TLS

Re: Regarding the SSHD 1.5.0 Release ETA

2017-05-11 Thread Emmanuel Lécharny
Le 11/05/2017 à 09:45, Oleg Nenashev a écrit : > Hello, > > Thanks for the response! Looking forward to get a decision. > > I would probably wait till the Jigsaw mess gets resolved somehow ;) You mean, 2027 ? -- Emmanuel Lecharny Symas.com directory.apache.org

Re: re : Server Crash

2017-04-27 Thread Emmanuel Lécharny
Le 27/04/2017 à 14:43, Jon V. a écrit : > I retract my previous statement after pulling the source for > CircularQueue. Guess I'm used to doing illegal things in Java I forget > that most code isn't like that. We ruled out the use of Unsafe in MINA a long time ago... -- Emmanuel Lecharny

re : Server Crash

2017-04-27 Thread Emmanuel Lécharny
Hi ! seems like I have hard time moderating your message to the users mailinglist... Never mind. here is a copy : > We have a standalone application. It crashed suddenly. The log contains a > class which is found in mina-core jar file. I have attached the crash > report. Please let me know if

Re: [ANNOUNCE] Apache FtpServer 1.1.1 released

2017-04-26 Thread Emmanuel Lécharny
Correction : The provided link in teh announce is wrong It's http://mina.apache.org/ftpserver-project/downloads.html Thanks ! -- Emmanuel Lecharny Symas.com directory.apache.org

MIA for a while...

2017-03-02 Thread Emmanuel Lécharny
Hi ! just for you to know, I may be MIA for a while, or at least way less responsive : My wife just gave birth to our wonderful daughter today, and I'm afraid it's going to be our priority number one in the next few weeks :-) Thanks ! -- Emmanuel Lecharny Symas.com directory.apache.org

Re: a mina ssl bug

2017-01-19 Thread Emmanuel Lécharny
Hi, until recently, Android implementation of SSLEngine was problematic. That may be why you had issues with Android 4.x versions, and not anymore on Android 5.x... Le 19/01/2017 à 10:05, 时无间 a écrit : > I created an ssl android client with mina , the android version is 4.2 to > 4.4, i found

Re: Azure and Mina

2017-01-19 Thread Emmanuel Lécharny
Hi, comment inline... Le 17/01/2017 à 21:21, Antonio Rodriges a écrit : > Hi, > > I have a very specific question. I am not sure whether this question > is Mina-related or more Azure-related but it has to do with the > networking. > > I hope to get an advice where to dig into. > > I have used

Re: Mina stop work cause by exception in OrderedThreadPoolExecutor.Worker.run()

2017-01-19 Thread Emmanuel Lécharny
there is no worker >> is running, is right? so the mina fall into fake dead. >> >> Please let me know I did the right investigation. >> >> >> 2017-01-13 0:11 GMT+08:00 Emmanuel Lécharny <elecha...@gmail.com>: >> >>> Hi ! >>> >>

Re: Mina stop work cause by exception in OrderedThreadPoolExecutor.Worker.run()

2017-01-16 Thread Emmanuel Lécharny
Le 17/01/2017 à 05:32, Xu Congyuan a écrit : > Dear all, Hope you are doing well. > > Please kindly advise if the problem I found is on processing. Any > informations , please feel free to let me know. Sorry, was busy.. I will reply today. -- Emmanuel Lecharny Symas.com directory.apache.org

Re: Mina stop work cause by exception in OrderedThreadPoolExecutor.Worker.run()

2017-01-12 Thread Emmanuel Lécharny
Hi ! sorry for the delayed response, was busy... I'm not sure I understand : if you get an exception in the runTasks() call, the 'finally' code is executed, and the number of idle worker is incremented, no matter what... Can you check that ? -- Emmanuel Lecharny Symas.com

Re: DEAD LOCK: IoFuture.await() was invoked from an I/O processor thread

2016-12-26 Thread Emmanuel Lécharny
Le 26/12/2016 à 23:53, Richards Peter a écrit : > Hi, > > Thank you for sharing your thoughts regarding this issue. I am using Mina > to develop a TCP client-server program. I experienced a similar issue while > I was trying to perform the following operation: > > I would like to shutdown the

Re: Is there a maven snapshot reporitory for this projet

2016-11-28 Thread Emmanuel Lécharny
Le 28/11/16 à 12:42, Claude Warren a écrit : > I get the following error: > > git clone http://git-wip-us.apache.org/repos/asf/mina-sshd.git sshd > Initialized empty Git repository in /home/iei77703/git/sshd/.git/ > error: RPC failed; result=22, HTTP code = 405 Weirdo. It just works fine for me.

Re: Is there a maven snapshot reporitory for this projet

2016-11-27 Thread Emmanuel Lécharny
Le 27/11/16 à 10:44, Claude Warren a écrit : > I was looking for a maven snapshot repository for the sshd modules. Is > there one or do I have to build from source? Building the project from source is as easy as doing : $ git clone http://git-wip-us.apache.org/repos/asf/mina-sshd.git sshd $

Re: Thread "stealing" between sessions under high load breaks message order

2016-11-22 Thread Emmanuel Lécharny
Le 22/11/16 à 21:33, Guillermo Gonzalez a écrit : > Hi, > > Just wanted to share an issue I'm facing for which I can't find any obvious > solutions. > > I have a proxy based on MINA. It has both a NioSocketAcceptor and a > NioSocketConnector (both TCP). The flow is as follows: > > 1. Users

Re: ProtocolEncoder not getting used in the response path

2016-10-25 Thread Emmanuel Lécharny
Le 25/10/16 à 16:54, Murty Devarakonda a écrit : > We could identify what the problem is at last. While sending the response > back to the client, we created a IoBuffer and added the bytes to the same > and did a session.write(). And we identified that if the response is of > type IoBuffer,

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Emmanuel Lécharny
Le 24/10/16 à 19:24, Murty Devarakonda a écrit : > I did read that section to see where things may be going wrong and didn't see > anything that's different than what we are doing. > > Now, to explain a bit about our project, so far the MINA server is listening > on one port and protocol encoder

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Emmanuel Lécharny
Le 24/10/16 à 20:59, Murty Devarakonda a écrit : > Thank you for the tip. I looked into the NioSocketSession.filterChain and I > could see my protocolcodecfactory object there. Here is how I am adding the > filters: > > protected static void addFilters(Properties props, NioSocketAcceptor >

Re: ProtocolEncoder not getting used in the response path

2016-10-24 Thread Emmanuel Lécharny
Le 24/10/16 à 19:12, Murty Devarakonda a écrit : > Thanks for the reply. I set the logging at the debug level for all the code > in org.apache and didn't see any exceptions being thrown or any error > messages. I tried to debug the MINA code, but didn't get much clues from it > in terms of any

Re: ProtocolEncoder not getting used in the response path

2016-10-23 Thread Emmanuel Lécharny
Le 23/10/16 à 19:45, Murty Devarakonda a écrit : > I wrote a custom Protocol Encoder implementing the ProtocolEncoder interface > and I am using MINA 2.0.5 version. Mina 2.0.5 is 4 years old. 2.0.16 is currently being release, I strongly suggest you switch to this version taht will be out next

Re: Address already in use when restarting server

2016-10-19 Thread Emmanuel Lécharny
Le 19/10/16 à 11:27, Michał Gałuszka a écrit : > Dear MINA users. > > I’m using MINA server acceptor in my Java application that needs to be > restarted from time to time. > When I stop and start that application „too fast” I always get an exception > when starting and trying to bind: > >

Re: Apache Mina sharing sessions in UDP

2016-09-28 Thread Emmanuel Lécharny
Le 28/09/16 à 15:15, rafrl a écrit : > Dears, > > I have a problem using apache mina UDP server. I receive two connections are > two sources with different ip but leaving the same port. The mina it is not > creat a new sessions for each connection and is differentiating sessions and > mixing the

Re: verbose logs in mina 2.0.13

2016-09-20 Thread Emmanuel Lécharny
Le 20/09/16 à 19:55, Guy Itzhaki a écrit : > Hi all, > I've upgraded mina from 2.0.9 to 2.0.13 and since then I keep getting this > entry in the log > 20/09/16 20:20:00 WARN [NioProcessor-2] IoProcessor - Create a new selector. > Selected is 0, delta = 0 > > Is it a code left over or on

Re: Ensure sequential execution

2016-08-16 Thread Emmanuel Lécharny
Le 16/08/16 à 11:15, Simo Chiegang, Boris Arthur a écrit : > 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

Re: issue with broken stream data

2016-07-14 Thread Emmanuel Lécharny
Le 14/07/16 à 10:47, Alexander Christian a écrit : > Continued the search. Had a intensive look at my encoder class > de.root1.simon.codec.base.AbstractMessageEncoder. > > You recommended checking the buffer and to ensure it is cleared... The > used buffer is created every time from scratch. So

Re: issue with broken stream data

2016-07-13 Thread Emmanuel Lécharny
Le 13/07/16 à 15:04, Alexander Christian a écrit : > I tried to convert the bytes from the broken message to string: > > > 00 -> ?? > 00 -> ?? > 00 -> ?? > 02 -> ?? > 00 -> ?? > 00 -> ?? > 00 -> ?? > 36 -> 6 > AC -> ¬ > ED -> í This is clearly some serialized java class. I also looked at the

Re: Query about TLS compression

2016-07-12 Thread Emmanuel Lécharny
Le 12/07/16 à 16:36, Ashwini Mandhare a écrit : > Thanks Emmanuel for quick response. > > Yes We are trying to achieve same thing by using Bouncy castle API along with > mina. We are unable to integrate that. Could u help us with some sample code > how to go about it. Basically, what you need

Re: Query about TLS compression

2016-07-12 Thread Emmanuel Lécharny
Le 12/07/16 à 12:31, Ashwini Mandhare a écrit : > Hi, > > We have a use case where we want to support TLS compression. In one of the > client that we use , TLS compression is done on the protocol level . So > unless both the sides advertise compression when doing the TLS handshake, it > will

  1   2   3   4   5   6   >