[javagroups-users] UDP not working in AIX
Brought to you by:
belaban
From: Robina B. <rob...@gm...> - 2007-06-27 09:52:23
|
Hello, We are using JGroups to establish communication among nodes in a cluster. We are using the following protocol stack, "UDP(mcast_addr= 228.8.8.8;mcast_port=45566;ip_ttl=32;" + "mcast_send_buf_size=64000;mcast_recv_buf_size=64000):" + // "PIGGYBACK(max_wait_time=100;max_size=32000):" + "PING(timeout=2000;num_initial_members=3):" + "MERGE2(min_interval=5000;max_interval=10000):" + "FD_SOCK:" + "VERIFY_SUSPECT(timeout=1500):" + "pbcast.NAKACK(max_xmit_size=8096;gc_lag=50;retransmit_timeout=600,1200,2400,4800):" + "UNICAST(timeout=600,1200,2400,4800):" + "pbcast.STABLE(desired_avg_gossip=20000):" + "FRAG(frag_size=8096;down_thread=false;up_thread=false):" + // "CAUSAL:" + "pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;" + "shun=false;print_local_addr=true):" + " pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)"; and it works fine with windows and solaris. But its gives the following error in the AIX operating system. Stacktrace of the error in AIX, com.novartis.pkiaic.encryptionComponent.exceptions.ChannelCommunicationException: org.jgroups.ChannelException: failed to start protocol stack at com.novartis.pkiaic.encryptionComponent.server.ChannelCommunication.createChannel( ChannelCommunication.java:293) at com.novartis.pkiaic.encryptionComponent.server.ProfileUpdaterImpl.start( ProfileUpdaterImpl.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke ( DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java :279) at sun.rmi.transport.Transport$1.run (Transport.java:164) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java :389) at sun.rmi.transport.Transport.serviceCall (Transport.java:160) at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:505) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest( TCPTransport.java:837) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run( TCPTransport.java:911) at java.lang.Thread.run(Thread.java:570) Caused by: org.jgroups.ChannelException: failed to start protocol stack at org.jgroups.JChannel.connect(JChannel.java:389) at org.jgroups.blocks.DistributedHashtable.<init>( DistributedHashtable.java:96) at com.novartis.pkiaic.encryptionComponent.server.ChannelCommunication.createChannel( ChannelCommunication.java:267) ... 15 more Caused by: java.lang.Exception: exception caused by UDP.start() at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java :582) at org.jgroups.stack.DownHandler.run (Protocol.java:118) Caused by: java.lang.Exception: problem creating sockets (bind_addr=/160.61.106.230, mcast_addr= 228.8.8.8:45566) at org.jgroups.protocols.UDP.start(UDP.java :372) at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java :571) ... 1 more Caused by: java.net.SocketException: The socket name is not available on this system. at java.net.PlainDatagramSocketImpl.socketSetOption (Native Method) at java.net.PlainDatagramSocketImpl.setOption( PlainDatagramSocketImpl.java:295) at java.net.MulticastSocket.setInterface(MulticastSocket.java:440) at org.jgroups.protocols.UDP.createSockets (UDP.java:473) at org.jgroups.protocols.UDP.start(UDP.java:367) ... 2 more Could anyone please help us in getting rid of this error in creating sockets? Does JGroups works fine in AIX? Is it problem in using UDP? Should we switch to TCP? regards, robina |