A couple of tests are consistently failing because SUN JVM does not allow on
WIndows to connect a DatagramSocket to ADDR_ANY (0.0.0.0).

org.apache.mina.transport.socket.nio.DatagramConfigTest.testAcceptorFilterChain()
line 72
            ConnectFuture future = connector.connect(new
InetSocketAddress(port));
should be
            ConnectFuture future = connector.connect(new
InetSocketAddress("localhost", port)); // or "127.0.0.1"

org.apache.mina.example.echoserver.AcceptorTest.testUDP() line 99
            client.connect(new InetSocketAddress(port));
should be
            client.connect(new InetSocketAddress("localhost", port)); // or
"127.0.0.1"

Then, just out of curiosity, what do you mean with those two lines (116,
117)
           
ch.socket().setReuseAddress(getSessionConfig().isReuseAddress());
            ch.socket().setReuseAddress(true);
of org.apache.mina.transport.socket.nio.NioDatagramConnector?

Thanks,  Gabriele









-- 
View this message in context: 
http://www.nabble.com/Cannot-build-trunk-on-Win-XP-tf4548157s16868.html#a12978630
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to