Hello there,
I am not sure if this list is the right place to ask that, but i am getting out of options.
I am trying to deploy an application in JBoss EAP 6.2 in cluster mode and i need the feature of shared user sessions across cluster nodes.
If i deploy a test application in the EAP the Infinispan subsystem starts normally, printing the following messages on the logs:
[Host Controller] 17:50:16,558 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Conteúdo adicionado na localização /home/renato/jbdevstudio/runtimes/jboss-eap/domain/data/content/10/880e56bde8806be9fc5736829dd5733d717974/content
[Server:server-two] 17:50:16,790 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Iniciando a implantação do "cluster.war" (runtime-name: "cluster.war")
[Server:server-one] 17:50:16,790 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Iniciando a implantação do "cluster.war" (runtime-name: "cluster.war")
[Server:server-one] 17:50:18,481 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-one] 17:50:18,481 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 63) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-one] 17:50:18,490 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-one] 17:50:18,492 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 63) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-one] 17:50:18,494 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-one] 17:50:18,497 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-one] 17:50:18,558 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000078: Starting JGroups Channel
[Server:server-one] 17:50:18,571 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the send buffer of socket DatagramSocket was set to 640KB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
[Server:server-one] 17:50:18,572 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the receive buffer of socket DatagramSocket was set to 20MB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
[Server:server-one] 17:50:18,572 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the send buffer of socket MulticastSocket was set to 640KB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
[Server:server-one] 17:50:18,573 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
[Server:server-one] 17:50:18,576 INFO [stdout] (ServerService Thread Pool -- 50)
[Server:server-one] 17:50:18,576 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------
[Server:server-one] 17:50:18,576 INFO [stdout] (ServerService Thread Pool -- 50) GMS: address=master:server-one/web, cluster=web, physical address=
127.0.0.1:55200
[Server:server-one] 17:50:18,577 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------
[Server:server-two] 17:50:18,654 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 51) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-two] 17:50:18,655 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 53) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-two] 17:50:18,658 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 51) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-two] 17:50:18,660 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 53) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
[Server:server-two] 17:50:18,660 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 passivated.
[Server:server-two] 17:50:18,661 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 passivated.
[Server:server-two] 17:50:18,715 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000078: Starting JGroups Channel
[Server:server-two] 17:50:18,728 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the send buffer of socket DatagramSocket was set to 640KB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
[Server:server-two] 17:50:18,729 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the receive buffer of socket DatagramSocket was set to 20MB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
[Server:server-two] 17:50:18,729 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the send buffer of socket MulticastSocket was set to 640KB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
[Server:server-two] 17:50:18,729 WARN [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 50) JGRP000014: the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 212,99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
[Server:server-two] 17:50:18,731 INFO [stdout] (ServerService Thread Pool -- 50)
[Server:server-two] 17:50:18,731 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------
[Server:server-two] 17:50:18,731 INFO [stdout] (ServerService Thread Pool -- 50) GMS: address=master:server-two/web, cluster=web, physical address=
127.0.0.1:55350
[Server:server-two] 17:50:18,732 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------
[Server:server-two] 17:50:20,747 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000094: Received new cluster view: [master:server-two/web|0] [master:server-two/web]
[Server:server-two] 17:50:20,797 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000079: Cache local address is master:server-two/web, physical addresses are [
127.0.0.1:55350]
[Server:server-two] 17:50:20,802 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 50) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.7.Final
[Server:server-two] 17:50:20,812 INFO [org.jboss.as.clustering] (MSC service thread 1-7) JBAS010238: O número de membroos do clusyer: 1
[Server:server-two] 17:50:20,856 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 53) ISPN000161: Using a batchMode transaction manager
[Server:server-two] 17:50:20,856 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 50) ISPN000161: Using a batchMode transaction manager
[Server:server-two] 17:50:20,990 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 53) ISPN000031: MBeans were successfully registered to the platform MBean server.
[Server:server-two] 17:50:20,990 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 50) ISPN000031: MBeans were successfully registered to the platform MBean server.
[Server:server-two] 17:50:20,998 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 53) JBAS010281: Cache default-host/cluster inicializado a partir do recipiente web
[Server:server-two] 17:50:20,998 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 50) JBAS010281: Cache repl inicializado a partir do recipiente web
[Server:server-two] 17:50:21,038 INFO [org.jboss.web] (ServerService Thread Pool -- 50) JBAS018210: Registra o contexto da web: /cluster
[Server:server-two] 17:50:21,166 INFO [org.jboss.as.clustering] (Incoming-1,shared=udp) JBAS010225: Nova visualização do cluster para a partição web (id: 1, delta: 1, merge: false) : [master:server-two/web, master:server-one/web]
[Server:server-two] 17:50:21,167 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (Incoming-1,shared=udp) ISPN000094: Received new cluster view: [master:server-two/web|1] [master:server-two/web, master:server-one/web]
[Server:server-one] 17:50:21,188 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000094: Received new cluster view: [master:server-two/web|1] [master:server-two/web, master:server-one/web]
[Server:server-one] 17:50:21,253 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000079: Cache local address is master:server-one/web, physical addresses are [
127.0.0.1:55200]
[Server:server-one] 17:50:21,259 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 50) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.7.Final
[Server:server-one] 17:50:21,272 INFO [org.jboss.as.clustering] (MSC service thread 1-4) JBAS010238: O número de membroos do clusyer: 2
[Server:server-one] 17:50:21,307 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 59) ISPN000161: Using a batchMode transaction manager
[Server:server-one] 17:50:21,308 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 63) ISPN000161: Using a batchMode transaction manager
[Server:server-one] 17:50:21,446 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 63) ISPN000031: MBeans were successfully registered to the platform MBean server.
[Server:server-one] 17:50:21,446 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 59) ISPN000031: MBeans were successfully registered to the platform MBean server.
[Server:server-one] 17:50:21,517 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63) JBAS010281: Cache default-host/cluster inicializado a partir do recipiente web
[Server:server-one] 17:50:21,527 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 59) JBAS010281: Cache repl inicializado a partir do recipiente web
[Server:server-one] 17:50:21,540 INFO [org.jboss.web] (ServerService Thread Pool -- 59) JBAS018210: Registra o contexto da web: /cluster
[Server:server-two] 17:50:21,762 INFO [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS018559: Implantado "cluster.war" (runtime-name: "cluster.war")
[Server:server-one] 17:50:21,762 INFO [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS018559: Implantado "cluster.war" (runtime-name: "cluster.war")
So, for cluster.war everything works perfect. This WAR has no libs and just a web.xml with the <distributable /> tag.