about iohandler exceptionCaught

2007-11-14 Thread tiandike
I want to know what exceptions can be caught in iohandler exceptionCaught. some of mina example simply write session.close(); in exceptionCaught . I think some exception doesn't need to close the session. So I want to ask a question: which exception should I close the session. -- View this me

Re: How to implement the synchronized function call?

2007-11-14 Thread tiandike
In my project I implement a synclient , to guarantee the response correspondence with request ,the response and request must has a field messageID . I use Map and BlockingQueue in the DefaultConnectionImpl.java you can write your code like: ConnectionFactory cf = new DefaultConnectionFactory

Re: a question about codec.serialization

2007-11-14 Thread Mark
Not sure how autoboxing works with serialization, but I would try using a Long object to wrap your long primitive. On Nov 14, 2007 11:00 PM, tiandike <[EMAIL PROTECTED]> wrote: > > My request has a Map and put a Class[] params in this map , and I put a > long > class in the params. > > I find exc

Re: a question about codec.serialization

2007-11-14 Thread tiandike
My request has a Map and put a Class[] params in this map , and I put a long class in the params. I find exception is in the code ByteBuffer.getObject: String className = readUTF(); Class clazz = Class .forName(className, true, classLoader);

[jira] Commented: (DIRMINA-479) Running Wget results in UnsupportedOperationException

2007-11-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542654 ] Trustin Lee commented on DIRMINA-479: - We are going to rewrite HTTP client codec using the AsyncWeb HTTP codec i

[jira] Deleted: (DIRMINA-480) Running Wget results in UnsupportedOperationException

2007-11-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee deleted DIRMINA-480: > Running Wget results in UnsupportedOperationException >

[jira] Closed: (DIRMINA-480) Running Wget results in UnsupportedOperationException

2007-11-14 Thread Sangjin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sangjin Lee closed DIRMINA-480. --- Resolution: Duplicate oops. created a duplicate to 479. > Running Wget results in UnsupportedOpera

[jira] Created: (DIRMINA-479) Running Wget results in UnsupportedOperationException

2007-11-14 Thread Sangjin Lee (JIRA)
Running Wget results in UnsupportedOperationException - Key: DIRMINA-479 URL: https://issues.apache.org/jira/browse/DIRMINA-479 Project: MINA Issue Type: Bug Components: Protocol

[jira] Created: (DIRMINA-480) Running Wget results in UnsupportedOperationException

2007-11-14 Thread Sangjin Lee (JIRA)
Running Wget results in UnsupportedOperationException - Key: DIRMINA-480 URL: https://issues.apache.org/jira/browse/DIRMINA-480 Project: MINA Issue Type: Bug Components: Protocol

Re: Removing a couple of Spring integration classes

2007-11-14 Thread Trustin Lee
On Nov 15, 2007 10:22 AM, Trustin Lee <[EMAIL PROTECTED]> wrote: > > On Nov 14, 2007 10:28 PM, Niklas Therning <[EMAIL PROTECTED]> wrote: > > Trustin Lee wrote: > > > Hi folks, > > > > > > I've just added DefaultIoFilterChainBuilder.setFilters() that is very > > > friendly to existing IoC container

Re: MINA Application Factory

2007-11-14 Thread Mark
Must have been before I joined MINA :) I do alot of application prototyping so I think it would be useful. I will start this in my sandbox and provide status. Thanks for the feedback. Mark On Nov 14, 2007 8:25 PM, Trustin Lee <[EMAIL PROTECTED]> wrote: > Hi Mark, > > On Nov 15, 2007 9:25 AM,

[jira] Commented: (DIRMINA-478) GzipFilter

2007-11-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542649 ] Trustin Lee commented on DIRMINA-478: - Thanks again! Let me review and include it in the next major point relea

Re: Removing a couple of Spring integration classes

2007-11-14 Thread Trustin Lee
On Nov 14, 2007 10:28 PM, Niklas Therning <[EMAIL PROTECTED]> wrote: > Trustin Lee wrote: > > Hi folks, > > > > I've just added DefaultIoFilterChainBuilder.setFilters() that is very > > friendly to existing IoC containers such as Springframework. This > > mean we can remove > > > > * IoFilterMappi

Re: MINA Application Factory

2007-11-14 Thread Trustin Lee
Hi Mark, On Nov 15, 2007 9:25 AM, Mark <[EMAIL PROTECTED]> wrote: > Community, > > I was thinking about creating a factory class that would generate some basic > MINA-based servers. This system would be something analogous to the > java.util.concurrent.Executors class and the > java.util.concurre

Urgent data packet

2007-11-14 Thread minatds
Hi All, I still have this problem where I cannot send urgent data packets. In my Gateway application, I basically proxy between legacy applications and a mainframe. These legacy applications send urgent data packets for which mainframe sends a response and they use as their sync mechanism. I can

MINA Application Factory

2007-11-14 Thread Mark
Community, I was thinking about creating a factory class that would generate some basic MINA-based servers. This system would be something analogous to the java.util.concurrent.Executors class and the java.util.concurrent.ExecutorService interface. What I propose is to write a class called MinaA

MINA Application Factory

2007-11-14 Thread Mark
Community, I would like to implement a factory class that generated some basic server and client applications based on MINA. This would be something analogous to what the java.util.concurrent.Executors class and java.util.concurrent.ExecutorService interface provide. I am still working out the d

slides from apachecon presentation

2007-11-14 Thread peter royal
much the same of what was shown in amsterdam later this year (last hurrah for this deck, before it needs updating for v2!) and again, you're missing a lot if you missed the words :) http://www.slideshare.net/osi/apache-mina-the-highperformance-protocol-construction-toolkit -pete -- (peter.r

Re: Delay between data reception by the OS and by messageReceived

2007-11-14 Thread FredAtMina
Hi Trustin, unfortunately, as this involved some specific server behavior (which is not accessible), this is not possible. I ran some few tests, and noticed that in fact, the trouble is not only for the read, but also for the write (12" sometimes, in my test, between the filterWrite and the data

Re: Re : [VOTE] Release MiNA 1.0.8 and 1.1.5

2007-11-14 Thread Mark
+1 On Nov 14, 2007 12:12 PM, Edouard De Oliveira <[EMAIL PROTECTED]> wrote: > [X]: +1, Release > Regards, > -Edouard De Oliveira- > http://tedorg.free.fr/en/main.php > > - Message d'origine > De : Mike Heath <[EMAIL PROTECTED]> > À : dev@mina.apache.org > Envoyé le : Mercredi, 14 Novembre

Comments and use of htttpserver.codec example code

2007-11-14 Thread parki
HI all: Delving deeper into mina, and things are starting to make sense - really more of a comment on some newbie is using this stuff. Any advice or comments welcomed - there may be better ways to do what I'm trying to do. My use case is to set up an HTTPS connection, and push data both ways onc

Re : [VOTE] Release MiNA 1.0.8 and 1.1.5

2007-11-14 Thread Edouard De Oliveira
[X]: +1, Release Regards, -Edouard De Oliveira- http://tedorg.free.fr/en/main.php - Message d'origine De : Mike Heath <[EMAIL PROTECTED]> À : dev@mina.apache.org Envoyé le : Mercredi, 14 Novembre 2007, 17h40mn 03s Objet : Re: [VOTE] Release MiNA 1.0.8 and 1.1.5 [X]: +1, Release -Mike

Re: [VOTE] Release MiNA 1.0.8 and 1.1.5

2007-11-14 Thread Mike Heath
[X]: +1, Release -Mike

[jira] Updated: (DIRMINA-478) GzipFilter

2007-11-14 Thread Matthew Giedt (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthew Giedt updated DIRMINA-478: -- Attachment: gzip.zip.rename > GzipFilter > -- > > Key: DIRMINA-478 >

[jira] Created: (DIRMINA-478) GzipFilter

2007-11-14 Thread Matthew Giedt (JIRA)
GzipFilter -- Key: DIRMINA-478 URL: https://issues.apache.org/jira/browse/DIRMINA-478 Project: MINA Issue Type: New Feature Components: Filter Affects Versions: 1.1.4 Reporter: Matthew Giedt Prio

Re: [VOTE] Release MiNA 1.0.8 and 1.1.5

2007-11-14 Thread Niklas Therning
[X]: +1, Release -- Niklas Therning www.spamdrain.net

Re: Removing a couple of Spring integration classes

2007-11-14 Thread Niklas Therning
Trustin Lee wrote: > Hi folks, > > I've just added DefaultIoFilterChainBuilder.setFilters() that is very > friendly to existing IoC containers such as Springframework. This > mean we can remove > > * IoFilterMapping > * DefaultIoFilterChainBuilderFactoryBean > > ThreadPoolExecutorFactoryBean is al

Re: Please review: new KeepAliveFilter implementation.

2007-11-14 Thread Trustin Lee
Great! I'm also writing JavaDocs when I see some big hole. Go MINA! :) Trustin On Nov 14, 2007 8:57 PM, Mark <[EMAIL PROTECTED]> wrote: > I can start to go through the code and update the exception messages. > I have been really busy with work lately but should have some time to > start looking

Re: Please review: new KeepAliveFilter implementation.

2007-11-14 Thread Mark
I can start to go through the code and update the exception messages. I have been really busy with work lately but should have some time to start looking at this. On Nov 13, 2007 11:52 PM, Trustin Lee <[EMAIL PROTECTED]> wrote: > On Nov 14, 2007 1:21 PM, Mark <[EMAIL PROTECTED]> wrote: > > This ce

AW: [VOTE] Release MiNA 1.0.8 and 1.1.5

2007-11-14 Thread Nikolaus Schlemm
[X]: +1, Release Nikolaus Schlemm Senior Software Developer cellity AG | Stahltwiete 23 | D-22761 Hamburg Vorstand: Nils Weitemeyer (Vorstandsvorsitzender), Sarik Weber Aufsichtsrat: Dr. Sven Claussen (Aufsichtsratsvorsitzender) Handelsregistereintrag: HRB 99023, Amtsgericht Hamburg Umsatzsteu

Removing a couple of Spring integration classes

2007-11-14 Thread Trustin Lee
Hi folks, I've just added DefaultIoFilterChainBuilder.setFilters() that is very friendly to existing IoC containers such as Springframework. This mean we can remove * IoFilterMapping * DefaultIoFilterChainBuilderFactoryBean ThreadPoolExecutorFactoryBean is also of dubious value with new Ordered

[jira] Assigned: (DIRMINA-477) Update page about differences between 1.x and 2.x

2007-11-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee reassigned DIRMINA-477: --- Assignee: Trustin Lee > Update page about differences between 1.x and 2.x >

List of backward-incompatible changes

2007-11-14 Thread Trustin Lee
Hi, I tried to put all backward-incompatible changes I remember between 2.x and 1.x to the following page: * http://cwiki.apache.org/MINA/changes-between-2x-and-1x.html Please let me know if there's something I am missing. Of course any feed back or contribution is welcome! Cheers, Trustin --

Re: [VOTE] Release MiNA 1.0.8 and 1.1.5

2007-11-14 Thread Emmanuel Lecharny
Thanks for the good work ! [X]: +1, Release -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org