Questions tagged [mina]

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.

Apache MINA is, according to its website, 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.

Apache MINA is often called a(n):

  • NIO framework library,
  • client server framework library, or
  • networking socket library

Apache MINA comes with many sub projects:

  • Asyncweb: An HTTP server build on top of MINA asynchronous framework
  • FtpServer: An FTP server
  • SSHd: A Java library supporting the SSH protocol
  • Vysper: An XMPP server

References:

157 questions
1
vote
2 answers

How to deploy rails code using mina

I don't know how to deploy code using mina. Can anybody write detailed steps on how to deploy code with mina step by step?
Waleed Arshad
  • 1,081
  • 3
  • 12
  • 24
1
vote
1 answer

Mina's Whenever integration. How do you set the "whenever_name"?

According to this file it looks like I should be able to set the "whenever_name" to create a custom namespace for my cron jobs. I read mina's documentation on whenever as found here. It does not mention how to set a custom namespace aka…
Jared Menard
  • 2,654
  • 1
  • 21
  • 22
1
vote
0 answers

org.apache.sshd.common.SshException: Channel has been closed

I'm trying to send in-memory data as a file to remote server by using org.apache.sshd.client. My code so far: // Connect to remote server code sftp = session.createSftpClient(); StringBuilder sb = new StringBuilder(); for (int j = 0; j < 1000; j++)…
Minh
  • 424
  • 3
  • 12
1
vote
2 answers

Definition of a NioWorker

Working on a project which utilizes the SSHD of Apache's Mina I stumbled upon the number of NioWorkers, when I tried to fix a behavior when more than 1 simultaneous transfers of bigger files would fail in 70% of the attempts. Increasing this value…
Dennis Winter
  • 2,027
  • 4
  • 32
  • 45
1
vote
1 answer

How to configure route for port forwarding by Apache Camel?

Here is the codec and data format configuration: package com.chorke.boot.jproxy.config; import org.apache.camel.component.hl7.HL7DataFormat; import org.apache.camel.component.hl7.HL7MLLPCodec; import org.slf4j.Logger; import…
Śhāhēēd
  • 1,812
  • 6
  • 23
  • 44
1
vote
1 answer

Sending data to SSH client from server implemented in SSH Apache Mina

We are new to Apache MINA SSH server and currently working on reverse SSH Here are the steps followed SSHD server started on a port, server implements StreamIOHandler Upon receiving a connection from the Device, we have IOSession, InputStream and…
Vikram Darsi
  • 79
  • 2
  • 8
1
vote
1 answer

Java TCP Socket wait for idle?

I'm not sure if this is more a Java question or TCP question or both: I have some server code using Apache Mina that runs a server listening for TCP on a given socket. The handler I have extends IoHandlerAdapter. I'm using this to connect a camera…
Dan Sharp
  • 1,209
  • 2
  • 12
  • 31
1
vote
1 answer

Embedded FTP Server: manage virtual directory

Having a Java embedded Apache-Mina FTP Server, how do I set-up virtual directories for users (and/or as a home directory)? For example, I want to have a virtual home directory for a user, this directory should have 2 virtual ones that point to…
Alon Amir
  • 4,913
  • 9
  • 47
  • 86
1
vote
1 answer

MIna Operation timed out

Someone is getting the same issue trying to deploy using mina on EC2? ssh: connect to host 100.10.10.10 port 22: Operation timed out ! Command failed. Failed with status 1 (255) my domain configuration: set :domain, '100.10.10.10'
dcalixto
  • 411
  • 1
  • 9
  • 26
1
vote
1 answer

How to use bundle with local gems during Mina deployment of Rails app?

I'm deploying a Rails app with Mina mina:deploy which clones from a git repo and Bundler installs the gems. # /config/deploy.rb # ... task :deploy => :environment do deploy do invoke :'git:clone' invoke :'bundle:install' # ... …
Sam
  • 1,205
  • 1
  • 21
  • 39
1
vote
1 answer

Mina deploy failure - cannot load such file -- Nokogiri

I'm using Mina to deploy a Rail application to a VPS (digital ocean). When I use mina deploy I keep getting the same error: rake aborted! LoadError: cannot load such file -- nokogiri C:\Sites\app>mina deploy --trace ** Invoke deploy…
benja d
  • 146
  • 1
  • 7
1
vote
1 answer

Connection over a proxy Quickfix/j

I am trying to establish a connection with quickfix/j but i am behind the company firewall. So i need to connect over a proxy to the acceptor. I saw on the internet that with the new version 1.6.0 , proxy support was added but I couldn't find any…
Caranthir
  • 21
  • 4
1
vote
0 answers

Mina NIO networking - Packets not sending after initial startup

I currently have a problem while working with Mina. I am able to create a NIOAcceptor and Connector and connect the client to the server. Upon session being created in the Server, it sends the handshake packet which in turn validates and sends back…
1
vote
1 answer

Unicorn not starting when using mina

When I run mina unicorn:start, I get an error: /home/deployer/xxx-api/releases/7 not found . I am certain that directory exists on the server. Can you kindly take a look to know if it is a problem with mina or mina-unicorn. RAILS_ENV=production…
naveenmora
  • 61
  • 6
1
vote
1 answer

Start sidekiq bundler: command not found: sidekiq with mina - Spree

I have tried to deploy rails spree commerce project to ubuntu 14.04 server on digitalocean. Everything were well. But when I trying to deploy the project first time I get sidekiq error. I goggling something about that issue but I didn't get any…
thatway_3
  • 404
  • 1
  • 10
  • 22