0 Replies Latest reply on Nov 14, 2005 9:17 AM by chelaru.viorel

    HANamingService (HAJNDI) AutomaticDiscovery start error

    chelaru.viorel Newbie

      hi,
      i'am new with jboss (4.0.3SP1) and ejb3 and all this stuff. i'm learning and i got an error:

      Failed to start AutomaticDiscovery
      java.net.SocketException: error setting options
      at java.net.PlainDatagramSocketImpl.join(Native Method)
      at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)
      at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
      at org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery.start(DetachedHANamingService.java:495)
      at org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:332)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor4.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:141)
      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:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:428)
      at org.jboss.system.ServiceController.start(ServiceController.java:446)
      at org.jboss.system.ServiceController.start(ServiceController.java:446)
      at sun.reflect.GeneratedMethodAccessor6.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:141)
      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:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at sun.reflect.GeneratedMethodAccessor8.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:1
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      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:141)
      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:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:428)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      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:141)
      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:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)

      in jmx console, service HANamingService (HAJNDI) has an atribute AutomaticDiscoveryGroup=1102;

      when the server is up netstat says:
      C:\Documents and Settings\vio>netstat -a

      Active Connections

      Proto Local Address Foreign Address State
      TCP HIMERUS_MOBILE:epmap 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:microsoft-ds 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1098 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1099 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1100 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1101 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1161 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1521 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:2100 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:2804 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:gds_db 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:4444 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:4445 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:4446 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:4447 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:8009 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:8080 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:8083 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:8093 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:8888 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:49152 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1027 0.0.0.0:0 LISTENING
      TCP HIMERUS_MOBILE:1162 localhost:1521 ESTABLISHED
      TCP HIMERUS_MOBILE:1268 localhost:1269 ESTABLISHED
      TCP HIMERUS_MOBILE:1269 localhost:1268 ESTABLISHED
      TCP HIMERUS_MOBILE:1521 localhost:1162 ESTABLISHED
      TCP HIMERUS_MOBILE:3873 0.0.0.0:0 LISTENING
      UDP HIMERUS_MOBILE:microsoft-ds *:*
      UDP HIMERUS_MOBILE:isakmp *:*
      UDP HIMERUS_MOBILE:1102 *:*
      UDP HIMERUS_MOBILE:1256 *:*
      UDP HIMERUS_MOBILE:1259 *:*
      UDP HIMERUS_MOBILE:1262 *:*
      UDP HIMERUS_MOBILE:1266 *:*
      UDP HIMERUS_MOBILE:4500 *:*
      UDP HIMERUS_MOBILE:9999 *:*
      UDP HIMERUS_MOBILE:43333 *:*
      UDP HIMERUS_MOBILE:45551 *:*
      UDP HIMERUS_MOBILE:45566 *:*
      UDP HIMERUS_MOBILE:45577 *:*
      UDP HIMERUS_MOBILE:ntp *:*
      UDP HIMERUS_MOBILE:1255 *:*
      UDP HIMERUS_MOBILE:1258 *:*
      UDP HIMERUS_MOBILE:1261 *:*
      UDP HIMERUS_MOBILE:1265 *:*
      UDP HIMERUS_MOBILE:1270 *:*
      UDP HIMERUS_MOBILE:1900 *:*

      C:\Documents and Settings\vio>

      can anyone tell me what is going on with my server ?

      thanks
      Viorel