[jira] Updated: (DIRMINA-258) Example of an XML server and Client.

2010-01-19 Thread Ashish Paliwal (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Paliwal updated DIRMINA-258: --- Component/s: Example Fix Version/s: 3.0.0-M1 Moved to 3.0 > Example of an XML server

[jira] Assigned: (DIRMINA-258) Example of an XML server and Client.

2010-01-19 Thread Ashish Paliwal (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Paliwal reassigned DIRMINA-258: -- Assignee: Ashish Paliwal (was: Mark Webb) > Example of an XML server and Client. > --

Re: Not sure why...

2010-01-19 Thread Alan D. Cabrera
On Jan 19, 2010, at 8:58 PM, Ashish wrote: We can simply catch it and do whatever we want with it. In this case, I think the constructor should be throwing an IOException. Anyone mind if I remove the places where we removed the checked exceptions? I am afraid, we have already freezed

Re: Not sure why...

2010-01-19 Thread Ashish
>> We can simply catch it and do whatever we want with it. > > In this case, I think the constructor should be throwing an IOException. >  Anyone mind if I remove the places where we removed the checked exceptions? > I am afraid, we have already freezed the API, so not sure if we should do this.

[jira] Commented: (DIRMINA-258) Example of an XML server and Client.

2010-01-19 Thread Mark Webb (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802665#action_12802665 ] Mark Webb commented on DIRMINA-258: --- I think handing this off to Ashish might be a good

Re: Not sure why...

2010-01-19 Thread Alan D. Cabrera
On Jan 19, 2010, at 3:15 PM, Emmanuel LŽcharny wrote: Alan D. Cabrera a écrit : On Jan 19, 2010, at 7:31 AM, Ashish wrote: Well I think only Exception could be the only case needed. However, catching generic Exception means any error, a specific Exception caught is better. The other odd t

Re: Not sure why...

2010-01-19 Thread Alan D. Cabrera
On Jan 19, 2010, at 6:44 PM, Ashish wrote: Well I think only Exception could be the only case needed. However, catching generic Exception means any error, a specific Exception caught is better. The other odd thing is that it catches the checked exception and wraps it in a runtime excepti

Re: Not sure why...

2010-01-19 Thread Ashish
> >> Well I think only Exception could be the only case needed. However, >> catching generic Exception means any error, a specific Exception >> caught is better. > > The other odd thing is that it catches the checked exception and wraps it in > a runtime exception.  This strikes me as a poor practi

Re: Not sure why...

2010-01-19 Thread Emmanuel LŽcharny
Alan D. Cabrera a écrit : On Jan 19, 2010, at 7:31 AM, Ashish wrote: Well I think only Exception could be the only case needed. However, catching generic Exception means any error, a specific Exception caught is better. The other odd thing is that it catches the checked exception and wraps

Re: Not sure why...

2010-01-19 Thread Emmanuel LŽcharny
Alan D. Cabrera a écrit : IMO, we should log : - where we got the exception if we know that no log has already been generated I'm against this since you usually have no idea if someone else has logged the error. When you are writing a framework, you are the one responsible for logging, nobod

Re: Not sure why...

2010-01-19 Thread Alan D. Cabrera
On Jan 19, 2010, at 10:45 AM, Emmanuel LŽcharny wrote: Alan D. Cabrera a écrit : Just one more thing that I noted in the class, there are no log statements. Dom't we need them? I'm against logging exceptions if we're re-throwing them unless we print out some critical piece of informatio

Re: Not sure why...

2010-01-19 Thread Emmanuel LŽcharny
Alan D. Cabrera a écrit : Just one more thing that I noted in the class, there are no log statements. Dom't we need them? I'm against logging exceptions if we're re-throwing them unless we print out some critical piece of information that cannot be discerned by any other method. I say thi

Re: MINA 2.0 bugs parade, #2

2010-01-19 Thread Emmanuel Lecharny
BTW how do you did your fancy txt export ? keyboard and patience ... -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: Re : Not sure why...

2010-01-19 Thread Alan D. Cabrera
In practice this is true. But in this instance we do nothing. Regards, Alan On Jan 19, 2010, at 9:16 AM, Edouard De Oliveira wrote: The point is to react differently in case of different exceptions but exceptions must be sorted from specific exceptions to generic ones it can also be done by

Re: Not sure why...

2010-01-19 Thread Alan D. Cabrera
On Jan 19, 2010, at 7:31 AM, Ashish wrote: Well I think only Exception could be the only case needed. However, catching generic Exception means any error, a specific Exception caught is better. The other odd thing is that it catches the checked exception and wraps it in a runtime exception.

Re: Not sure why...

2010-01-19 Thread Emmanuel Lecharny
Ashish a écrit : Where did u pulled this out from ? NO ! Alan, please, no need to tell ;) Seriously, it stinks ;) -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com

Re: MINA 2.0 bugs parade, #2

2010-01-19 Thread Julien Vermillard
Le Tue, 19 Jan 2010 13:12:28 +0100, Emmanuel Lecharny a écrit : > Hi guys, > > some progress has been made last week. Here is the current status. > > Here are he remaining issues : ([B] = Bug, [I] = Improvement, [T] = > task, [F] = new Feature, [W] = wish) > > MINA 2.0-RC2 roadmap : >

Re : Not sure why...

2010-01-19 Thread Edouard De Oliveira
The point is to react differently in case of different exceptions but exceptions must be sorted from specific exceptions to generic ones it can also be done by catching exception and using instanceof statements my 2 cents :) Cordialement, Regards, -Edouard De Oliveira- Blog: http://tedorgwp.fre

Hudson build is back to normal: MINA-trunk #206

2010-01-19 Thread Apache Hudson Server
See

[MINA 3.0] Debugging toolkit

2010-01-19 Thread Ashish
Had picked this form one the discussion threads and added to the MINA 3.0 design page, so that we don't loose this. had some initial thoughts around this, like we can some kind of visualization tool build around MINA, which can help us see/debug the MINA based System. One can view number of IoSess

Re: MINA 2.0 bugs parade, #2

2010-01-19 Thread Ashish
Shall give IRMINA-593 a try ASAP. I did some work earlier for documenting the stuff, but lost the stuff when I changed my organization :-( Getting documentation around it shall be tricky. There is a SMPP server example attached to the JIRA. If it works, will try to see the execution details, as I

Re: Not sure why...

2010-01-19 Thread Ashish
Well I think only Exception could be the only case needed. However, catching generic Exception means any error, a specific Exception caught is better, BTW, the catch(Error e) {} stuff has been caught by IntelliJ Inspections. Just one more thing that I noted in the class, there are no log statemen

[jira] Commented: (DIRMINA-758) APR code needs unit tests

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802302#action_12802302 ] Julien Vermillard commented on DIRMINA-758: --- I think if we want to do that, we n

Re: Not sure why...

2010-01-19 Thread Alan D. Cabrera
org.apache.mina.transport.socket.apr.AprIoProcessor Regards, Alan On Jan 19, 2010, at 6:44 AM, Ashish wrote: Where did u pulled this out from ? On Tue, Jan 19, 2010 at 8:11 PM, Alan D. Cabrera wrote: try { doSomeStuff(); } catch (RuntimeException e) {

[jira] Resolved: (DIRMINA-707) Add sendfile support to APR transport

2010-01-19 Thread Alan Cabrera (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Cabrera resolved DIRMINA-707. -- Resolution: Fixed Many thanks. > Add sendfile support to APR transport >

[jira] Commented: (DIRMINA-758) APR code needs unit tests

2010-01-19 Thread Alan Cabrera (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802296#action_12802296 ] Alan Cabrera commented on DIRMINA-758: -- Hmmm, good point. How does Tomcat test? I w

[jira] Commented: (DIRMINA-758) APR code needs unit tests

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802293#action_12802293 ] Julien Vermillard commented on DIRMINA-758: --- the main problem is to automagicly

Build failed in Hudson: MINA-trunk #205

2010-01-19 Thread Apache Hudson Server
See Changes: [adc] DIRMINA-707 Add sendfile support to APR transport -- Started by an SCM change Building remotely on vesta.apache.org (Ubuntu) Updating https://svn.apache.org/repos/asf/min

[jira] Commented: (DIRMINA-707) Add sendfile support to APR transport

2010-01-19 Thread Alan Cabrera (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802290#action_12802290 ] Alan Cabrera commented on DIRMINA-707: -- On second thought. I think that hasFilename(

[jira] Created: (DIRMINA-758) APR code needs unit tests

2010-01-19 Thread Alan Cabrera (JIRA)
APR code needs unit tests - Key: DIRMINA-758 URL: https://issues.apache.org/jira/browse/DIRMINA-758 Project: MINA Issue Type: Improvement Reporter: Alan Cabrera The APR code should be unit tested. -- T

Re: Not sure why...

2010-01-19 Thread Ashish
Where did u pulled this out from ? On Tue, Jan 19, 2010 at 8:11 PM, Alan D. Cabrera wrote: >        try { >            doSomeStuff(); >        } catch (RuntimeException e) { >            throw e; >        } catch (Error e) { >            throw e; >        } catch (Exception e) { >            thro

Not sure why...

2010-01-19 Thread Alan D. Cabrera
try { doSomeStuff(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Exception e) { throw new RuntimeIoException("Failed to create a pollset.", e); } finally { cleanU

Re: MINA 2.0 bugs parade, #2

2010-01-19 Thread Alan D. Cabrera
Thanks! Regards, Alan On Jan 19, 2010, at 6:14 AM, Julien Vermillard wrote: Ok I figured your user id. Now you can assign you a ton of bugs :) Le Tue, 19 Jan 2010 06:01:56 -0800, "Alan D. Cabrera" a écrit : I wanted to assign an issue to myself to work on it but was unable to. Regards

[jira] Assigned: (DIRMINA-707) Add sendfile support to APR transport

2010-01-19 Thread Alan Cabrera (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Cabrera reassigned DIRMINA-707: Assignee: Alan Cabrera > Add sendfile support to APR transport > -

Re: MINA 2.0 bugs parade, #2

2010-01-19 Thread Julien Vermillard
Ok I figured your user id. Now you can assign you a ton of bugs :) Le Tue, 19 Jan 2010 06:01:56 -0800, "Alan D. Cabrera" a écrit : > I wanted to assign an issue to myself to work on it but was unable to. > > > Regards, > Alan > > On Jan 19, 2010, at 4:12 AM, Emmanuel Lecharny wrote: > > > Hi

Re: MINA 2.0 bugs parade, #2

2010-01-19 Thread Julien Vermillard
Are you begging for jira karma ? Be carefull because we can provide it and you will be trapped in :) I'm going to take a look. Julien Le Tue, 19 Jan 2010 06:01:56 -0800, "Alan D. Cabrera" a écrit : > I wanted to assign an issue to myself to work on it but was unable to. > > > Regards, > Alan

[jira] Resolved: (DIRMINA-196) Connection shaper

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard resolved DIRMINA-196. --- Resolution: Won't Fix based on a very old version > Connection shaper > ---

[jira] Updated: (DIRMINA-657) SSL Filter and IoHandler.

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-657: -- Affects Version/s: (was: 1.1.7) 3.0.0-M1 good point somethi

Re: MINA 2.0 bugs parade, #2

2010-01-19 Thread Alan D. Cabrera
I wanted to assign an issue to myself to work on it but was unable to. Regards, Alan On Jan 19, 2010, at 4:12 AM, Emmanuel Lecharny wrote: Hi guys, some progress has been made last week. Here is the current status. Here are he remaining issues : ([B] = Bug, [I] = Improvement, [T] = task,

[jira] Updated: (DIRMINA-655) Add a more general purpose text based decoder

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-655: -- any progress here ? > Add a more general purpose text based decoder > ---

[jira] Commented: (DIRMINA-258) Example of an XML server and Client.

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802261#action_12802261 ] Julien Vermillard commented on DIRMINA-258: --- any progress on this issue ? > Exa

[jira] Updated: (DIRMINA-250) Provide a test suite for a transport implementor.

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-250: -- Fix Version/s: 3.0.0-M1 Issue Type: Wish (was: Task) > Provide a test suite fo

[jira] Resolved: (DIRMINA-128) IoSession.shutdown(TrafficMask)

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard resolved DIRMINA-128. --- Resolution: Won't Fix looks like nobody needs it > IoSession.shutdown(TrafficMask)

[jira] Resolved: (DIRMINA-715) Ability to set timeouts for NioSocketConnector.connect()

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard resolved DIRMINA-715. --- Resolution: Won't Fix the API is frozen, you still can change the time out before ea

[jira] Commented: (DIRMINA-379) setKeepAlive/setTcpNoDelay and exceptions in Windows Vista

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802257#action_12802257 ] Julien Vermillard commented on DIRMINA-379: --- is it still a problem with 2.0.0 RC

[jira] Resolved: (DIRMINA-641) Configurable memory limit for CompressionFilter

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard resolved DIRMINA-641. --- Resolution: Won't Fix the whole compression filter is a memory eater, avoid it if yo

[jira] Updated: (DIRMINA-509) DatagramConnector.connect() is slow compared to connect() with java.net.DatagramSocket

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-509: -- Fix Version/s: 3.0.0-M1 Yes creating a "session" for each UDP end-ponit is a big overh

[jira] Resolved: (DIRMINA-355) Modified sumup client to act as a jmeter javarequest sampler

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard resolved DIRMINA-355. --- Resolution: Won't Fix 1.0 is very old now > Modified sumup client to act as a jmete

[jira] Updated: (DIRMINA-723) OrderedThreadPoolExecutor behavior: configurable queue size, corePoolSize, maximumPoolSize

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-723: -- Fix Version/s: 3.0.0-M1 > OrderedThreadPoolExecutor behavior: configurable queue size,

[jira] Updated: (DIRMINA-484) Datagram transport based on APR (Apache Portable Runtime)

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-484: -- Affects Version/s: (was: 3.0.0-M1) Fix Version/s: 3.0.0-M1 > Datagram tran

[jira] Updated: (DIRMINA-484) Datagram transport based on APR (Apache Portable Runtime)

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-484: -- Affects Version/s: 3.0.0-M1 to do for 3.0 or post 2.0 if we keep APR > Datagram trans

[jira] Updated: (DIRMINA-301) New Multi threaded SocketIOProcessor to improve fairness of socket reads/writes

2010-01-19 Thread Julien Vermillard (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vermillard updated DIRMINA-301: -- Fix Version/s: 3.0.0-M1 > New Multi threaded SocketIOProcessor to improve fairness of

MINA 2.0 bugs parade, #2

2010-01-19 Thread Emmanuel Lecharny
Hi guys, some progress has been made last week. Here is the current status. Here are he remaining issues : ([B] = Bug, [I] = Improvement, [T] = task, [F] = new Feature, [W] = wish) MINA 2.0-RC2 roadmap : -- [B] DIRMINA-539NioDatagramConnector doesn't takes the TrafficCla

[jira] Resolved: (DIRMINA-757) Add an entry in FAQ explaining how to correctly close a session and dispose the connector

2010-01-19 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRMINA-757. --- Resolution: Fixed Done > Add an entry in FAQ explaining how to correctly close a se

[jira] Closed: (DIRMINA-757) Add an entry in FAQ explaining how to correctly close a session and dispose the connector

2010-01-19 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny closed DIRMINA-757. - > Add an entry in FAQ explaining how to correctly close a session and dispose > the connect

[jira] Closed: (DIRMINA-742) When session is closed, DefaultIoFilterChain is in deadlock.

2010-01-19 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny closed DIRMINA-742. - Resolution: Fixed Ok thanks ! Closing the issue then. > When session is closed, Defaul

[jira] Commented: (DIRMINA-742) When session is closed, DefaultIoFilterChain is in deadlock.

2010-01-19 Thread ncanis2 (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802196#action_12802196 ] ncanis2 commented on DIRMINA-742: - I think this problem was fixed. when I used below code