You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by garu <ga...@infoblu.it> on 2007/10/01 14:50:30 UTC
Cannot build trunk on Win XP
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.
Re: Cannot build trunk on Win XP
Posted by garu <ga...@infoblu.it>.
Opened Bug DIRMINA-450
Regards, Gabriele
--
View this message in context: http://www.nabble.com/Cannot-build-trunk-on-Win-XP-tf4548157s16868.html#a12993241
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.