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
0
votes
1 answer

Why won't one of my rails apps go into the production env when its deployed?

I have a few rails apps that I have on a single VPS. I am using nginx, passenger, mysql and rails 4 for all of them. Two of the apps are working fine in the production ENV, but one of my apps is not switching to production. It just stays in…
oobie11
  • 723
  • 1
  • 8
  • 20
0
votes
0 answers

Apache Mina : Different handler for each session

In Apache Mina, is it possible to use different handler for each session?
hanish.kh
  • 517
  • 3
  • 15
0
votes
3 answers

mina setup/deploy help needed

I´m new to mina and only have a hosting package with an ssh access but with no root privileges. My prob is that I get an "Permission denied, please try again" if I run mina setup. By extending the deploy.rb wit the following line: set :term_mode,…
burn4ever
  • 1
  • 1
  • 3
0
votes
1 answer

Apache mina SocketAcceptor and java.net.Socket communication

I m writing a network program to Apache Mina Tcp server and java.net.Socket client Server Code SimpleIoProcessorPool pool = new SimpleIoProcessorPool(NioProcessor.class, 20); SocketAcceptor acceptor = new…
Dinesh Appuhami
  • 710
  • 1
  • 11
  • 24
0
votes
1 answer

rake assets:precompile gives no erros but mina deploy fails on running the same command

I have a rails 4 app that I'm trying to deploy with mina. When I run mina deploy it fails on the asset precompiling step and exits with a status 19. This is the error that it's spitting out: rake aborted! …
jabbajac
  • 442
  • 6
  • 15
0
votes
1 answer

deploying with mina and bitbucket repository

I'm trying to use mina to deploy my RoR app but I'm running into an issue where it can't clone my repository because it's hosted on bitbucket and it requires a password. Is there a setting in mina to change that, or enter in the repository password?…
jabbajac
  • 442
  • 6
  • 15
0
votes
1 answer

Apache MINA SNI implementation

Has anyone had any experience implementing SNI (Server Name Indication) into Apache MINA's SSLFilter? Any direction would be greatly appreciated.
Pat R
  • 186
  • 4
  • 15
0
votes
1 answer

apache camel Mina2: failed to get the session

below are my route code- ${header.dateRequest}
vashishth
  • 2,751
  • 4
  • 38
  • 68
0
votes
1 answer

Closing session as an exception was thrown from MINA

I keep getting this message [Mina2Consumer] Closing session as an exception was thrown from MINA but no other information or exception is logged - the mina2 code suggests it is throwing a Camel Exception but is not getting logged anywhere. I am…
Venkatesh Laguduva
  • 13,448
  • 6
  • 33
  • 45
0
votes
1 answer

Camel mina component dropping connections

I am hoping that someone can help me with my problem. I have a client application that sends XML messages to Camel. I am using Mina2 v2.11.1 component in Camel as a endpoint to consume incoming XML. I have no control over the client application…
milltj
  • 75
  • 1
  • 6
0
votes
1 answer

Apache Mina set filters for different request

How does Apache Mina' filter handle different request? For example I have two requests: LoginRequest and StudentRequest, and I have written corresponding factory: LoginCodecFactory and StudentCodecFactory. then I added them into the…
user2716189
  • 63
  • 1
  • 6
0
votes
1 answer

Apache MINA + Spring - server is not running

I have a Spring application and I need to implement very simple communication channel with Apache MINA library. My Spring application is running but MINA server is not running, in netstat is this port not used. I followed this tutorial:…
user2148736
  • 1,283
  • 4
  • 24
  • 39
0
votes
1 answer

Has anyone else had MINA shut down a connection after writing to the session?

I have a MINA program that uses NioSocketConnector (client) and NioSocketAdapter (server). Both of these work except when the NioSocketConnector needs to write a response back to the server. When I attempt to write, I have about a 50/50 shot of…
user2363027
  • 121
  • 1
  • 6
0
votes
2 answers

Sleep inner thread without sleeping outer thread - Java

I have a main Mina handler thread is processing and in that thread i made another thread and set it to sleep for specified time. Now i want that this inner thread sleep independently without blocking Handler thread. following is sample code. public…
Rizstien
  • 802
  • 1
  • 8
  • 23
0
votes
2 answers

How to implement an unsigned byte in java, restriction being the size should be 1 byte only

How to implement an unsigned byte in java, restriction being the size should be 1 byte only i.e. we cannot convert to short or int by And' ing with 0xFF I have to transfer an unsigned byte array through the socket as recieving end is a C code method…
CodeFReak
  • 1
  • 2
1 2 3
10
11