after exception to closed udp socket.
Trustin Lee (이희승)
trustin at gmail.com
Mon Nov 30 17:39:38 EST 2009
Obviously, you don't have permission to send a broadcast datagram
packet in your machine. UDP broadcasting might have been disabled by
O/S. You might be running it in a hosted environment such as Amazon
EC2?
— Trustin Lee, http://gleamynode.net/
On Thu, Nov 26, 2009 at 10:30 AM, leoincedo <leoincedo at gmail.com> wrote:
>
> socket couldn't be used
>
> udp socket closed because any socket exception
>
> target /255.255.255.255:54321
>
> java.net.SocketException: Permission denied
> at sun.nio.ch.DatagramChannelImpl.send0(Native Method)
> at
> sun.nio.ch.DatagramChannelImpl.sendFromNativeBuffer(DatagramChannelImpl.java:301)
> at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:281)
> at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:250)
> at
> org.jboss.netty.channel.socket.nio.NioDatagramWorker.writeNow(NioDatagramWorker.java:518)
> at
> org.jboss.netty.channel.socket.nio.NioDatagramWorker.write(NioDatagramWorker.java:446)
> at
> org.jboss.netty.channel.socket.nio.NioDatagramPipelineSink.eventSunk(NioDatagramPipelineSink.java:112)
> at org.jboss.netty.channel.Channels.write(Channels.java:895)
> at
> org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:233)
> at
> org.jboss.netty.channel.socket.nio.NioDatagramChannel.write(NioDatagramChannel.java:233)
> at
> com.dragonfly.sf2.relay.NettyRelay.messageReceived(NettyRelay.java:82)
> at
> org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
> at
> org.jboss.netty.channel.socket.nio.NioDatagramWorker.read(NioDatagramWorker.java:410)
> at
> org.jboss.netty.channel.socket.nio.NioDatagramWorker.processSelectedKeys(NioDatagramWorker.java:344)
> at
> org.jboss.netty.channel.socket.nio.NioDatagramWorker.run(NioDatagramWorker.java:258)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:637)
> --
> View this message in context: http://n2.nabble.com/after-exception-to-closed-udp-socket-tp4068857p4068857.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
More information about the netty-users
mailing list