MINA - Client

2007-10-30 Thread jeff . caldwell1
Hello MINA Developers, Great Product..Congratulations.. I'm needing to develop an OFX request handling server, and I want to use MINA, but, we have several clients who would use this server, that are written in C# or VB, is it possible to connect to a MINA server via C#, VB, .net? Thank

Re: MINA - Client

2007-10-30 Thread Trustin Lee
On 10/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello MINA Developers, > > Great Product..Congratulations.. > > I'm needing to develop an OFX request handling server, and I want to use > MINA, but, we have several clients who would use this server, that are > written in C# or VB,

Mina client application problem(mina 1.01)

2007-01-24 Thread Stanley Ding
Hi all,   I'm developing a client which only send a "SHUT_DOWN" message to the server. But it does not work now   Here is the code:     SocketConnector connector = new SocketConnector();  SocketConnectorConfig cfg = new SocketConnectorConfig();   cfg.getFilterChain().addLast(    "co

Re: Mina client application problem(mina 1.01)

2007-01-25 Thread Niklas Therning
Stanley Ding wrote: > Hi all, > > I'm developing a client which only send a "SHUT_DOWN" message to the > server. But it does not work now > > Here is the code: > > SocketConnector connector = new SocketConnector(); > SocketConnectorConfig cfg = new SocketConnectorConfig(); > cfg.ge

MINA client to connect using SOCKS proxy

2007-03-19 Thread Levente . Borbely
Hi, I have a client application written using the MINA framework. I would like to enhance this application to be able to connect to the remote peer through a SOCKS proxy server. Could somebody tell me how can this be done using MINA? Does MINA support at all proxied connections? Best regards, Leven

Re: MINA client to connect using SOCKS proxy

2007-03-19 Thread Trustin Lee
On 3/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I have a client application written using the MINA framework. I would like to enhance this application to be able to connect to the remote peer through a SOCKS proxy server. Could somebody tell me how can this be done using MINA? Does M

How to use socket proxy in mina client?

2007-05-14 Thread lichunlei
Sir, I am a java coder coming from China. And now, our company is using Mina to develop a project. Recently, we have a question: How to use socket proxy in mina? Our socket Server program is hinding a firewall, so our client have to use a socket proxy to visit server. Below is our code for

Synchronizing the Apache Mina client connection between threads

2019-07-30 Thread Zabee
Hi all, I have two threads let's say thread1 and thread2 connecting, listing, uploading and downloading files from specific folders from a remote Linux system. The threads are time-based triggers that mean they run on some random interval of time (for every hour or every day etc.,) I have created a

Re: How to use socket proxy in mina client?

2007-05-14 Thread Trustin Lee
Hi, On 5/14/07, lichunlei <[EMAIL PROTECTED]> wrote: Sir, I am a java coder coming from China. And now, our company is using Mina to develop a project. Recently, we have a question: How to use socket proxy in mina? Our socket Server program is hinding a firewall, so our client have to use

[jira] [Created] (DIRMINA-910) Mina client/server pair hangs

2012-09-30 Thread Ajo Fod (JIRA)
Ajo Fod created DIRMINA-910: --- Summary: Mina client/server pair hangs Key: DIRMINA-910 URL: https://issues.apache.org/jira/browse/DIRMINA-910 Project: MINA Issue Type: Bug Components

[jira] [Updated] (DIRMINA-910) Mina client/server pair hangs

2012-09-30 Thread Ajo Fod (JIRA)
nvironment (build 1.7.0_07-b10) Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode) Linux 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux > Mina client/server pair hangs > - > >

[jira] [Resolved] (DIRMINA-910) Mina client/server pair hangs

2012-09-30 Thread Emmanuel Lecharny (JIRA)
methods ? I don't know what your code is doing, but you'd rather verify the way it handle concurrent access on the session. This is hardly a MINA bug, AFAICT. > Mina client/server pair hangs > - > > Key: DIRMINA-910

[jira] [Commented] (DIRMINA-910) Mina client/server pair hangs

2012-09-30 Thread Ajo Fod (JIRA)
and server send out the same sequence of checksums represented by double arrays (results of intervening computation). The synchronization ensures that both arrays are available for comparison at the server. > Mina client/server pai

[jira] [Commented] (DIRMINA-910) Mina client/server pair hangs

2012-09-30 Thread Ajo Fod (JIRA)
f so, how do you propose I fix it? Also, could you reproduce it? > Mina client/server pair hangs > - > > Key: DIRMINA-910 > URL: https://issues.apache.org/jira/browse/DIRMINA-910 > Project:

[jira] [Commented] (DIRMINA-910) Mina client/server pair hangs

2012-10-01 Thread Emmanuel Lecharny (JIRA)
g in your code. Don't synchronize on session, this is not an instance you manage, you have no idea about what can be its life cycle. Find another way to inform your main() that the array has been received and is ready to be checked. > Mina client/

Re: Synchronizing the Apache Mina client connection between threads

2019-07-30 Thread Lyor Goldstein
I am not sure I understand exactly what you mean - however, it seems that you are on the right track. Assuming indeed that SFTPMinaClientConnector is a prototype bean all you need to do is initialize a session + SFTP on connect and tear them down on close. From what you describe though, it seems

[jira] [Created] (SSHD-935) Synchronizing the Apache Mina client connection between thread

2019-07-29 Thread Zabee Ulla (JIRA)
Zabee Ulla created SSHD-935: --- Summary: Synchronizing the Apache Mina client connection between thread Key: SSHD-935 URL: https://issues.apache.org/jira/browse/SSHD-935 Project: MINA SSHD Issue

[jira] [Updated] (SSHD-935) Synchronizing the Apache Mina client connection between thread

2019-07-29 Thread Zabee Ulla (JIRA)
ceeded. SFTP channel opened and connected."); } sftpClient = SftpClientFactory.instance().createSftpClient(_session); NG_DIRECTORY.getCommand().toLowerCase())); } catch (Exception oie) { } }     Thank you in advance, Zabee > Synchronizing the Apache Mina clie

[jira] [Updated] (SSHD-935) Synchronizing the Apache Mina client connection between thread

2019-07-29 Thread Zabee Ulla (JIRA)
DIRECTORY.getCommand().toLowerCase())); } catch (Exception oie) { } }     Thank you in advance, Zabee > Synchronizing the Apache Mina client connection between thread > -- > > Key: SSHD-

[jira] [Updated] (SSHD-935) Synchronizing the Apache Mina client connection between thread

2019-07-29 Thread Zabee Ulla (JIRA)
e().createSftpClient(_session); NG_DIRECTORY.getCommand().toLowerCase())); } catch (Exception oie) { } }     Thank you in advance, Zabee > Synchronizing the Apache Mina client connection between thread > -- > &g

[jira] [Commented] (SSHD-935) Synchronizing the Apache Mina client connection between thread

2019-07-29 Thread Goldstein Lyor (JIRA)
es are co-dependent - i.e., if you close the session then *all* SFTP instances created through it die with it (and the session dies if the client is stopped). Make sure that you do not close the session until you are done using SFTP (or SCP or any channel created through it) > Synchronizing

[jira] [Commented] (SSHD-935) Synchronizing the Apache Mina client connection between thread

2019-07-29 Thread Goldstein Lyor (JIRA)
each thread to access a different user, then initialize a *single* {{SshClient}} instance and have each thread create its own session + SFTP - MINA SSHD is thread-safe in this wayt. > Synchronizing the Apache Mina client connection between

[jira] [Commented] (SSHD-935) Synchronizing the Apache Mina client connection between thread

2019-07-30 Thread Zabee Ulla (JIRA)
ding your inputs, I'll change the code as per your inputs (1) and (2). For (3), I am using the shell channel to list remote host's files For (4), I have a different method that closes all the resources safely. > Synchronizing the Apache Mina client connecti

[jira] [Updated] (SSHD-935) Synchronizing the Apache Mina client connection between threads

2019-07-30 Thread Zabee Ulla (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zabee Ulla updated SSHD-935: Summary: Synchronizing the Apache Mina client connection between threads (was: Synchronizing the Apache

[jira] [Closed] (SSHD-935) Synchronizing the Apache Mina client connection between threads

2019-07-30 Thread Zabee Ulla (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zabee Ulla closed SSHD-935. --- Resolution: Not A Problem > Synchronizing the Apache Mina client connection between thre

[jira] [Commented] (SSHD-935) Synchronizing the Apache Mina client connection between threads

2019-07-30 Thread Goldstein Lyor (JIRA)
nnel to list remote host's files {quote} Why ? SFTP can do that for you - please note that managing shell channels is much more complicated - especially for a task such as listing remote files - which (as I have said) is something SFTP provides anyway > Synchronizing the Apache Mina clien

[jira] [Updated] (SSHD-932) Mina client to connect remote Linux host and get few tasks done

2019-07-15 Thread Zabee Ulla (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zabee Ulla updated SSHD-932: Summary: Mina client to connect remote Linux host and get few tasks done (was: File transfer to a remote

[jira] [Commented] (SSHD-932) Mina client to connect remote Linux host and get few tasks done

2019-07-15 Thread Thomas Wolf (JIRA)
side; likewise any other state. You'll need the sshd-sftp bundle, too. Unclear what your question (2) means. Do you mean connecting with an SSH public/private key pair (like {{~/.ssh/id_rsa}})? Yes, you can. > Mina client to connect remote Linux

[jira] [Closed] (SSHD-932) Mina client to connect remote Linux host and get few tasks done

2019-07-23 Thread Zabee Ulla (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zabee Ulla closed SSHD-932. --- Resolution: Fixed > Mina client to connect remote Linux host and get few tasks d

[jira] [Commented] (SSHD-932) Mina client to connect remote Linux host and get few tasks done

2019-07-23 Thread Zabee Ulla (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890803#comment-16890803 ] Zabee Ulla commented on SSHD-932: - Thanks [~wolft] that helped a lot. Thank you. &g

[jira] [Created] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2017-12-30 Thread BieYeHui (JIRA)
BieYeHui created DIRMINA-1075: - Summary: mina client can't receive message from mina server when android version below 4.4.2 Key: DIRMINA-1075 URL: https://issues.apache.org/jira/browse/DIRMINA

[jira] [Updated] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2017-12-30 Thread BieYeHui (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BieYeHui updated DIRMINA-1075: -- Description: The problem is about the tcp socket communication between android mina client and java

[jira] [Updated] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2017-12-30 Thread BieYeHui (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BieYeHui updated DIRMINA-1075: -- Description: The problem is about the tcp communication between android mina client and mina server

[jira] [Updated] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2017-12-30 Thread BieYeHui (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BieYeHui updated DIRMINA-1075: -- Description: The problem is about the tcp socket communication between android mina client and mina

[jira] [Updated] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2017-12-30 Thread BieYeHui (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BieYeHui updated DIRMINA-1075: -- Description: The problem is about the tcp socket communication between the android mina client and

[jira] [Commented] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2017-12-30 Thread BieYeHui (JIRA)
hand, thanks a lot ! > mina client can't receive message from mina server when android version below > 4.4.2 > --- > > Key: DIRMINA-1075 > URL: https://issues.apa

[jira] [Commented] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2018-02-15 Thread Jonathan Valliere (JIRA)
k at your issue, we're going to need code that will reproduce the problem you are seeing. > mina client can't receive message from mina server when android version below > 4.4.2 > --- > >

[jira] [Resolved] (DIRMINA-1075) mina client can't receive message from mina server when android version below 4.4.2

2019-05-04 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Valliere resolved DIRMINA-1075. Resolution: Unresolved > mina client can't receive message from mina ser

[jira] [Comment Edited] (SSHD-932) Mina client to connect remote Linux host and get few tasks done

2019-07-15 Thread Thomas Wolf (JIRA)
current directory" on the _client_ side; likewise any other state. You'll need the sshd-sftp bundle, too. Unclear what your question (2) means. Do you mean connecting with an SSH public/private key pair (like {{~/.ssh/id_rsa}})? Yes, you can. > Mina client to c

[jira] [Created] (DIRMINA-882) Implement a compression algo when using SSL/TLS between a MINA client and a MINA server

2011-12-21 Thread Emmanuel Lecharny (Created) (JIRA)
Implement a compression algo when using SSL/TLS between a MINA client and a MINA server --- Key: DIRMINA-882 URL: https://issues.apache.org/jira/browse/DIRMINA-882

[jira] [Updated] (DIRMINA-882) Implement a compression algo when using SSL/TLS between a MINA client and a MINA server

2011-12-21 Thread Emmanuel Lecharny (Updated) (JIRA)
> Implement a compression algo when using SSL/TLS between a MINA client and a > MINA server > --- > > Key: DIRMINA-882 > URL: https://issues.apache.org/jira/

[jira] [Updated] (DIRMINA-882) Implement a compression algo when using SSL/TLS between a MINA client and a MINA server

2013-07-26 Thread Julien Vermillard (JIRA)
t a compression algo when using SSL/TLS between a MINA client and a > MINA server > --- > > Key: DIRMINA-882 > URL: https://issues.apache.org/jira/browse/DIRMINA-882 >

[jira] [Updated] (DIRMINA-882) Implement a compression algo when using SSL/TLS between a MINA client and a MINA server

2013-08-02 Thread Julien Vermillard (JIRA)
t a compression algo when using SSL/TLS between a MINA client and a > MINA server > --- > > Key: DIRMINA-882 > URL: https://issues.apache.org/jira/browse/DIRMINA-882 >

[jira] [Resolved] (DIRMINA-882) Implement a compression algo when using SSL/TLS between a MINA client and a MINA server

2019-05-24 Thread Jonathan Valliere (JIRA)
n a MINA client and a > MINA server > --- > > Key: DIRMINA-882 > URL: https://issues.apache.org/jira/browse/DIRMINA-882 > Project: MINA >

[GitHub] [mina-sshd] tomaswolf closed issue #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)

2023-05-27 Thread via GitHub
tomaswolf closed issue #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method) URL: https://github.com/apache/mina-sshd/issues/354 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [mina-sshd] tomaswolf commented on issue #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)

2023-04-04 Thread via GitHub
tomaswolf commented on issue #354: URL: https://github.com/apache/mina-sshd/issues/354#issuecomment-1496564870 A private sharepoint link doesn't help. But anyway: there have been fixes since 2.7.0 that should have resolved some of these issues. Try with 2.9.2 or with current master. -- T

[GitHub] [mina-sshd] 4devwithgit commented on issue #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)

2023-04-05 Thread via GitHub
4devwithgit commented on issue #354: URL: https://github.com/apache/mina-sshd/issues/354#issuecomment-1497215083 Okay. I had given open permission, but there may be some issue for the file. Let me know if there is any other way to share the dump, which is 27 MB file. Wanted to know, w

[GitHub] [mina-sshd] tomaswolf commented on issue #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)

2023-05-27 Thread via GitHub
tomaswolf commented on issue #354: URL: https://github.com/apache/mina-sshd/issues/354#issuecomment-1565675788 These threads normally terminate when the `SshClient` is closed. If your code calls `SshClient.setSchedulerExecutor()`, then your code is responsible for shutting it down. S

[GitHub] [mina-sshd] 4devwithgit opened a new issue, #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)

2023-04-04 Thread via GitHub
4devwithgit opened a new issue, #354: URL: https://github.com/apache/mina-sshd/issues/354 ### Version 2.7.0 ### Bug description We are using Apache mina jars v2.7.0 in our application. Our customer on this version, reported the out of memory(OOM) issue with the Apache mi