6 Replies Latest reply on Oct 11, 2012 12:36 PM by Radoslav Husar

    JBoss 7 domain servers fail to find each other. Session failover not working

    dave harland Newbie

      Hi,

       

      Im trying to get to fedora 15 servers running JBoss 7.1.1.Final. I have everthing working except for session failover. I believe JGroups is not finding each other which might have something to do with the servers each having 2 IP addresses. One external and one internal address.

       

      Is this related to https://community.jboss.org/thread/203530 . If it is i dont see the answer given on how to get this working?

       

      Can some please help me with this? My logs are below and the domain.xml and host.xml files are attached.

       

      Many thanks in advance.


      Dave.

       

       

       

      Master log

       

       

      [Server:server-three] 13:06:53,428 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
      [Server:server-three] 13:06:54,032 INFO  [stdout] (pool-13-thread-1) 
      [Server:server-three] 13:06:54,033 INFO  [stdout] (pool-13-thread-1) -------------------------------------------------------------------
      [Server:server-three] 13:06:54,034 INFO  [stdout] (pool-13-thread-1) GMS: address=master:server-three/web, cluster=web, physical address=10.178.64.152:55200
      [Server:server-three] 13:06:54,035 INFO  [stdout] (pool-13-thread-1) -------------------------------------------------------------------
      [Server:server-three] 13:06:56,286 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-8) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      [Server:server-three] 13:06:56,287 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-3) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      [Server:server-three] 13:06:56,370 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-1) ISPN000078: Starting JGroups Channel
      [Server:server-three] 13:06:56,379 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-1) ISPN000094: Received new cluster view: [master:server-three/web|0] [master:server-three/web]
      [Server:server-three] 13:06:56,382 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-1) ISPN000079: Cache local address is master:server-three/web, physical addresses are [10.178.64.152:55200]
      [Server:server-three] 13:06:56,391 INFO  [org.infinispan.factories.GlobalComponentRegistry] (pool-14-thread-1) ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.2.FINAL
      [Server:server-three] 13:06:56,392 INFO  [org.infinispan.config.ConfigurationValidatingVisitor] (pool-14-thread-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      [Server:server-three] 13:06:56,548 INFO  [org.infinispan.jmx.CacheJmxRegistration] (pool-14-thread-1) ISPN000031: MBeans were successfully registered to the platform mbean server.
      [Server:server-three] 13:06:56,572 INFO  [org.jboss.as.clustering.infinispan] (pool-14-thread-1) JBAS010281: Started repl cache from web container
      [Server:server-three] 13:06:56,588 INFO  [org.jboss.as.clustering.impl.CoreGroupCommunicationService.web] (MSC service thread 1-8) JBAS010206: Number of cluster members: 1
      

       

      Slave log

       

       

      [Server:server-three] 13:07:39,170 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-3) JBAS010406: Registered connection factory java:/JmsXA
      [Server:server-three] 13:07:39,194 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/topic/test
      [Server:server-three] 13:07:39,196 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test
      [Server:server-three] 13:07:39,200 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      [Server:server-three] 13:07:39,202 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory
      [Server:server-three] 13:07:39,206 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-3) HornetQ resource adaptor started
      [Server:server-three] 13:07:39,210 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-3) IJ020002: Deployed: file://RaActivatorhornetq-ra
      [Server:server-three] 13:07:39,218 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-6) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
      [Server:server-three] 13:07:39,793 INFO  [stdout] (pool-13-thread-1) 
      [Server:server-three] 13:07:39,794 INFO  [stdout] (pool-13-thread-1) -------------------------------------------------------------------
      [Server:server-three] 13:07:39,795 INFO  [stdout] (pool-13-thread-1) GMS: address=slave:server-three/web, cluster=web, physical address=10.178.64.153:55200
      [Server:server-three] 13:07:39,797 INFO  [stdout] (pool-13-thread-1) -------------------------------------------------------------------
      [Server:server-three] 13:07:42,043 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      [Server:server-three] 13:07:42,046 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      [Server:server-three] 13:07:42,122 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-1) ISPN000078: Starting JGroups Channel
      [Server:server-three] 13:07:42,129 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-1) ISPN000094: Received new cluster view: [slave:server-three/web|0] [slave:server-three/web]
      [Server:server-three] 13:07:42,132 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-1) ISPN000079: Cache local address is slave:server-three/web, physical addresses are [10.178.64.153:55200]
      [Server:server-three] 13:06:56,671 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      [Server:server-three] 13:06:56,676 INFO  [org.infinispan.config.ConfigurationValidatingVisitor] (MSC service thread 1-6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      [Server:server-three] 13:06:56,705 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-6) ISPN000031: MBeans were successfully registered to the platform mbean server.
      [Server:server-three] 13:06:56,709 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-6) JBAS010281: Started //default-host//test cache from web container