Re: MINA and FtpServer on Apache Harmony
On Fri, Feb 13, 2009 at 10:58 PM, Jeanfrancois Arcand jeanfrancois.arc...@sun.com wrote: Niklas Gustavsson wrote: In an attempt to eat som Apache dogfood, I attempted to build MINA and FtpServer on Apache Harmony. For MINA, Harmony 5.0 M8 crashed. For FtpServer, I get this weird error when running our unit tests: java.net.SocketException at org.apache.harmony.luni.platform.OSNetworkSystem.select(OSNetworkSystem.java:317) at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:468) at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:432) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.select(NioSocketAcceptor.java:283) at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:395) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:65) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:670) looks like almost the same as: http://tinyurl.com/deut8e Jeanfrancois, where you able to distill this problem down to a simple test case without the entire Grizzly code base? :-) Got some of the developers over at harmony-dev who wants to help out with this but they need a good test case to start debugging. I'm looking into creating one based on the MINA code, but if you got one as well I'm sure that would help. /niklas
Re: MINA and FtpServer on Apache Harmony
Salut, Niklas Gustavsson wrote: On Fri, Feb 13, 2009 at 10:58 PM, Jeanfrancois Arcand jeanfrancois.arc...@sun.com wrote: Niklas Gustavsson wrote: In an attempt to eat som Apache dogfood, I attempted to build MINA and FtpServer on Apache Harmony. For MINA, Harmony 5.0 M8 crashed. For FtpServer, I get this weird error when running our unit tests: java.net.SocketException at org.apache.harmony.luni.platform.OSNetworkSystem.select(OSNetworkSystem.java:317) at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:468) at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:432) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.select(NioSocketAcceptor.java:283) at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:395) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:65) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:670) looks like almost the same as: http://tinyurl.com/deut8e Jeanfrancois, where you able to distill this problem down to a simple test case without the entire Grizzly code base? :-) Got some of the developers over at harmony-dev who wants to help out with this but they need a good test case to start debugging. I'm looking into creating one based on the MINA code, but if you got one as well I'm sure that would help. I can try to come with a test case this week. The exception is kind of trivial so I've wrongly assumed they (harmony team) would figure it out :-). Will ping you once I have it :-) A+ -- Jeanfrancois /niklas
MINA and FtpServer on Apache Harmony
Hi In an attempt to eat som Apache dogfood, I attempted to build MINA and FtpServer on Apache Harmony. For MINA, Harmony 5.0 M8 crashed. For FtpServer, I get this weird error when running our unit tests: java.net.SocketException at org.apache.harmony.luni.platform.OSNetworkSystem.select(OSNetworkSystem.java:317) at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:468) at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:432) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.select(NioSocketAcceptor.java:283) at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:395) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:65) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:670) Has anyone else given Harmony a try on our source code with any more luck? /niklas
Re: MINA and FtpServer on Apache Harmony
Salut, Niklas Gustavsson wrote: Hi In an attempt to eat som Apache dogfood, I attempted to build MINA and FtpServer on Apache Harmony. For MINA, Harmony 5.0 M8 crashed. For FtpServer, I get this weird error when running our unit tests: java.net.SocketException at org.apache.harmony.luni.platform.OSNetworkSystem.select(OSNetworkSystem.java:317) at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:468) at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:432) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.select(NioSocketAcceptor.java:283) at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:395) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:65) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:670) looks like almost the same as: http://tinyurl.com/deut8e A+ -- Jeanfrancois Has anyone else given Harmony a try on our source code with any more luck? /niklas
Re: MINA and FtpServer on Apache Harmony
On Fri, Feb 13, 2009 at 10:58 PM, Jeanfrancois Arcand jeanfrancois.arc...@sun.com wrote: looks like almost the same as: http://tinyurl.com/deut8e Very much so, I added my details to the bug. Thanks for the hint! /niklas