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 access apache mina ssh server from remote machine?
I have created an Amazon Linux 2 instance where I have deployed a Java program launched with systemd. The Java program is a vertx-shell application which is using Apache Mina to start a SSH server on port 2000. It should possible to connect to the…

rico
- 1,843
- 2
- 24
- 41
0
votes
0 answers
Filter Ip remote SFTP
Currently, I'm implementing SFTP server which using ssh-core and apache mina-core.
I want to filter ip remote address. I implemented class CustomFilterAdapter extends IoFilterAdapter and I check if Ip remote is not in range of whitelist, i will not…

TuanNN
- 95
- 10
0
votes
1 answer
how to specify a codec in apache camel mina
I'm trying to use the hl7codec in apache mina. I can see how to do it using spring e.g.
beans:bean id="hl7codec" class="org.apache.camel.component.hl7.HL7MLLPCodec"
beans:property name="charset" value="iso-8859-1"
/beans:bean
but can't figure…

souter
- 386
- 4
- 17
0
votes
0 answers
How can I send message error and error status to Sftp client (sshd-core, Mina server)
I'm using sshd-core to create a Sftp server. However, I would like to customize failure message when authenticate like authentication fail, Access Denied,..
I tried to write my message to IoSession…

TuanNN
- 95
- 10
0
votes
1 answer
Too many levels of symbolic links @ rb_sysopen - tmp/pids/sidekiq.pid
I have deployed the rails application in staging. The application is running fine except for the sidekiq.
In my sidekiq.log, I see the following line,
Too many levels of symbolic links @ rb_sysopen - tmp/pids/sidekiq.pid
I have added the below…

Arihant
- 735
- 5
- 14
0
votes
0 answers
MDC logging for SSHD server with custom, per-company file-system
We are using Apache-Mina SSHD 1.7 to expose a SFTP server that uses a custom file-system implementation which creates a file system per company. So users of the same company (or more precisely for the same connector) will access the same file system…

Roman Vottner
- 12,213
- 5
- 46
- 63
0
votes
1 answer
Out of order data in TCP
I've an application that's using Apache mina library for communicating based on TCP. The apache mina library provides a callback with IOBuffer that contains data coming over the network, however often times the data is received out of order or…

user10286755
- 13
- 2
0
votes
1 answer
Synchronization block inside callback method
I'm using Apache mina in one of my projects. The doDecode() of CumulativeProtocolDecoder is called every time a chunk of data is received. I'm concatenating these chunks together until I get a special character at the end of the string. So I start…

user10286755
- 13
- 2
0
votes
2 answers
Broken pipe (Java, Apache Mina)
I have a problem using Apache Mina with flash (client/server game).
When user closes his browser process via task manager (or Flash player in IDE), server throws infinitely exceptions "Java.io.BrokenPipe".
Changing O/S TCP/IP settings (keep-alive)…

David Gobronidze
- 19
- 5
0
votes
1 answer
Sending EOL byte for request in TCP Sampler
So, I am having TCP socket server which defines text based client server communication. I want to measure performance of this service using jmeter's TCP Sampler but the problem is that I cannot find a way to send EOL byte for every request. From…

Deyan G.
- 45
- 1
- 9
0
votes
0 answers
Spring MVC with REST integrated with sshd server
I'd like to use sshd server (Apache Mina) in my Spring MVC project with REST. To login into webapp I use JavaFX client. When user click "Login",first the client set up ssh connection with private key to sshd server. Then client receives ssl cert…

LeCram
- 13
- 1
- 6
0
votes
1 answer
SSHD: Get content of readonly-file
On my remote server I have a file which is read-only.
$ echo "Hello World" > /tmp/dummyfile && chmod a-w,a-x /tmp/dummyfile && ls -l /tmp/dummyfile
-r--r--r-- 1 dummyuser users 12 Mär 12 12:12 /tmp/dummyfile
I want to access my remote server via…

Roland Weisleder
- 9,668
- 7
- 37
- 59
0
votes
1 answer
Apache Mina TCP session tracking from client
I have created a TCP client using Apache Mina. I have added a while loop to constantly check the liveness of the port. Once the connection is up on the server side, the loop is broken and the connection is made. i get the session from future and use…

Manoj
- 5,542
- 9
- 54
- 80
0
votes
0 answers
Are there any advantages to using absolute symlinks over relative ones?
I'm in the process of discussing issues with capistrano and mina. They now create absolute symlinks, pointing to current release of a site.
I see downsides to using absolute symlinks:
They doesn't work outside of any sort of chroot.
They break if…

x-yuri
- 16,722
- 15
- 114
- 161
0
votes
1 answer
Data pkt lost when one of the side send TCP Reset After network restart
i have a setup where Host_A and Host_B are in TCP session. Then i pulled out network cable on Host_B side for 30 sec time and put it back and capture the wireshark. Very first pkt in wireshark is some data pkt from Host_A and then Host_B ack as TCP…

ArmStrong
- 47
- 9