1 Reply Latest reply on Jan 29, 2005 4:45 PM by gwichman

    Installing JBOSS as a service on Fedora Core 3

    gwichman

      After installing the 4.0.1_07 I got it starting as a service running as user jboss but i got one remaining exception i'm not sure what to do about. It starts fine if i start it simply running run.sh as either user root or jboss. If i started it as a service I get the below exception.

      Anyone know why or what to do about it? Thanks..

      13:20:08,417 INFO [HANamingService] Listening on /0.0.0.0:1100
      13:20:08,423 WARN [HANamingService] Failed to start AutomaticDiscovery
      java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
      at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
      at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:260)
      at java.net.MulticastSocket.setInterface(MulticastSocket.java:418)
      at org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery.start(DetachedHANamingService.java:446)
      at org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:243)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)

        • 1. Re: Installing JBOSS as a service on Fedora Core 3
          gwichman

          hmm i notice now if i start it specifying --host=<my IP> i don't get it anymore.

          I'm not entirely sure why because i still don't think multicast is enabled on my machine but anyways there i go.. appreciate it if anyone has any input as to what multicasting is used for in regards to jboss and why the above makes the error go away.