Hello,
I was monitoring a simple mina server using jconsole and I saw that after
switching to heap buffers ( ByteBuffer.setUseDirectBuffers(false) ) the
number of threads began to grow as more clients connected to the server.
With direct byte buffers the number of threads was constant no
Hi everybody,
I'm writing a server application which communicates mobile units on the
area.
Mobile units connects to server and send their datum. Because of the
mobility despite IP is same, sometimes session is closed.
Server sends messages to the units using the IoSession object for each
Hi all,
I am working on a protocol (TCP) that utilizes messages separated by an End
Of Message character (in this case \n). I use the decodable() method to
check if the message is complete and once it detects an EOM character it
will return true, decode() is called, and the messsage will be
I wrote a program to use mina-1.1 as client based on the example sumupr. I
have copied the relevant section below. I see following issues:
1. Even on server side I see client connected, isConnected returns false.
2. session.getCloseFuture().join() throws exception.
Failed to connect.
Hi guys,
Pierre-Arnaud Marcelot and Ersin Er have done a tremendous work last week to
brush our website, which is based on confluence.
Now, when we modify a page on confluence, it is immediatly reflected on the
web site (of course, we use a template plus some CSS).
Pierre-Arnaud wrote a very
guys I have in my code...
private static final int TEXTLINECODEC_ENCODER_DECODER_LINELENGTH =
124*1024; // n x 1KiloByte
followed by
TextLineCodecFactory textLineCodecFactory = new
TextLineCodecFactory(Charset.forName(UTF-8));
Possibly this is mentioned somewhere, but for the newbies out there
(myself included..), it may be worth while, under the FAQ question:
No data is writtin out to the session even if the buffer is not empty.
Adding:
Make sure you're trying to send a org.apache.mina.common.ByteBuffer,
not a
Server: StreamIoHandler does not close InputStream and OutputStream on
sessionClosed()
--
Key: DIRMINA-347
URL: https://issues.apache.org/jira/browse/DIRMINA-347
[
https://issues.apache.org/jira/browse/DIRMINA-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Fitchett updated DIRMINA-347:
--
Description:
When reading from the InputStream provided by StreamIoHandler, the read can
[
https://issues.apache.org/jira/browse/DIRMINA-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Fitchett updated DIRMINA-347:
--
Description:
When reading from the InputStream provided by StreamIoHandler, the read can
[
https://issues.apache.org/jira/browse/DIRMINA-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Fitchett updated DIRMINA-347:
--
Attachment: StreamIoHandler_CloseStreams.diff
Patch attached to fix this problem, created off
11 matches
Mail list logo