[Site] AsyncWeb links are now hidden
Hi guys, I have hidden the AsyncWeb links until we have a website up and running for this sub-project. -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
Re: [VOTE] Releasing FtpServer 1.0.0-M3
+1 On Sep 4, 2008, at 12:44 PM, Alex Karasulu wrote: [X]: +1, Release FtpServer 1.0.0-M3 Alex
Re: [VOTE] Releasing FtpServer 1.0.0-M3
[X]: +1, Release FtpServer 1.0.0-M3 Alex
Re: play! a mina/asyncweb based web framework
On Thu, 04 Sep 2008 16:39:51 +0200 Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: > Kevin Williams wrote: > > Looks interesting. > > > A little bit like if the whole planet was wrong about webapps, but No only the whole J2EE country ;) Because it's more like the lighter framework like RoR. > anyway, they are using MINA, so they can't be totally wrong :) Just mean it's fast & simple ;) Julien signature.asc Description: PGP signature
Re: play! a mina/asyncweb based web framework
Kevin Williams wrote: Looks interesting. A little bit like if the whole planet was wrong about webapps, but anyway, they are using MINA, so they can't be totally wrong :) -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
Re: play! a mina/asyncweb based web framework
Looks interesting. On Thu, Sep 4, 2008 at 1:25 AM, Julien Vermillard <[EMAIL PROTECTED]> wrote: > FYI > > Look like there is a new web framework based on MINA + asyncweb > http codec. > > http://www.playframework.org/ > > Some details but in french : > http://linuxfr.org/2008/09/04/24453.html > > Julien > -- Cheers, Kevin Williams http://kevwil.com/
Re: [VOTE] Releasing FtpServer 1.0.0-M3
[X]: +1, Release FtpServer 1.0.0-M3 -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
race condition in OrderedThreadPoolExecutor/UnorderedThreadPoolExecutor
I think I found a race condition in OrderedThreadPoolExecutor/UnorderedThreadPoolExecutor I write a textline echo server using MINA I add a UnorderedThreadPoolExecutor in server's filter: acceptor.getFilterChain().addLast("executor", new ExecutorFilter(new UnorderedThreadPoolExecutor(10))); and in messageReceived, I add sleep(3000) before echo the line received when I send 10 lines from client , I think the server should use 10 threads to process 10 message concurrently but the server only use 2 thread or 4 thread , and the remain message must wait until sleep complete I changed executor to ThreadPoolExecutor in JDK, it will use 10 thread I checked and trace the code of UnorderedThreadPoolExecutor, find the reason: private void addWorkerIfNecessary() { if (idleWorkers.get() == 0) { synchronized (workers) { if (workers.isEmpty() || idleWorkers.get() == 0) { addWorker(); } } } } there may be some race condition: 1 thread A call executor's execute to sunmit one task 2 executor find there are no idle worker, so create a new thread and start it, now idleWorkers is 1 3 before new worker thread fetch task and decrement the idleWorkers, the thread A submit more task 4 the executor find idleWorkers is 1 , so don't create new thread 5 the new worker thread fetch task and decrement the idleWorkers, now idleWorkers is 0 ,but there are some task left in queue without worker MAYBE the idleWorkers.get() == 0 should be change to idleWorkers.get() < getQueue().size() ? And in OrderedThreadPoolExecutor , have the same race condition. And I have one more question: Why not just use ThreadPoolExecutor in JDK instead of UnorderedThreadPoolExecutor? does UnorderedThreadPoolExecutor have some special requirement which ThreadPoolExecutor can't fulfil? dingli 2008-09-04
Re: [VOTE] Releasing FtpServer 1.0.0-M3
To get things started... [X]: +1, Release FtpServer 1.0.0-M3 /niklas
[AsyncWeb] No web page available...
Hi AsyncWeb guys, there are no web page for the asyncweb subproject, atm. There is an existing wiki, but no template yet. If we want to link to AsyncWeb from the MINA web site, we have to create some kind of template, and improve the wiki a bit (with downloads, etc). Any volunteer ? -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
[jira] Commented: (DIRMINA-619) Mark easymock as test dependency in maven pom.xml
[ https://issues.apache.org/jira/browse/DIRMINA-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628277#action_12628277 ] Emmanuel Lecharny commented on DIRMINA-619: --- Hey, this was certainly not noise ! We really appreciate those kind of reports. This is the way to go, definitively : we can quickly check if it's a real bug or not, and if not, we simply close the JIRA. It's a 5 minutes process, and it's asynchronous, compared to a mail which must be processed quick immediatly, or forgetten for ever... Thanks ! > Mark easymock as test dependency in maven pom.xml > - > > Key: DIRMINA-619 > URL: https://issues.apache.org/jira/browse/DIRMINA-619 > Project: MINA > Issue Type: Improvement > Components: Core >Affects Versions: 2.0.0-M3 >Reporter: syvalta > > Currently Maven pom.xml for core includes following dependencies: > > org.easymock > easymock > > > > org.easymock > easymockclassextension > > I would assume that they are test dependencies, so adding test > to them would be good to prevent them to be included in wars etc. Unless I'm > mistaken and they really are needed at runtime, which I find highly unlikely. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Mina web site modified
On Thu, 04 Sep 2008 01:10:06 +0200 Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have modified the navigation on the MINA site. It should take a > couple of hours before the mirrors are updated, as I just exported > the site. > > There is much more to do : I just mapped the menus to the existing > pages. Some links are missing (AsyncWeb, for instance). Some pages > must be splitted. Some pages must be created ('sources', etc) > > As I said, this is just a beginning ... > Much much better ! Thanks Julien signature.asc Description: PGP signature
play! a mina/asyncweb based web framework
FYI Look like there is a new web framework based on MINA + asyncweb http codec. http://www.playframework.org/ Some details but in french : http://linuxfr.org/2008/09/04/24453.html Julien signature.asc Description: PGP signature