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
3
votes
1 answer
Spring junit test for SFTP connection: com.jcraft.jsch.JSchException: Packet corrupt
I have been recreating this example in my local: https://github.com/spring-projects/spring-integration-samples/tree/master/basic/sftp
But this time using just annotations instead xml config. I have something like this:
@Configuration
public class…

Columb1a
- 463
- 2
- 11
- 25
3
votes
1 answer
Restrict accesible files and directories on Apache MINA FtpServer
I've adopted Apache FtpServer as a library of my file sharing app. However I expose that I can set the permission of files/directories.
e.g. I have many files/directories under home directory, but I just want to make only the ~/A/, ~/B/, ~/c.txt…

Qiang
- 455
- 5
- 15
3
votes
1 answer
Using JAVA NIO framework in SPRING server
I'm implementing an hybrid server application that mixes a Web-Servlet and a plain Java application.
The java application manages thousands of sockets for remote devices, while the Web application interacts with the user to set/read the state of any…

Clark Ku
- 491
- 2
- 7
- 10
3
votes
1 answer
Annoyance - Warning when using Mina 2.x with Spring 3.x
Anyone know of a good way to get rid of this warning, besides increasing the log level? Mind you everything in the server still works as expected, but this occurs every time the server is restarted.
o.s.b.f.c.CustomEditorConfigurer - Passing…

Paul Gregoire
- 9,715
- 11
- 67
- 131
3
votes
1 answer
SFTP server multiple user authentication
I am trying to extend the user authentication example, which is also presented here, so that multiple users can login to the server. I would also like to assign a different home directory for each user. So far, I haven't been able to find any such…

fyts
- 493
- 5
- 12
3
votes
1 answer
Apache Mina SSHD - FileZilla shows wrong directory structure
I set up an SSH Server as an SFTP Server with Apache Mina SSHD. I implemented my own FileSystemFactory, so that specific directories are created for the user that logs in. When I open a connection to the server with FileZilla, the directory…

nlsn
- 53
- 5
3
votes
0 answers
NullPointerException while getting response from server through SOCKS5 proxy with ProxyConnector
I have problems with implementing secure xmpp client based on Apache Mina.It should support some features like HMAC etc.. One point in my task is to provide the ability to use SOCKS5 proxy.Server side is already done, and i have working code without…

protobuffer
- 31
- 3
3
votes
2 answers
Mina - HTTP Proxy – what is AbstractHttpLogicHandler for?
I am currently working on building a simple HTTP proxy using Apache Mina, in particular org.apache.mina.proxy, and I have a few questions about how to use some of the components.
How do I extract the future address from an incoming HTTP request? …

SlappyTheFish
- 2,344
- 3
- 34
- 41
3
votes
1 answer
How to override getVirtualUserDir() in Apache Mina sshd-core version 0.14.0
I used Apache Mina sshd-core version 0.10.0.Due to some issues with file uploading i had to change version into 0.14.0.In there i can not override getVirtualUserDir() method. Below is my sample code,
sshd.setFileSystemFactory(new…

gihan-maduranga
- 4,381
- 5
- 41
- 74
3
votes
2 answers
Using ssl with Apache Mina & android
I am trying to use Mina with android.
Up to this everything is working fine.
Now I am trying to add SSL support using SSLFilter dynamically.
My problem is on device, I am getting 'isSSLStarted' 'true' but when I send message, my connection is get…

userx
- 806
- 1
- 11
- 23
3
votes
1 answer
Apache SSHD & JSCH
I want mocking ssh server for transfer file. For do it i wand use Apache Mina SSHD. For transfer in system use JSch. with private key.
JSch client code.
JSch jSch = new JSch();
jSch.addIdentity(privateKeyPath, passPhrase);
Session…

Rinat Mukhamedgaliev
- 5,401
- 8
- 41
- 59
3
votes
1 answer
Embedding Apache SSHD server in Android application
I am trying to embed Apache SSHD Server in my Android application. Here is the
code:
SshServer sshd = SshServer.setUpDefaultServer();
sshd.setPort(8022);
sshd.setKeyPairProvider(new…

Milan Fabian
- 154
- 4
- 13
3
votes
1 answer
mina gem deploy through gateway
I am using the mina gem to deploy.
I have to go through a gateway in order to connect to my server.
I know that capistrano enables it.
Does any one know this config in mina?

WebQube
- 8,510
- 12
- 51
- 93
3
votes
2 answers
Using SSH connection for inter application communication
I want to write an application that would be a custom SSH server with two types of connection:
A sync channel, where clients type a command and the server would return the output
An stream channel where the user connects and starts reading the IO,…

Alexandre
- 316
- 2
- 7
3
votes
1 answer
Using Apache Mina with SslFilter on Android
I'm using apache mina to make a communication between my server and android client. Everything was fine when I was connecting via unsecured connection, but several days ago I decided to protect connection using ssl. Apache mina has a filter called…

voytech
- 380
- 3
- 13