Excerpt from apache site : Apache MINA is a network application framework which helps users develop high performance and high scalability network applications easily. It provides an abstract,event-driven,asynchronous API over various transports such as TCP/IP and UDP/IP via Java NIO.
Questions tagged [apache-mina]
303 questions
0
votes
1 answer
How to do continuous deployment with Apache Mina FTP server without downtime?
I'm trying to set up an Apache Mina FTP server in my continuously-deployed Java application. I'd like to be able to update and deploy it without users experiencing FTP downtime. I suspect this involves some sort of proxy (ProxyConnector?) to handle…

Mike Cialowicz
- 9,892
- 9
- 47
- 76
0
votes
1 answer
Mina usage of DatagramConnector does not work
I have a tcp client, which is based on the mina (V2.0.21 and J8) framework. It is working fine.
Here is the minimal example:
private static IoConnector connector;
public static void main(String[] args) throws InterruptedException {
…

Alex
- 161
- 1
- 13
0
votes
1 answer
How do I make an Apache Mina SSHD client wait for server hostkey verification to complete before attempting anything else?
I'm trying to set up a simple SSH client that verifies server's public key via known hosts file, using Apache Mina SSHD. I've pieced together below pesudo-code that works - well, it would work, if I knew how to make the client wait for server…

predi
- 5,528
- 32
- 60
0
votes
2 answers
Apache Mina Client Public key authentication
apache mina sshd authenticate client signatures
I found this link, I have implemented the PublicKeyAuthenticator's authenticate method and using KeyUtils.compareKeys method to compare the public key of the user stored and the incoming key. But its…

Siva
- 21
- 1
- 5
0
votes
1 answer
How to compare three mainstream Network libraries? (Network performance comparison metrics)
I am working on a research project, in which i create simple Real-time applications with three mainstream network libraries Krynet, Apache Mina and Java-RMI.
For the conclusion i need to produce some benchmark kind of thing to strengthen my…

static void main
- 728
- 2
- 9
- 34
0
votes
0 answers
How to Implement a Passwordless authentication to Embedded SFTP with Apache MINA SSHD
I'm trying to implement a multi user password-less Embedded SFTP with Apache MINA SSHD with help of this example Here. But When I'm trying to connect to the server, it always demands a password.
Password Authentication Problem
SshServer sshd =…
user13081694
0
votes
1 answer
org.apache.sshd.common.SshException: DefaultOpenFuture - APACHE MINA for SFTP Communication
I am getting following Exception:
org.apache.sshd.common.SshException: DefaultOpenFuture[ChannelSubsystem[id=0, recipient=-1]-
ClientSessionImpl[app6204@denad534.us.oracle.com/10.88.224.99:22][sftp]]: Failed to get operation result within…

Rajeev Joshi
- 21
- 1
- 3
0
votes
1 answer
Determining when FileWrittenEvent has completed writing the entire file
This is my first question here so please bear with me.In a recent release of Spring 5.2 there were certain and extremely helpful components added to Spring Integration as seen in this…

TrialNError
- 11
- 4
0
votes
1 answer
Java MINA Expose Socket
I'm working with an implementation of MINA that uses a NioAccepter.
My task is to make a basic java.net.Socket framework interface with both other java.net.Socket frameworks as well as Apache's MINA NIO framework.
This should have been simple…

Liam Fledgings
- 43
- 1
- 4
0
votes
3 answers
Send data back to client with UDP using Apache Mina
I am using Apache Mina to create a server to accept UDP Client requests. I have read the Official documentation provided by Apache Mina regarding UDP Server & UDP Client. However, I wished to know when the server receives a message, can I write back…

Abhishek
- 1,031
- 4
- 16
- 25
0
votes
0 answers
Apache MINA SFTP symlinks example
I'm trying to set up an SFTP server using apache sshd with multiple users that each have their own home directory. We wanted grant the access to folders to multiple users using the symbolic links.
Can someone please tell me how to do this ?
I tried…

ajay_s
- 1
- 4
0
votes
1 answer
Is the below code correct to connect to a remote Linux host and get few tasks done using Apache Mina?
I want to switch from Jsch to Apache Mina to query remote Linux hosts and to get the few tasks done.
I need to achieve things like list files of a remote host, change directory, get file contents, put a file into the remote host etc.,
I am able to…

xavi4_4_4
- 78
- 8
0
votes
1 answer
where to save the unicorn PIDS and sockets path as the folders gets dissappers after mina deploy rails app
I have set up a server for deploying my rails app. I am not able to start unicorn service. It is giving me a failed status. I am totally new to this. So as per this tutorial…

Aaquib Khan
- 1
- 1
0
votes
1 answer
Apache Mina: How to write a Http Server?
I'm trying to write an Http Server using Apache Mina.
According to Mina's architecture, there should be 2 filters for this task, one for Http Request Passing and another for processing the request and generating the response. So using the Mina…

Pasindu Tennage
- 1,480
- 3
- 14
- 31
0
votes
3 answers
Unable to inflate a buffer deflated with java.util.zip.Deflater using Apache MINA compression filter
This test:
import java.util.zip.Deflater;
import org.apache.mina.core.buffer.IoBuffer;
import org.apache.mina.filter.support.Zlib;
import org.junit.*;
public class ZlibTest {
private Deflater deflater = null;
private Zlib inflater =…

Alexey Romanov
- 167,066
- 35
- 309
- 487