<div dir="ltr"><div><div><div>Just to keep registered,<br></div>I found the reason of the problem:<br><a href="https://issues.jboss.org/browse/JBAS-9402">https://issues.jboss.org/browse/JBAS-9402</a><br><br></div>The framework has a web-fragment, but it isn't declared <distributable /><br>
<br></div>Regards.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-02 18:06 GMT-03:00 Renato Resende Ribeiro de Oliveira <span dir="ltr"><<a href="mailto:renatorro@comp.ufla.br" target="_blank">renatorro@comp.ufla.br</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello there,<br></div>I am not sure if this list is the right place to ask that, but i am getting out of options.<br>
<br></div>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.<br>
</div>If i deploy a test application in the EAP the Infinispan subsystem starts normally, printing the following messages on the logs:<br><br>[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<br>
[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")<br>[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")<br>
[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.<br>
[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.<br>
[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.<br>
[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.<br>
[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.<br>
[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.<br>
[Server:server-one] 17:50:18,558 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000078: Starting JGroups Channel<br>[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)<br>
[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)<br>
[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)<br>
[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)<br>
[Server:server-one] 17:50:18,576 INFO [stdout] (ServerService Thread Pool -- 50) <br>[Server:server-one] 17:50:18,576 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------<br>
[Server:server-one] 17:50:18,576 INFO [stdout] (ServerService Thread Pool -- 50) GMS: address=master:server-one/web, cluster=web, physical address=<a href="http://127.0.0.1:55200" target="_blank">127.0.0.1:55200</a><br>
[Server:server-one] 17:50:18,577 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------<br>
[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.<br>
[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.<br>
[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.<br>
[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.<br>
[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.<br>
[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.<br>
[Server:server-two] 17:50:18,715 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 50) ISPN000078: Starting JGroups Channel<br>[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)<br>
[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)<br>
[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)<br>
[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)<br>
[Server:server-two] 17:50:18,731 INFO [stdout] (ServerService Thread Pool -- 50) <br>[Server:server-two] 17:50:18,731 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------<br>
[Server:server-two] 17:50:18,731 INFO [stdout] (ServerService Thread Pool -- 50) GMS: address=master:server-two/web, cluster=web, physical address=<a href="http://127.0.0.1:55350" target="_blank">127.0.0.1:55350</a><br>
[Server:server-two] 17:50:18,732 INFO [stdout] (ServerService Thread Pool -- 50) -------------------------------------------------------------------<br>
[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]<br>
[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 [<a href="http://127.0.0.1:55350" target="_blank">127.0.0.1:55350</a>]<br>
[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<br>[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<br>
[Server:server-two] 17:50:20,856 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 53) ISPN000161: Using a batchMode transaction manager<br>[Server:server-two] 17:50:20,856 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 50) ISPN000161: Using a batchMode transaction manager<br>
[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.<br>[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.<br>
[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<br>[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<br>
[Server:server-two] 17:50:21,038 INFO [org.jboss.web] (ServerService Thread Pool -- 50) JBAS018210: Registra o contexto da web: /cluster<br>[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]<br>
[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]<br>
[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]<br>
[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 [<a href="http://127.0.0.1:55200" target="_blank">127.0.0.1:55200</a>]<br>
[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<br>[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<br>
[Server:server-one] 17:50:21,307 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 59) ISPN000161: Using a batchMode transaction manager<br>[Server:server-one] 17:50:21,308 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 63) ISPN000161: Using a batchMode transaction manager<br>
[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.<br>[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.<br>
[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<br>[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<br>
[Server:server-one] 17:50:21,540 INFO [org.jboss.web] (ServerService Thread Pool -- 59) JBAS018210: Registra o contexto da web: /cluster<br>[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")<br>
[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")<br><br></div>So, for cluster.war everything works perfect. This WAR has no libs and just a web.xml with the <distributable /> tag.<br>
</div>So i created another WAR just inserting a lib dependency for my web framework VRaptor. When i try to deploy it without any further modifications, the Infinispan simply doesn't start. The log of this deploy follows:<br>
<br>[Host Controller] 17:56:30,287 INFO [org.jboss.as.repository] (management-handler-thread - 6) JBAS014900: Conteúdo adicionado na localização /home/renato/jbdevstudio/runtimes/jboss-eap/domain/data/content/68/3e481ea59173e8225b374da58aada4e7ba7924/content<br>
[Server:server-two] 17:56:30,646 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Iniciando a implantação do "cluster-vraptor.war" (runtime-name: "cluster-vraptor.war")<br>[Server:server-one] 17:56:30,659 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Iniciando a implantação do "cluster-vraptor.war" (runtime-name: "cluster-vraptor.war")<br>
[Server:server-one] 17:56:31,693 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015893: Foi encontrado o nome de classe inválido 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' para o tipo de serviço 'org.xmlpull.v1.XmlPullParserFactory'<br>
[Server:server-two] 17:56:31,699 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Foi encontrado o nome de classe inválido 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' para o tipo de serviço 'org.xmlpull.v1.XmlPullParserFactory'<br>
[Server:server-two] 17:56:32,130 WARN [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016012: A implantação deployment "cluster-vraptor.war" contém anotaçõs CDI mas o beans.xml não foi encontrado.<br>[Server:server-one] 17:56:32,261 WARN [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016012: A implantação deployment "cluster-vraptor.war" contém anotaçõs CDI mas o beans.xml não foi encontrado.<br>
[Server:server-two] 17:56:32,297 INFO [org.jboss.web] (ServerService Thread Pool -- 63) JBAS018210: Registra o contexto da web: /cluster-vraptor<br>[Server:server-one] 17:56:32,397 INFO [org.jboss.web] (ServerService Thread Pool -- 81) JBAS018210: Registra o contexto da web: /cluster-vraptor<br>
[Server:server-one] 17:56:33,504 INFO [org.jboss.as.server] (host-controller-connection-threads - 2) JBAS018559: Implantado "cluster-vraptor.war" (runtime-name: "cluster-vraptor.war")<br>[Server:server-two] 17:56:33,503 INFO [org.jboss.as.server] (host-controller-connection-threads - 2) JBAS018559: Implantado "cluster-vraptor.war" (runtime-name: "cluster-vraptor.war")<br>
<br></div>Nothing of the clustering Infinispan module starts. This framework adds some dependecies to the libs, all extra jars included in the second deployment:<br><br>aopalliance-1.0.jar<br>gson-2.2.4.jar<br>guava-11.0.2.jar<br>
guice-3.0.jar<br>guice-multibindings-3.0.jar<br>iogi-1.0.0.jar<br>javassist-3.12.1.GA.jar<br>javax.inject-1.jar<br>jsr305-1.3.9.jar<br>log4j-1.2.16.jar<br>mirror-1.6.1.jar<br>objenesis-1.3.jar<br>paranamer-2.5.2.jar<br>scannotation-1.0.2.jar<br>
slf4j-api-1.6.1.jar<br>slf4j-log4j12-1.6.1.jar<br>vraptor-3.5.4.jar<br>xmlpull-1.1.3.1.jar<br>xpp3_min-1.1.4c.jar<br>xstream-1.4.7.jar<br><div><div><div><br></div><div>The VRaptor framework declares a Servlet Filter that is initialized statically, i don't know if this is a relevant information.<br>
<br></div><div>What i want to know is why this happen and what can i do to fix this issue.<br></div><div>There is any further configuration that i can do to make this work?<br></div><div>There is any known issue regarding the co-existence of Infinispan 5.2.7 and any of these libs?<br>
<br></div><div>I completely out of ideas and clues.<br></div><div>Thanks for the help.<br></div><div>Regards.<span class="HOEnZb"><font color="#888888"><br clear="all"></font></span></div><span class="HOEnZb"><font color="#888888"><div>
<div><div><div><div><br>-- <br><div dir="ltr"><div><div><div><div>
<b>Renato Resende Ribeiro de Oliveira</b><br>DIretor de Produção e Tecnologia - ProGolden Soluções Tecnológicas<br>MSc - Computer Science - Universidade Federal de Lavras<br></div><br></div></div>Skype: <a href="http://renatorro.comp.ufla.br" target="_blank">renatorro.comp.ufla.br</a><br>
</div><div>ICQ: <span style="background-color:rgb(255,255,255)"><span>669012672</span></span></div><div><div><div><div>Phone: <a href="tel:%2B55%20%2831%29%209823-9631" value="+553198239631" target="_blank">+55 (31) 9823-9631</a><br>
<br></div><div>Conheça o PrêmioIdeia - Inovação Colaborativa na sua empresa!<br>
</div><div><a href="http://www.premioideia.com/" target="_blank">http://www.premioideia.com/</a><br></div><div><span style="font-size:7.5pt;color:rgb(31,73,125)"> </span></div></div></div></div></div>
</div></div></div></div></div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><div><div><div><b>Renato Resende Ribeiro de Oliveira</b><br>DIretor de Produção e Tecnologia - ProGolden Soluções Tecnológicas<br>MSc - Computer Science - Universidade Federal de Lavras<br>
</div><br></div></div>Skype: <a href="http://renatorro.comp.ufla.br" target="_blank">renatorro.comp.ufla.br</a><br></div><div>ICQ: <span style="background-color:rgb(255,255,255)"><span>669012672</span></span></div><div><div>
<div><div>Phone: +55 (31) 9823-9631<br><br></div><div>Conheça o PrêmioIdeia - Inovação Colaborativa na sua empresa!<br></div><div><a href="http://www.premioideia.com/" target="_blank">http://www.premioideia.com/</a><br></div>
<div><span style="font-size:7.5pt;color:#1f497d"> </span></div></div></div></div></div>
</div>