1 Reply Latest reply on Feb 4, 2004 6:23 PM by belaban

    HANaming service always throws java.net.SocketException: Not

    tbauer

      I've tried to configure the HANamingService in cluster-service.xml several ways, but I always get an error saying java.net.SocketException: Not a multicast address....

      What SHOULD a valid multicast address be??

      config snippet from cluster-service.xml:


      jboss:service=DefaultPartition
      <!-- Name of the partition to which the service is linked -->
      DefaultPartition
      <!-- bind address of HA JNDI RMI endpoint -->
      adsl-63-193-224-220.dsl.snfc21.pacbell.net
      <!-- RmiPort to be used by the HA-JNDI service
      once bound. 0 => auto. -->
      0
      <!-- Port on which the HA-JNDI stub is made available -->
      1100
      <!-- Backlog to be used for client-server RMI
      invocations during JNDI queries -->
      50

      <!-- Multicast Address and Group used for auto-discovery -->
      adsl-63-193-224-220.dsl.snfc21.pacbell.net
      1102


      -------------------------------------------------------
      GMS: address is adsl-63-193-224-220:11800 (additional data: 19 bytes)
      -------------------------------------------------------
      15:34:14,491 INFO [ClusterPartition] Starting channel
      15:34:14,493 INFO [DefaultPartition] Number of cluster members: 1
      15:34:14,494 INFO [DefaultPartition] Other members: 0
      15:34:14,520 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition
      15:34:14,522 INFO [ClusterPartition] Started jboss:service=DefaultPartition
      15:34:14,645 INFO [EntityInstancePool] Started jboss.j2ee:jndiName=clustering/HTTPSession,plugin=pool,service=EJB
      15:34:14,647 INFO [EntityContainer] Started jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB
      15:34:14,749 INFO [ClusteredHTTPSessionService] Started jboss:service=ClusteredHttpSession
      15:34:15,371 INFO [HAILSharedState] Started jboss.mq:service=HAILSharedState
      15:34:15,373 INFO [HASessionStateService] Started jboss:service=HASessionState
      15:34:15,431 INFO [HANamingService] Listening on localhost/127.0.0.1:1100
      15:34:15,442 WARN [HANamingService] Failed to start AutomaticDiscovery
      java.net.SocketException: Not a multicast address
      at java.net.MulticastSocket.joinGroup(MulticastSocket.java:271)
      at org.jboss.ha.jndi.HANamingService$AutomaticDiscovery.start(HANamingService.java:479)
      at org.jboss.ha.jndi.HANamingService.startService(HANamingService.java:261)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)