Spring 2.5 and MXBean support

2007-12-26 Thread Lian Cheng
Thanks for all your hard work! I'm currently working with MINA 1.1.x, Spring, JMX and Maven 2. Recently, I introduced MXBeans into my project while I found out that Spring doesn't support MXBean well until the 2.5 version. But Mina 1.1.x is depending on Spring 2.0.6, that really causes some depe

Re: Spring 2.5 and MXBean support

2007-12-26 Thread Lian Cheng
That would be greate! :-D Trustin Lee wrote: > > Sounds like a good idea as long as it doesn't have any backward > compatibility problem. > > FYI, MINA has much better JMX integration in 2.0. > > Thanks, > Trustin > -- View this message in context: http://www.nabble.com/Spring-2.5-and-MXB

Spring related mina-example code breaks

2008-01-10 Thread Lian Cheng
Hi everyone, Has anybody noticed that the Spring version of chat example breaks? The trouble maker is mina-examples/src/main/resources/org/apache/mina/example/chat/serverContext.xml, in which there is still classes already removed from trunk long ago, such as: - org.apache.mina.integration.spri

Re: Spring related mina-example code breaks

2008-01-10 Thread Lian Cheng
Niklas Therning wrote: > > You're right, the serverContext.xml file has to be updated. The three > first missing classes now live in org.apache.mina.filter.ssl. The last > one should be replaced with > org.apache.mina.common.DefaultIoFilterChainBuilder directly because it > now has the setFi

Re: Spring related mina-example code breaks

2008-01-12 Thread Lian Cheng
Maarten Bosteels wrote: > > Lian, > > I fixed the example, please let me know if I can close the ticket. > > http://issues.apache.org/jira/browse/DIRMINA-510 > > Maarten > > Well done! It runs perfectly and I think this ticket can be closed. But I've got another problem. I'll start a new

Re: Spring related mina-example code breaks

2008-01-12 Thread Lian Cheng
Niklas Therning wrote: > > Yes and no! :-) This is true for DefaultFilterChainBuilder. It can be > used directly from within Spring. The KeyStoreFactory and > SslContextFactory should be used like this in Spring: > > > > ... > > > factory-method="newInstance"/> > > SslContextFactory

DatagramConnectorTest in trunk breaks on XP SP2 box.

2008-01-21 Thread Lian Cheng
Hi, all Thanks for your hard work! I've recently encountered a problem. I cannot build Mina trunk with maven on two of my XP SP2 boxes because of test failure of the DatagramConnectorTest. But everything works just perfect on my Debian box. I stepped into the test case and found out that the data

Re: DatagramConnectorTest in trunk breaks on XP SP2 box.

2008-01-21 Thread Lian Cheng
Maarten Bosteels wrote: > > Hello Cheng, > > On Jan 21, 2008 9:11 AM, Lian Cheng <[EMAIL PROTECTED]> wrote: > yes, I have noticed this as well (also on Windows Xp). But I haven't > investigated it yet. > > Maarten > >> >> >> Chee

Re: [MINA] 2.0 Milestone 1 ?

2008-01-25 Thread Lian Cheng
Trustin Lee wrote: > > Other unscheduled issues are mostly feature addition, unreproduceable > bugs or bug reports for the trunk, so we will have to schedule it as > soon as 2.0.0-M1 is released. > > Trustin > Hi, Trustin Err... so, bug reports for the trunk won't be fixed? And I think there

Re: [MINA] 2.0 Milestone 1 ?

2008-01-26 Thread Lian Cheng
Emmanuel Lecharny-3 wrote: > > 2.0.0-M1 is a milestone, not a release. We can wait forever until the > last bug has been fixed, but this does not help a lot projects using MINA > ! > I see, seems I'm confused by the milestone and release concepts, sorry for that and thanks for your clarificat

Re: MINA v2.0 Quick Start Guide

2008-04-15 Thread Lian Cheng
Hi, all I've once planned to write a MINA 2.0 tutorial for my colleagues, and here is some sample code including basic time server/client with Spring/JMX/SSL support. you may check it out here: http://code.google.com/p/mina-2-tutor/ The tutorial is in Chinese and is far from complete. But all the

[jira] Created: (DIRMINA-515) DatagramConnectorTest breaks in XP SP2

2008-01-21 Thread Lian Cheng (JIRA)
Environment: XP SP2, JDK 1.6.0_03 Reporter: Lian Cheng Related forum thread: http://www.nabble.com/DatagramConnectorTest-in-trunk-breaks-on-XP-SP2-box.-to14992789s16868.html DatagramConnectorTest breaks on XP SP2 boxes. The NioDatagramAcceptor is correctly set up and bound