I've seen this type of thing when I don't read all the data in the NIO
buffers all the time, across message boundaries. I personally use state
machines for all my decoding, and you really need to make sure you read all
available data and store it (in my case in whatever message reading state
I'm i
According to the help on http://mina.apache.org/configuring-thread-model.html
it says that the default number is one.
However, I always get 16. I can't even figure out how to make it one
thread.
Is that supposed to say it starts at one and grows to 16?
The suggest is to based it on the
Hi folks, this is a newbie question .. wanted to confirm how messages get
sent out when push from multiple threads.
Does the text line protocol Codec synchronize them? My understanding from
reading the code that it does, but I might have missed something.
Right now my code is saying the same th
Hi MINA comunity! I'm having a strange problem with TCP Sockets. I'm
connecting to a server to exchange messages (this exchange is asynchronous),
I'm using encoders and decoders to translate between these strings and my
objects.
I have a MINA client inside an EAR, running on a JBoss 4.0.2. When I
Provide mechanism for flushing writeBuffer from IoHandler.messageReceived
-
Key: DIRMINA-456
URL: https://issues.apache.org/jira/browse/DIRMINA-456
Project: MINA
Issue T
chihiro wrote:
My requirement is simple:
1) Object <=read from a queue (ConcurrentLinkedQueue)
2) Connect to a remote server via MINA and transmit the Object.
In one of the previous posts, Trustin mentioned that one could just reuse
the SocketConnector
if one were connecting to the same host.
liquidchen wrote:
So, if I just want to control the max connection number to the remote site,
what will be the best solution to do this?? Use IoFilter to control it?? But
I dont want to close new incoming connection if max connection number reach,
I just want to block it to wait connection releas
Eero Nevalainen wrote:
Has someone implemented WSDL (Web Services Description Language) on top
of MINA?
I think you would be better served using something like XFire in
conjunction with MINA rather than trying to implement WSDL specifically
for MINA.
-Mike
Rob Butler wrote:
Interesting. Is there a way to override this behavior? For example,
with DNS you will often receive messages that are 512 bytes or less.
But you would always want the buffer to be ready to accept at least
512 bytes. With DNS extensions messages of 2048 bytes or more can be
se
Make sure you have the latest code and do a clean build. Everything is
working fine for me. After ByteBuffer to IoBuffer change, I had to do a
clean build though.
-Mike
Frederick Haebin Na wrote:
http://svn.apache.org/repos/asf/mina/trunk/core
Well, my eclipse says that the sources of the
Julien Vermillard wrote:
Hi,
I'm playing a little with MINA SM (State Machine) from Niklas sandbox
it's a very nice SM implementation and quite useful for server/protocol
implementation. I think it's time to move it in trunk as a new module.
WDYT ?
+1
Interesting. Is there a way to override this behavior? For example, with DNS
you will often receive messages that are 512 bytes or less. But you would
always want the buffer to be ready to accept at least 512 bytes. With DNS
extensions messages of 2048 bytes or more can be sent/received.
Ro
Hi,
its for every new message received (ignore my prev mail .. i did some check
to post this again) ..
however, whats happening is .. the server has dispatched the entire packet
and i dont receive it that way .. (the packet sizes are really small .. abt
200 bytes .. and the ByteBuffer capacity go
I wrote an implementation of GCache (Geronimo Cache) that is in the
Geronimo sandbox. Its a clustering implementation based on Mina. Its
nto complete yet, but it gives you an idea.
It is not JVM level, since it API based. If you are looking for an open
source impl for a JVM based clustering con
you may have the source code checked out of the trunk, but that does not
mean that it is up to date ;)
On 10/12/07, Frederick Haebin Na <[EMAIL PROTECTED]> wrote:
>
> http://svn.apache.org/repos/asf/mina/trunk/core
>
> Well, my eclipse says that the sources of the mina core and subprojects
> are
>
Kumaran Arul wrote:
Hi
Has anyone got any experience with clustering MINA servers at a JVM
level?
How can we replicate IoSessions? Would Terracotta be a good choice?
Any lead or tips will be greatly appreciated?
A google with the keywords " load balancing terracotta " confirmed my
earli
On 10/12/07, Julien Vermillard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm playing a little with MINA SM (State Machine) from Niklas sandbox
> it's a very nice SM implementation and quite useful for server/protocol
> implementation. I think it's time to move it in trunk as a new module.
>
> WDYT ?
+1
Hello All,
am facing this strange issue of the socket's receiving Bytebuffer capacity
reducing into half (start from 4096) with each request/response. (For ex. i
start with 4096 capacity, recv a message->send a message back, when i
receive again, its reduced to half ..)
i have a SocketConnector a
On 10/12/07, pingvishal <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> am facing this strange issue of the socket's receiving Bytebuffer capacity
> reducing into half (start from 4096) with every new connection ..
> i have a SocketConnector and am using a ProtocolCodec (tried using a
> CumulativePro
Hi,
I'm playing a little with MINA SM (State Machine) from Niklas sandbox
it's a very nice SM implementation and quite useful for server/protocol
implementation. I think it's time to move it in trunk as a new module.
WDYT ?
Julien
Hi
Has anyone got any experience with clustering MINA servers at a JVM
level?
How can we replicate IoSessions? Would Terracotta be a good choice?
Any lead or tips will be greatly appreciated?
Regards
Arul
***
CAUTION: This email a
21 matches
Mail list logo