[jboss-user] receive_on_all_interfaces="false"

Juan Hernandez vladjanicek at gmail.com
Mon Oct 16 12:37:13 EDT 2006


Hi, I have been trying to start JBoss using only one interface card in
a server that has blocked the other one with a iptables firewall
script. I have googled for this and all I get is the
receive_on_all_interfaces="false" property with no success in finding
where to modify it.

This is a small part of the errors I get

===========
12:21:51,355 ERROR [JChannel] exception: java.lang.Exception:
exception caused by UDP.start(): java.net.SocketException: dress not
bound to any interface
12:21:51,364 WARN  [ServiceController] Problem starting service
jboss.cache:service=TomcatClusteringCache
ChannelException: java.lang.Exception: exception caused by
UDP.start(): java.net.SocketException: bad argument for
IP_MULinterface
        at org.jgroups.JChannel.connect(JChannel.java:328)
        at org.jboss.cache.TreeCache.startService(TreeCache.java:1263)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
===========

If I disable the firewall, jboss works perfectly. How would I tell
jboss to start only using the network card that hast not been blocked
by the firewall and not to listen and send on all interfaces??

Thanks a lot
Juan



More information about the jboss-user mailing list