Thx, Trustin.
Now I have an other newbie question.
It's about the integrality of the message sent by socket. When I used TCP
connection,
does the message been ensured its integrality. Is that to say, the message
won't been cut down or changed during it's passing through internet?
need I valid
On 6/7/07, Jannie Pieterse <[EMAIL PROTECTED]> wrote:
The Client closes the connection. The server is a jabber server and i have
no control there. I am only doing the client side.
It becomes a problem if you close the connection every time you send a
message. Is there any keep-alive mode? T
On 6/7/07, Messi Chan <[EMAIL PROTECTED]> wrote:
Hi, Trustin, thx for your reply.
According to your advice, I modify those codes below:
ExecutorService executor1 = Executors.newCachedThreadPool();
SocketAcceptor acceptor = new SocketAcceptor(executor1);
SocketAcceptorConfig config = (SocketAcc
On 6/8/07, peter royal <[EMAIL PROTECTED]> wrote:
On Jun 7, 2007, at 9:11 AM, ravinder singh wrote:
> I am using MINA 1.1 to write a client-server application but struck
> with
> some message issues. The problem is as follows:
>
> A client connects to my server and sends a message to it, then,
>
On 6/8/07, peter royal <[EMAIL PROTECTED]> wrote:
On Jun 7, 2007, at 8:37 AM, Chris Audley wrote:
> Why does MINA limit one ProtocolCodecFilter in an IoFilterChain?
you can only go from ByteBuffer -> non-ByteBuffer once :)
A decoder could output ByteBuffer again and let it decoded later in
the
[
https://issues.apache.org/jira/browse/DIRMINA-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Audley updated DIRMINA-385:
-
Attachment: SSLFilter-HEAD.patch
This is similar to my patch for 1.1.0 but it is against HEAD.
[
https://issues.apache.org/jira/browse/DIRMINA-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Audley updated DIRMINA-385:
-
Attachment: SSLFilter-1.1.0.patch
This is a patch against the 1.1.0 release. I'm currently usin
SSLFilter starts writing to session before filter chain is complete
---
Key: DIRMINA-385
URL: https://issues.apache.org/jira/browse/DIRMINA-385
Project: MINA
Issue Type: Bug
Thanks - it did help..
On my performance test it cut the number of ArrayList creation(from
DefaultIoFuture) from several millions to zero.
Trustin Lee wrote:
>
> On 5/16/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
>> On 5/16/07, peter royal <[EMAIL PROTECTED]> wrote:
>> > On May 15, 2007, at 2:1
On Jun 7, 2007, at 8:37 AM, Chris Audley wrote:
Why does MINA limit one ProtocolCodecFilter in an IoFilterChain?
you can only go from ByteBuffer -> non-ByteBuffer once :)
This seems to be an unnecessary limitation. What if I want to use
a series
of codecs in order to build more complicated
On Jun 7, 2007, at 9:11 AM, ravinder singh wrote:
I am using MINA 1.1 to write a client-server application but struck
with
some message issues. The problem is as follows:
A client connects to my server and sends a message to it, then,
messageReceived of myHandler class (which extends IoHandler
Hi all,
I am using MINA 1.1 to write a client-server application but struck with
some message issues. The problem is as follows:
A client connects to my server and sends a message to it, then,
messageReceived of myHandler class (which extends IoHandlerAdapter)
should get called, this is working
Sure, will remember to make a thread dump next time it hangs...
Thanks
On 6/7/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
On 6/7/07, peter royal <[EMAIL PROTECTED]> wrote:
> On Jun 6, 2007, at 6:44 PM, Paul Chen wrote:
> > [2] When the traffic ramped up sharply lately, I begin to see it
> > hun
Why does MINA limit one ProtocolCodecFilter in an IoFilterChain? This
seems to be an unnecessary limitation. What if I want to use a series
of codecs in order to build more complicated behaviours. I could have a
line oriented filter that converts between ByteBuffers and lines,
another that conve
My question is, how can MINA be modified to make it possible for filters
to participate in the session before the connection is open and to
modify the parameters used to open the connection if necessary.
Yes, you've described how I can work around MINA's limitations in this
area to get a reasonabl
Hi, Trustin, thx for your reply.
According to your advice, I modify those codes below:
ExecutorService executor1 = Executors.newCachedThreadPool();
SocketAcceptor acceptor = new SocketAcceptor(executor1);
SocketAcceptorConfig config = (SocketAcceptorConfig)
acceptor.getDefaultConfig();
config.s
I attached logs.zip witch contain client.log and server.log
They are rather verbose ( DEBUG enabled ).
I noticed that the problem occurs later than sooner with DEBUG enabled but
it happens anyway.
Regards,
Horia
http://www.nabble.com/file/p11007693/logs.zip logs.zip
Trustin Lee wrote:
>
>
The Client closes the connection. The server is a jabber server and i have
no control there. I am only doing the client side.
Jannie
On 6/7/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
Hi Jannie,
On 6/7/07, Jannie Pieterse <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using MINA 1.1.0. I am crea
On 6/5/07, seven <[EMAIL PROTECTED]> wrote:
Unfortunately it does not resolve my problem. Still the same behavior.
I am using java version "1.6.0_01" on WinXP SP2.
I have tried different combinations:
server using mina-filter-ssl-1.1.0-SNAPSHOT.jar, client using
mina-filter-ssl-1.1.0-SNAPSHOT.j
On 6/7/07, peter royal <[EMAIL PROTECTED]> wrote:
On Jun 6, 2007, at 6:44 PM, Paul Chen wrote:
> [2] When the traffic ramped up sharply lately, I begin to see it
> hung and I
> had to bounce
> it to revive it.
Do a thread dump next time this happens. We can see what's going on
from that.
http:
Hi Messi,
On 6/7/07, Messi Chan <[EMAIL PROTECTED]> wrote:
Hi, all
I have read this article
http://mina.apache.org/configuring-thread-model.html
http://mina.apache.org/configuring-thread-model.html . At the end of the
article, author suggest us not share one thread pool for IoServices and
Execu
Hi Jannie,
On 6/7/07, Jannie Pieterse <[EMAIL PROTECTED]> wrote:
Hi,
I am using MINA 1.1.0. I am creating connections from a windows
system to a Linux box.
I open and close a lot of connections for the windows to the linux.
After a while i run out of sockets on the windows system and i get th
[
https://issues.apache.org/jira/browse/DIRMINA-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502290
]
Trustin Lee commented on DIRMINA-372:
-
any more idea?
> Generics support for IoHandler
> --
On 5/16/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
On 5/16/07, peter royal <[EMAIL PROTECTED]> wrote:
> On May 15, 2007, at 2:11 PM, Haviv wrote:
> > Recently I am profiling memory on my application which is based on
> > MINA
> > 1.0.1.
> > During my tests I found that there are many instances of
[
https://issues.apache.org/jira/browse/DIRMINA-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee closed DIRMINA-377.
---
Resolution: Fixed
Assignee: Trustin Lee
Done as Niklas suggested
> Reduce memory consumption
[
https://issues.apache.org/jira/browse/DIRMINA-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee closed DIRMINA-384.
---
Resolution: Fixed
I reverted back to the 'synchronized' version.
> A possible duplicate event emiss
A possible duplicate event emission in DefaultIoFuture
--
Key: DIRMINA-384
URL: https://issues.apache.org/jira/browse/DIRMINA-384
Project: MINA
Issue Type: Bug
Components: Core
[
https://issues.apache.org/jira/browse/DIRMINA-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee closed DIRMINA-380.
---
Resolution: Fixed
Assignee: Trustin Lee
Done.
> Invocation chaining for IoFuture
> --
[
https://issues.apache.org/jira/browse/DIRMINA-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-383.
-
Resolution: Fixed
Fix Version/s: 1.1.1
1.0.4
Assignee: Trustin
[
https://issues.apache.org/jira/browse/DIRMINA-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-348.
-
Resolution: Fixed
We documented recommended version of SLF4J library.
http://mina.apache.org/qu
[
https://issues.apache.org/jira/browse/DIRMINA-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-373.
-
Resolution: Cannot Reproduce
Assignee: Trustin Lee
I compared the current SocketAcceptor c
Hi,
I am using MINA 1.1.0. I am creating connections from a windows
system to a Linux box.
I open and close a lot of connections for the windows to the linux.
After a while i run out of sockets on the windows system and i get the
following exception when i do a getSession() on the ConnectFuture
Hi, all
I have read this article
http://mina.apache.org/configuring-thread-model.html
http://mina.apache.org/configuring-thread-model.html . At the end of the
article, author suggest us not share one thread pool for IoServices and
ExecutorFilters, and better to use a cached thread pool for IoServ
33 matches
Mail list logo