0 Replies Latest reply on Mar 5, 2002 7:56 PM by Sacha Labourey

    Clustering and Local Interfaces

    Sacha Labourey Master

      Hi
      cluster services (JBoss3.0 beta) work correctly on windows and linux with JDK 1.3 from SUN.
      Problem appear when I try use on linux JDK 1.3 from IBM.

      My environment:
      15:31:52,422 INFO [Info] Java version: 1.3.0,IBM Corporation
      15:31:52,424 INFO [Info] Java VM: Classic VM 1.3.0,IBM Corporation
      15:31:52,424 INFO [Info] OS-System: Linux 2.4.10-4GB,x86
      15

      and trace:
      15:32:08,954 INFO [ClusterPartition] Starting channel
      15:32:08,955 INFO [DefaultPartition] Number of cluster members: 1
      15:32:08,958 INFO [DefaultPartition:ReplicantManager] mergemembers
      15:32:08,991 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition
      15:32:08,992 INFO [ClusterPartition] Started
      15:32:08,993 INFO [HASessionStateService] Starting
      15:32:08,994 INFO [HASessionStateService] Started
      15:32:08,995 INFO [HANamingService] Starting
      15:32:09,183 INFO [HANamingService] Listening on 0.0.0.0/0.0.0.0:1100
      15:32:09,191 ERROR [HANamingService] Starting failed
      java.net.SocketException: error setting options
      at java.net.PlainDatagramSocketImpl.join(Native Method)
      at java.net.MulticastSocket.joinGroup(MulticastSocket.java:237)
      at org.jboss.ha.jndi.HANamingService$AutomaticDiscovery.<init>(HANamingService.java:333)
      at org.jboss.ha.jndi.HANamingService.startService(HANamingService.java:214)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at org.jboss.system.ServiceController.start(ServiceController.java:358)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      15:32:09,350 ERROR [ServiceController] JMException thrown during ServiceProxy operation start on mbean jboss:service=HAJNDI
      java.net.SocketException: error setting options
      at java.net.PlainDatagramSocketImpl.join(Native Method)
      at java.net.MulticastSocket.joinGroup(MulticastSocket.java:237)
      at org.jboss.ha.jndi.HANamingService$AutomaticDiscovery.<init>(HANamingService.java:333)
      at org.jboss.ha.jndi.HANamingService.startService(HANamingService.java:214)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at org.jboss.system.ServiceController.start(ServiceController.java:358)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      15:32:09,458 ERROR [SARDeployer] operation failed
      javax.management.MBeanException: Exception thrown in operation start
      at javax.management.JMException.<init>(JMException.java:36)
      at javax.management.MBeanException.<init>(MBeanException.java:47)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at org.jboss.system.ServiceController.start(ServiceController.java:358)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      15:32:09,594 ERROR [MainDeployer] could not deploy :file:/usr/local/inubit/ds/install/jboss3/jboss-3.0.0beta/deploy/cluster-service.xml
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      javax.management.MBeanException: Exception thrown in operation start
      at javax.management.JMException.<init>(JMException.java:36)
      at javax.management.MBeanException.<init>(MBeanException.java:47)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at org.jboss.system.ServiceController.start(ServiceController.java:358)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      at org.jboss.util.NestedException.<init>(NestedException.java:48)
      at org.jboss.util.NestedException.<init>(NestedException.java:59)
      at org.jboss.deployment.DeploymentException.<init>(DeploymentException.java:52)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      15:32:09,772 ERROR [MainDeployer] Couldn't deploy URL file:/usr/local/inubit/ds/install/jboss3/jboss-3.0.0beta/deploy/cluster-service.xml
      org.jboss.deployment.DeploymentException: Could not deploy: file:/usr/local/inubit/ds/install/jboss3/jboss-3.0.0beta/deploy/cluster-service.xml; - nested throwable is: org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      javax.management.MBeanException: Exception thrown in operation start
      at javax.management.JMException.<init>(JMException.java:36)
      at javax.management.MBeanException.<init>(MBeanException.java:47)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at org.jboss.system.ServiceController.start(ServiceController.java:358)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      at org.jboss.util.NestedException.<init>(NestedException.java:48)
      at org.jboss.util.NestedException.<init>(NestedException.java:59)
      at org.jboss.deployment.DeploymentException.<init>(DeploymentException.java:52)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      org.jboss.deployment.DeploymentException: Could not deploy: file:/usr/local/inubit/ds/install/jboss3/jboss-3.0.0beta/deploy/cluster-service.xml; - nested throwable is: org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      at org.jboss.util.NestedException.<init>(NestedException.java:48)
      at org.jboss.deployment.DeploymentException.<init>(DeploymentException.java:42)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.<init>(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:498)
      15:32:09,990 INFO [MainDeployer] Deploying: file:/usr/local/inubit/ds/install/jboss3/jboss-3.0.0beta/deploy/mail-service.xml
      15:32:10,038 INFO [MailService] Creating
      15:32:10,045 INFO [MailService] Created

      In alpha version of JBoss 3.0 I didn't have such problem.
      best regards
      Dawid