1 2 Previous Next 17 Replies Latest reply on Jan 31, 2014 7:23 AM by Radoslav Husar

    Clustering - Passivation configured without an eviction policy being selected?

    Kevin Gorman Newbie

      JBoss EAP 6.2 / modcluster with 2 nodes

       

      Cluster appears to be working properly but I appear to be having problems with session replication and failover. Starting ClusterWebApp.war for testing..any chance if I gracefully stop JBoss services on 1 of the nodes it shouldn't work.  Does anyone see anything glaringly wrong with the following?

       

      11:25:01,601 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -D[Standalone] -XX:+UseCompressedOops -Xms4303m -Xmx4303m -Xss256k -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.node.name=WebP03 -Djboss.bind.address=142.139.111.37 -Dorg.jboss.boot.log.file=/usr/share/jboss-as/jboss-eap-6.2/standalone/log/server.log -Dlogging.configuration=file:/usr/share/jboss-as/jboss-eap-6.2/standalone/configuration/logging.properties

      11:25:03,673 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.7.GA-redhat-1

      11:25:03,689 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015889: Creating http management service using secure-socket-binding (management-https)

      11:25:03,697 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.7.GA-redhat-1

      11:25:03,712 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.17.GA-redhat-1

      11:25:03,805 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      11:25:03,834 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 35) JBAS010260: Activating JGroups subsystem.

      11:25:03,901 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 38) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

      11:25:03,909 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.21.Final-redhat-1)

      11:25:03,920 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem

      11:25:04,008 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem

      11:25:04,087 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension

      11:25:04,113 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      11:25:04,140 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013170: Current PicketBox version=4.0.19.SP2-redhat-1

      11:25:04,195 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

      11:25:04,484 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]

      11:25:04,928 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/142.139.111.37:8080

      11:25:04,971 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003000: Coyote HTTP/1.1 starting on: http-/142.139.111.37:8080

      11:25:05,450 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 31) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      11:25:05,503 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 31) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      11:25:05,768 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.2.Final-redhat-2

      11:25:05,803 INFO  [org.apache.coyote.ajp] (MSC service thread 1-2) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/142.139.111.37:8009

      11:25:06,010 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 52) MODCLUSTER000001: Initializing mod_cluster ${project.version}

      11:25:06,061 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 52) MODCLUSTER000032: Listening to proxy advertisements on /224.0.1.105:23364

      11:25:06,722 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "Test.war" (runtime-name: "Test.war")

      11:25:06,730 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "ClusterWebApp.war" (runtime-name: "ClusterWebApp.war")

      11:25:06,752 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /usr/share/jboss-as/jboss-eap-6.2/standalone/deployments

      11:25:06,759 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      11:25:07,281 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/142.139.111.37:8443

      11:25:07,294 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003000: Coyote HTTP/1.1 starting on: http-/142.139.111.37:8443

      11:25:07,353 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 142.139.111.37:4447

      11:25:07,385 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 142.139.111.37:9999

      11:25:08,623 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 passivated.

      11:25:08,636 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 passivated.

      11:25:08,641 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 passivated.

      11:25:08,641 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 passivated.

      11:25:08,644 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 passivated.

      11:25:08,644 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 passivated.

      11:25:08,825 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000078: Starting JGroups Channel

      11:25:08,837 INFO  [stdout] (MSC service thread 1-2)

      11:25:08,837 INFO  [stdout] (MSC service thread 1-2) -------------------------------------------------------------------

      11:25:08,838 INFO  [stdout] (MSC service thread 1-2) GMS: address=WebP03/web, cluster=web, physical address=142.139.111.37:55200

      11:25:08,838 INFO  [stdout] (MSC service thread 1-2) -------------------------------------------------------------------

      11:25:08,921 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000094: Received new cluster view: [WebP01/web|151] [WebP01/web, WebP03/web]

      11:25:09,036 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000079: Cache local address is WebP03/web, physical addresses are [142.139.111.37:55200]

      11:25:09,046 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.7.Final

      11:25:09,071 INFO  [org.jboss.as.clustering] (MSC service thread 1-1) JBAS010238: Number of cluster members: 2

      11:25:09,123 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 52) ISPN000161: Using a batchMode transaction manager

      11:25:09,126 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 54) ISPN000161: Using a batchMode transaction manager

      11:25:09,333 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 52) ISPN000031: MBeans were successfully registered to the platform MBean server.

      11:25:09,333 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 54) ISPN000031: MBeans were successfully registered to the platform MBean server.

      11:25:09,448 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) JBAS010281: Started default-host/ClusterWebApp cache from web container

      11:25:09,465 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 52) JBAS010281: Started repl cache from web container

      11:25:09,483 INFO  [org.jboss.web] (ServerService Thread Pool -- 54) JBAS018210: Register web context: /ClusterWebApp

      11:25:09,858 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "Test.war" (runtime-name : "Test.war")

      11:25:09,858 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "ClusterWebApp.war" (runtime-name : "ClusterWebApp.war")

       

      Thanks,

       

      K.

        • 1. Re: Clustering - Passivation configured without an eviction policy being selected?
          avedal Newbie

          I'm having the same problem.  What I find somewhat curious is the following:

           

          11:25:09,448 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) JBAS010281: Started default-host/ClusterWebApp cache from web container

          11:25:09,465 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 52) JBAS010281: Started repl cache from web container

           

          I see that in my logs as well.  What is the significance of the "default-host/ClusterWebApp" cache? Where is that coming from?  Is the session for that app using that cache instead of the cache named "repl"?  I suspect that's what's happening, but I don't know why.  We want ClusterWebApp to use the "repl" cache so it replicates across our cluster.   I have no idea where default-host/ClusterWebApp cache is coming from.

          • 2. Re: Clustering - Passivation configured without an eviction policy being selected?
            Deepak DS Newbie

            Hi,

             

            I am also seeing this behavior but only in the full-ha mode. Don't know what is the impact of this.

            • 3. Re: Re: Clustering - Passivation configured without an eviction policy being selected?
              Radoslav Husar Master

              11:25:08,641 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 passivated.

               

              Is nothing to worry about, this is just logging from Infinispan that is not relevant to application server use case, you can disregard that.

              1 of 1 people found this helpful
              • 4. Re: Clustering - Passivation configured without an eviction policy being selected?
                Kevin Gorman Newbie

                Thanks Radoslav,

                 

                I'll ignore that message and assume it has nothing to do with my current issue.  I am using modcluster which appears to be happy.  All 3 nodes join the cluster, but I am not getting any http session replication between nodes.  Are there any configurations required to jgroups/infinispan which are undocumented.  The only deviation from the procedure documented in the JBoss EAP 6.2 documentation is the fact I am using HTTPS for management and access to the web apps. 

                 

                What is my next step?

                 

                mdocluster.jpg

                • 5. Re: Clustering - Passivation configured without an eviction policy being selected?
                  Radoslav Husar Master

                  Make sure the you see that nodes connected (i.e. Number of cluster members: 3).

                   

                  Do you have <distributable/> tag in your app?

                   

                  How are you testing that replication doesn't work?

                  • 6. Re: Clustering - Passivation configured without an eviction policy being selected?
                    avedal Newbie

                    Since Kevin mentioned he was testing with ClusterWebApp.war, I want to post this here just to be prevent any confusion that others might have.  I was also testing my cluster with ClusterWebApp and everything was working despite the fact that I thought that it wasn't. The problem was that I wasn't paying attention to what the cluster test webapp was doing.  Here is a screenshot of the second page of the app (that's supposed to show you the session being replicated):


                    cluster.png

                    The idea is that every time you reload the page and bounce around to different nodes in your cluster, the value of "session.getAttribute("SessionKey")" should not change.  Where I was getting confused was that the value of "session.getId()" was changing every time my request ended up on a different node.  So I took that to mean my sessions were not replicating.  That is NOT true.  It is completely normal to have a different the session ID on each node in the cluster.  The ONLY important thing is whether or not the value of the session attribute "SessionKey" remains the same.  If it is, then your cluster is working as intended.

                     

                    Kevin, I don't know if that's your issue as well, but I ended up here via Google while researching my own issue so hopefully this is a helpful clarification to someone. 

                    • 7. Re: Clustering - Passivation configured without an eviction policy being selected?
                      Kevin Gorman Newbie

                      Thanks Avedal..it's definitely a helpful clarification but unfortunately I don't believe it's applicable to my situation.  The session.getAttribute("SessionKey") is clearly different on each node of the cluster.

                       

                      Here's 1 Node:

                       

                      P01.jpg

                       

                      And another node:

                       

                      P03.jpg

                       

                      Radoslav..

                       

                      Make sure the you see that nodes connected (i.e. Number of cluster members: 3).

                       

                      In my case although I have 3 servers I am only testing on two of them.  WebP01 and WebP03:

                       

                      11:31:08,736 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport]

                      (MSC service thread 1-1) ISPN000094: Received new cluster view: [WebP01/web|311]

                      [WebP01/web, WebP03/web]

                       

                      Do you have <distributable/> tag in your app?

                       

                      Yes.

                       

                      How are you testing that replication doesn't work?


                      As per above with test application.  I have also tried accessing the app on 1 node, killing the jboss service on that node with the expectation it would failover to the other node.  I simply receive page can't be displayed.

                       

                      More Info of interest.  I turned on additional logging and am receiving the following warnings:

                       

                      11:31:14,394 WARN  [org.jgroups.protocols.UDP] (OOB-16,shared=udp) null: no phys

                      ical address for 60fab607-d531-5171-f6bf-d785c363b001, dropping message

                      11:31:15,013 WARN  [org.jgroups.protocols.TP$ProtocolAdapter] (OOB-18,shared=udp

                      ) dropping unicast message to wrong destination 60fab607-d531-5171-f6bf-d785c363

                      b001; my local_addr is WebP03/web

                      11:31:16,058 WARN  [org.jgroups.protocols.TP$ProtocolAdapter] (OOB-19,shared=udp

                      ) dropping unicast message to wrong destination 60fab607-d531-5171-f6bf-d785c363

                      b001; my local_addr is WebP03/web

                      11:31:16,511 INFO  [org.jboss.as.clustering] (VERIFY_SUSPECT.TimerThread,web,Web

                      P03/web) JBAS010232: Suspected member: 60fab607-d531-5171-f6bf-d785c363b001

                      11:31:20,919 WARN  [org.jgroups.protocols.UDP] (OOB-16,shared=udp) null: no phys

                      ical address for 60fab607-d531-5171-f6bf-d785c363b001, dropping message

                      11:31:21,012 WARN  [org.jgroups.protocols.TP$ProtocolAdapter] (OOB-18,shared=udp

                      ) dropping unicast message to wrong destination 60fab607-d531-5171-f6bf-d785c363

                      b001; my local_addr is WebP03/web

                       

                      I have added the following to my standalone.conf's for each server obviously using the correct IP for each:

                       

                      # Added Option to Identify the Node Name

                      JAVA_OPTS="$JAVA_OPTS -Djboss.node.name=WebP03"


                      # Set Bind Address

                      JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address=142.139.111.37"


                      # Set JGroups Bind Address

                      JAVA_OPTS="$JAVA_OPTS -Djgroups.bind_addr=142.139.111.37"


                      Thoughts?  Is the above stating an issue resolving the physical address of cluster members? 

                       

                      Where exactly is the http session data replicated?  Within.. .../jboss-eap-6.2/standalone/data/... directories on each box?

                       

                      Thanks again,

                       

                      Kevin

                      • 8. Re: Clustering - Passivation configured without an eviction policy being selected?
                        avedal Newbie

                        Kevin,

                         

                        If might be helpful if you posted your entire standalone.xml.

                         

                        I have also tried accessing the app on 1 node, killing the jboss service on that node with the expectation it would failover to the other node.  I simply receive page can't be displayed.

                         

                        FWIW, you seem to have two problems.  The behavior you describe here points at a problem with your mod_cluster configuration, not necessary a problem with session replication.  The docs are little ambiguous on this, but mod_cluster and session replication are largely independent things.  When you shutdown one of the jboss nodes, do you still see it listed in the mod_cluster manager app?

                        • 9. Re: Clustering - Passivation configured without an eviction policy being selected?
                          Kevin Gorman Newbie

                          "When you shutdown one of the jboss nodes, do you still see it listed in the mod_cluster manager app?"

                          No, when I shutdown the node it no longer shows in mod_cluster manager app.

                          <?xml version='1.0' encoding='UTF-8'?>

                          <server xmlns="urn:jboss:domain:1.5">

                              <extensions>
                                  <extension module="org.jboss.as.clustering.infinispan"/>
                                  <extension module="org.jboss.as.clustering.jgroups"/>
                                  <extension module="org.jboss.as.connector"/>
                                  <extension module="org.jboss.as.deployment-scanner"/>
                                  <extension module="org.jboss.as.ee"/>
                                  <extension module="org.jboss.as.ejb3"/>
                                  <extension module="org.jboss.as.jaxrs"/>
                                  <extension module="org.jboss.as.jdr"/>
                                  <extension module="org.jboss.as.jmx"/>
                                  <extension module="org.jboss.as.jpa"/>
                                  <extension module="org.jboss.as.jsf"/>
                                  <extension module="org.jboss.as.logging"/>
                                  <extension module="org.jboss.as.mail"/>
                                  <extension module="org.jboss.as.modcluster"/>
                                  <extension module="org.jboss.as.naming"/>
                                  <extension module="org.jboss.as.pojo"/>
                                  <extension module="org.jboss.as.remoting"/>
                                  <extension module="org.jboss.as.sar"/>
                                  <extension module="org.jboss.as.security"/>
                                  <extension module="org.jboss.as.threads"/>
                                  <extension module="org.jboss.as.transactions"/>
                                  <extension module="org.jboss.as.web"/>
                                  <extension module="org.jboss.as.webservices"/>
                                  <extension module="org.jboss.as.weld"/>
                              </extensions>


                              <management>
                                  <security-realms>
                                      <security-realm name="ManagementRealm">
                                          <server-identities>
                                              <ssl>
                                                  <keystore path="/usr/share/jboss-as/jboss-eap-6.2/jboss.keystore" keystore-password="Jb0ssKey"/>
                                              </ssl>
                                              <secret value="amJvc3NhZG1pbjEh"/>
                                          </server-identities>
                                          <authentication>
                                              <local default-user="$local"/>
                                              <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
                                          </authentication>
                                          <authorization map-groups-to-roles="false">
                                              <properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>
                                          </authorization>
                                      </security-realm>
                                      <security-realm name="ApplicationRealm">
                                          <authentication>
                                              <local default-user="$local" allowed-users="*"/>
                                              <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
                                          </authentication>
                                          <authorization>
                                              <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
                                          </authorization>
                                      </security-realm>
                                  </security-realms>
                                  <audit-log>
                                      <formatters>
                                          <json-formatter name="json-formatter"/>
                                      </formatters>
                                      <handlers>
                                          <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/>
                                      </handlers>
                                      <logger log-boot="true" log-read-only="false" enabled="false">
                                          <handlers>
                                              <handler name="file"/>
                                          </handlers>
                                      </logger>
                                  </audit-log>
                                  <management-interfaces>
                                      <native-interface security-realm="ManagementRealm">
                                          <socket-binding native="management-native"/>
                                      </native-interface>
                                      <http-interface security-realm="ManagementRealm">
                                          <socket-binding https="management-https"/>
                                      </http-interface>
                                  </management-interfaces>
                                  <access-control provider="simple">
                                      <role-mapping>
                                          <role name="SuperUser">
                                              <include>
                                                  <user name="$local"/>
                                              </include>
                                          </role>
                                      </role-mapping>
                                  </access-control>
                              </management>

                              <profile>
                                  <subsystem xmlns="urn:jboss:domain:logging:1.3">
                                      <console-handler name="CONSOLE">
                                          <level name="WARN"/>
                                          <formatter>
                                              <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n"/>
                                          </formatter>
                                      </console-handler>
                                      <periodic-rotating-file-handler name="FILE" autoflush="true">
                                          <formatter>
                                              <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
                                          </formatter>
                                          <file relative-to="jboss.server.log.dir" path="server.log"/>
                                          <suffix value=".yyyy-MM-dd"/>
                                          <append value="true"/>
                                      </periodic-rotating-file-handler>
                                      <logger category="org.apache.catalina.session.ManagerBase">
                                          <level name="TRACE"/>
                                      </logger>
                                      <logger category="org.infinispan.container.entries.ReadCommittedEntry">
                                          <level name="TRACE"/>
                                      </logger>
                                      <logger category="com.arjuna">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="org.apache.tomcat.util.modeler">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="org.jboss.as.config">
                                          <level name="DEBUG"/>
                                      </logger>
                                      <logger category="sun.rmi">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="jacorb">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="jacorb.config">
                                          <level name="ERROR"/>
                                      </logger>
                                      <root-logger>
                                          <level name="INFO"/>
                                          <handlers>
                                              <handler name="CONSOLE"/>
                                              <handler name="FILE"/>
                                          </handlers>
                                      </root-logger>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:datasources:1.1">
                                      <datasources>
                                          <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
                                              <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
                                              <driver>h2</driver>
                                              <security>
                                                  <user-name>sa</user-name>
                                                  <password>sa</password>
                                              </security>
                                          </datasource>
                                          <drivers>
                                              <driver name="h2" module="com.h2database.h2">
                                                  <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
                                              </driver>
                                          </drivers>
                                      </datasources>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
                                      <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:ee:1.1">
                                      <ear-subdeployments-isolated>false</ear-subdeployments-isolated>
                                      <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
                                      <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
                                      <session-bean>
                                          <stateless>
                                              <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
                                          </stateless>
                                          <stateful default-access-timeout="5000" cache-ref="simple" clustered-cache-ref="clustered"/>
                                          <singleton default-access-timeout="5000"/>
                                      </session-bean>
                                      <pools>
                                          <bean-instance-pools>
                                              <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
                                              <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
                                          </bean-instance-pools>
                                      </pools>
                                      <caches>
                                          <cache name="simple" aliases="NoPassivationCache"/>
                                          <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
                                          <cache name="clustered" passivation-store-ref="infinispan" aliases="StatefulTreeCache"/>
                                      </caches>
                                      <passivation-stores>
                                          <file-passivation-store name="file"/>
                                          <cluster-passivation-store name="infinispan" cache-container="ejb"/>
                                      </passivation-stores>
                                      <async thread-pool-name="default"/>
                                      <timer-service thread-pool-name="default">
                                          <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
                                      </timer-service>
                                      <remote connector-ref="remoting-connector" thread-pool-name="default"/>
                                      <thread-pools>
                                          <thread-pool name="default">
                                              <max-threads count="10"/>
                                              <keepalive-time time="100" unit="milliseconds"/>
                                          </thread-pool>
                                      </thread-pools>
                                      <default-security-domain value="other"/>
                                      <default-missing-method-permissions-deny-access value="true"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:infinispan:1.4">
                                      <cache-container name="singleton" aliases="cluster ha-partition" default-cache="default">
                                          <transport lock-timeout="60000"/>
                                          <replicated-cache name="default" mode="SYNC" batching="true">
                                              <locking isolation="REPEATABLE_READ"/>
                                          </replicated-cache>
                                      </cache-container>
                                      <cache-container name="web" aliases="standard-session-cache" default-cache="repl" module="org.jboss.as.clustering.web.infinispan">
                                          <transport lock-timeout="60000"/>
                                          <replicated-cache name="repl" mode="ASYNC" batching="true">
                                              <file-store/>
                                          </replicated-cache>
                                          <replicated-cache name="sso" mode="SYNC" batching="true"/>
                                          <distributed-cache name="dist" mode="ASYNC" batching="true" l1-lifespan="0">
                                              <file-store/>
                                          </distributed-cache>
                                      </cache-container>
                                      <cache-container name="ejb" aliases="sfsb sfsb-cache" default-cache="repl" module="org.jboss.as.clustering.ejb3.infinispan">
                                          <transport lock-timeout="60000"/>
                                          <replicated-cache name="repl" mode="ASYNC" batching="true">
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <file-store/>
                                          </replicated-cache>
                                          <replicated-cache name="remote-connector-client-mappings" mode="SYNC" batching="true"/>
                                          <distributed-cache name="dist" l1-lifespan="0" mode="ASYNC" batching="true">
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <file-store/>
                                          </distributed-cache>
                                      </cache-container>
                                      <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
                                          <transport lock-timeout="60000"/>
                                          <local-cache name="local-query">
                                              <transaction mode="NONE"/>
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <expiration max-idle="100000"/>
                                          </local-cache>
                                          <invalidation-cache name="entity" mode="SYNC">
                                              <transaction mode="NON_XA"/>
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <expiration max-idle="100000"/>
                                          </invalidation-cache>
                                          <replicated-cache name="timestamps" mode="ASYNC">
                                              <transaction mode="NONE"/>
                                              <eviction strategy="NONE"/>
                                          </replicated-cache>
                                      </cache-container>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:jca:1.1">
                                      <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
                                      <bean-validation enabled="true"/>
                                      <default-workmanager>
                                          <short-running-threads>
                                              <core-threads count="50"/>
                                              <queue-length count="50"/>
                                              <max-threads count="50"/>
                                              <keepalive-time time="10" unit="seconds"/>
                                          </short-running-threads>
                                          <long-running-threads>
                                              <core-threads count="50"/>
                                              <queue-length count="50"/>
                                              <max-threads count="50"/>
                                              <keepalive-time time="10" unit="seconds"/>
                                          </long-running-threads>
                                      </default-workmanager>
                                      <cached-connection-manager/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="udp">
                                      <stack name="udp">
                                          <transport type="UDP" socket-binding="jgroups-udp"/>
                                          <protocol type="PING"/>
                                          <protocol type="MERGE3"/>
                                          <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
                                          <protocol type="FD"/>
                                          <protocol type="VERIFY_SUSPECT"/>
                                          <protocol type="pbcast.NAKACK"/>
                                          <protocol type="UNICAST2"/>
                                          <protocol type="pbcast.STABLE"/>
                                          <protocol type="pbcast.GMS"/>
                                          <protocol type="UFC"/>
                                          <protocol type="MFC"/>
                                          <protocol type="FRAG2"/>
                                          <protocol type="RSVP"/>
                                      </stack>
                                      <stack name="tcp">
                                          <transport type="TCP" socket-binding="jgroups-tcp"/>
                                          <protocol type="TCPPING">
                                              <property name="initial_hosts">
                                                  142.139.111.32[7600],142.139.111.37[7600]
                                              </property>
                                              <property name="num_initial_members">
                                                  2
                                              </property>
                                              <property name="port_range">
                                                  0
                                              </property>
                                              <property name="timeout">
                                                  10000
                                              </property>
                                          </protocol>
                                          <protocol type="MPING" socket-binding="jgroups-mping"/>
                                          <protocol type="MERGE2"/>
                                          <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
                                          <protocol type="FD"/>
                                          <protocol type="VERIFY_SUSPECT"/>
                                          <protocol type="pbcast.NAKACK"/>
                                          <protocol type="UNICAST2"/>
                                          <protocol type="pbcast.STABLE"/>
                                          <protocol type="pbcast.GMS"/>
                                          <protocol type="UFC"/>
                                          <protocol type="MFC"/>
                                          <protocol type="FRAG2"/>
                                          <protocol type="RSVP"/>
                                      </stack>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jmx:1.3">
                                      <expose-resolved-model/>
                                      <expose-expression-model/>
                                      <remoting-connector/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jpa:1.1">
                                      <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:mail:1.1">
                                      <mail-session jndi-name="java:jboss/mail/Default">
                                          <smtp-server outbound-socket-binding-ref="mail-smtp"/>
                                      </mail-session>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:modcluster:1.1">
                                      <mod-cluster-config advertise-socket="modcluster" balancer="mycluster" advertise="true" socket-timeout="5" sticky-session="true" worker-timeout="3" node-timeout="3" connector="ajp">
                                          <dynamic-load-provider>
                                              <load-metric type="sessions" capacity="150.0"/>
                                          </dynamic-load-provider>
                                      </mod-cluster-config>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:naming:1.4">
                                      <remote-naming/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:remoting:1.1">
                                      <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1"/>
                                  <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:security:1.2">
                                      <security-domains>
                                          <security-domain name="spnego-connect" cache-type="default">
                                              <authentication>
                                                  <login-module code="com.sun.security.auth.module.Krb5LoginModule" flag="required"/>
                                              </authentication>
                                          </security-domain>
                                          <security-domain name="spnego-server" cache-type="default">
                                              <authentication>
                                                  <login-module code="com.sun.security.auth.module.Krb5LoginModule" flag="required">
                                                      <module-option name="storeKey" value="true"/>
                                                  </login-module>
                                              </authentication>
                                          </security-domain>
                                          <security-domain name="other" cache-type="default">
                                              <authentication>
                                                  <login-module code="Remoting" flag="optional">
                                                      <module-option name="password-stacking" value="useFirstPass"/>
                                                  </login-module>
                                                  <login-module code="RealmDirect" flag="required">
                                                      <module-option name="password-stacking" value="useFirstPass"/>
                                                  </login-module>
                                              </authentication>
                                          </security-domain>
                                          <security-domain name="jboss-web-policy" cache-type="default">
                                              <authorization>
                                                  <policy-module code="Delegating" flag="required"/>
                                              </authorization>
                                          </security-domain>
                                          <security-domain name="jboss-ejb-policy" cache-type="default">
                                              <authorization>
                                                  <policy-module code="Delegating" flag="required"/>
                                              </authorization>
                                          </security-domain>
                                      </security-domains>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:threads:1.1">
                                      <thread-factory name="http-connector-factory" group-name="uq-thread-pool" thread-name-pattern="HTTP-%t" priority="9"/>
                                      <unbounded-queue-thread-pool name="uq-thread-pool">
                                          <max-threads count="100"/>
                                          <keepalive-time time="50" unit="seconds"/>
                                          <thread-factory name="http-connector-factory"/>
                                      </unbounded-queue-thread-pool>
                                      <queueless-thread-pool name="jgroups-default">
                                          <max-threads count="200"/>
                                          <keepalive-time time="60" unit="seconds"/>
                                          <thread-factory name="http-connector-factory"/>
                                      </queueless-thread-pool>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:transactions:1.4">
                                      <core-environment>
                                          <process-id>
                                              <uuid/>
                                          </process-id>
                                      </core-environment>
                                      <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
                                      <coordinator-environment enable-statistics="false" enable-tsm-status="false" default-timeout="300"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" instance-id="${jboss.node.name}" native="false">
                                      <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
                                      <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
                                      <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true" executor="uq-thread-pool">
                                          <ssl name="https" password="Jb0ssKey" certificate-key-file="/usr/share/jboss-as/jboss-eap-6.2/jboss.keystore"/>
                                      </connector>
                                      <virtual-server name="default-host" enable-welcome-root="false">
                                          <alias name="localhost"/>
                                          <alias name="example.com"/>
                                      </virtual-server>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:webservices:1.2">
                                      <modify-wsdl-address>true</modify-wsdl-address>
                                      <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
                                      <endpoint-config name="Standard-Endpoint-Config"/>
                                      <endpoint-config name="Recording-Endpoint-Config">
                                          <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
                                              <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
                                          </pre-handler-chain>
                                      </endpoint-config>
                                      <client-config name="Standard-Client-Config"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
                              </profile>

                              <interfaces>
                                  <interface name="management">
                                      <inet-address value="${jboss.bind.address.management:142.139.111.37}"/>
                                  </interface>
                                  <interface name="public">
                                      <inet-address value="${jboss.bind.address:142.139.111.37}"/>
                                  </interface>
                                  <interface name="unsecure">
                                      <inet-address value="${jboss.bind.address.unsecure:142.139.111.37}"/>
                                  </interface>
                              </interfaces>

                              <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
                                  <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
                                  <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
                                  <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
                                  <socket-binding name="ajp" port="8009"/>
                                  <socket-binding name="http" port="8080"/>
                                  <socket-binding name="https" port="8443"/>
                                  <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>
                                  <socket-binding name="jgroups-tcp" port="7600"/>
                                  <socket-binding name="jgroups-tcp-fd" port="57600"/>
                                  <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/>
                                  <socket-binding name="jgroups-udp-fd" port="54200"/>
                                  <socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/>
                                  <socket-binding name="remoting" port="4447"/>
                                  <socket-binding name="txn-recovery-environment" port="4712"/>
                                  <socket-binding name="txn-status-manager" port="4713"/>
                                  <outbound-socket-binding name="mail-smtp">
                                      <remote-destination host="mailserv.gnb.ca" port="25"/>
                                  </outbound-socket-binding>
                              </socket-binding-group>

                          </server>

                           

                           

                           

                           

                          standalone-ha.xml

                           

                          <?xml version='1.0' encoding='UTF-8'?>

                          <server xmlns="urn:jboss:domain:1.5">

                              <extensions>
                                  <extension module="org.jboss.as.clustering.infinispan"/>
                                  <extension module="org.jboss.as.clustering.jgroups"/>
                                  <extension module="org.jboss.as.connector"/>
                                  <extension module="org.jboss.as.deployment-scanner"/>
                                  <extension module="org.jboss.as.ee"/>
                                  <extension module="org.jboss.as.ejb3"/>
                                  <extension module="org.jboss.as.jaxrs"/>
                                  <extension module="org.jboss.as.jdr"/>
                                  <extension module="org.jboss.as.jmx"/>
                                  <extension module="org.jboss.as.jpa"/>
                                  <extension module="org.jboss.as.jsf"/>
                                  <extension module="org.jboss.as.logging"/>
                                  <extension module="org.jboss.as.mail"/>
                                  <extension module="org.jboss.as.modcluster"/>
                                  <extension module="org.jboss.as.naming"/>
                                  <extension module="org.jboss.as.pojo"/>
                                  <extension module="org.jboss.as.remoting"/>
                                  <extension module="org.jboss.as.sar"/>
                                  <extension module="org.jboss.as.security"/>
                                  <extension module="org.jboss.as.threads"/>
                                  <extension module="org.jboss.as.transactions"/>
                                  <extension module="org.jboss.as.web"/>
                                  <extension module="org.jboss.as.webservices"/>
                                  <extension module="org.jboss.as.weld"/>
                              </extensions>


                              <management>
                                  <security-realms>
                                      <security-realm name="ManagementRealm">
                                          <server-identities>
                                              <ssl>
                                                  <keystore path="/usr/share/jboss-as/jboss-eap-6.2/jboss.keystore" keystore-password="Jb0ssKey"/>
                                              </ssl>
                                              <secret value="amJvc3NhZG1pbjEh"/>
                                          </server-identities>
                                          <authentication>
                                              <local default-user="$local"/>
                                              <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
                                          </authentication>
                                          <authorization map-groups-to-roles="false">
                                              <properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>
                                          </authorization>
                                      </security-realm>
                                      <security-realm name="ApplicationRealm">
                                          <authentication>
                                              <local default-user="$local" allowed-users="*"/>
                                              <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
                                          </authentication>
                                          <authorization>
                                              <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
                                          </authorization>
                                      </security-realm>
                                  </security-realms>
                                  <audit-log>
                                      <formatters>
                                          <json-formatter name="json-formatter"/>
                                      </formatters>
                                      <handlers>
                                          <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/>
                                      </handlers>
                                      <logger log-boot="true" log-read-only="false" enabled="false">
                                          <handlers>
                                              <handler name="file"/>
                                          </handlers>
                                      </logger>
                                  </audit-log>
                                  <management-interfaces>
                                      <native-interface security-realm="ManagementRealm">
                                          <socket-binding native="management-native"/>
                                      </native-interface>
                                      <http-interface security-realm="ManagementRealm">
                                          <socket-binding https="management-https"/>
                                      </http-interface>
                                  </management-interfaces>
                                  <access-control provider="simple">
                                      <role-mapping>
                                          <role name="SuperUser">
                                              <include>
                                                  <user name="$local"/>
                                              </include>
                                          </role>
                                      </role-mapping>
                                  </access-control>
                              </management>

                              <profile>
                                  <subsystem xmlns="urn:jboss:domain:logging:1.3">
                                      <console-handler name="CONSOLE">
                                          <level name="WARN"/>
                                          <formatter>
                                              <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n"/>
                                          </formatter>
                                      </console-handler>
                                      <periodic-rotating-file-handler name="FILE" autoflush="true">
                                          <formatter>
                                              <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
                                          </formatter>
                                          <file relative-to="jboss.server.log.dir" path="server.log"/>
                                          <suffix value=".yyyy-MM-dd"/>
                                          <append value="true"/>
                                      </periodic-rotating-file-handler>
                                      <logger category="org.apache.catalina.session.ManagerBase">
                                          <level name="TRACE"/>
                                      </logger>
                                      <logger category="org.infinispan.container.entries.ReadCommittedEntry">
                                          <level name="TRACE"/>
                                      </logger>
                                      <logger category="com.arjuna">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="org.apache.tomcat.util.modeler">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="org.jboss.as.config">
                                          <level name="DEBUG"/>
                                      </logger>
                                      <logger category="sun.rmi">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="jacorb">
                                          <level name="WARN"/>
                                      </logger>
                                      <logger category="jacorb.config">
                                          <level name="ERROR"/>
                                      </logger>
                                      <root-logger>
                                          <level name="INFO"/>
                                          <handlers>
                                              <handler name="CONSOLE"/>
                                              <handler name="FILE"/>
                                          </handlers>
                                      </root-logger>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:datasources:1.1">
                                      <datasources>
                                          <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
                                              <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
                                              <driver>h2</driver>
                                              <security>
                                                  <user-name>sa</user-name>
                                                  <password>sa</password>
                                              </security>
                                          </datasource>
                                          <drivers>
                                              <driver name="h2" module="com.h2database.h2">
                                                  <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
                                              </driver>
                                          </drivers>
                                      </datasources>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
                                      <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:ee:1.1">
                                      <ear-subdeployments-isolated>false</ear-subdeployments-isolated>
                                      <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
                                      <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
                                      <session-bean>
                                          <stateless>
                                              <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
                                          </stateless>
                                          <stateful default-access-timeout="5000" cache-ref="simple" clustered-cache-ref="clustered"/>
                                          <singleton default-access-timeout="5000"/>
                                      </session-bean>
                                      <pools>
                                          <bean-instance-pools>
                                              <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
                                              <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
                                          </bean-instance-pools>
                                      </pools>
                                      <caches>
                                          <cache name="simple" aliases="NoPassivationCache"/>
                                          <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
                                          <cache name="clustered" passivation-store-ref="infinispan" aliases="StatefulTreeCache"/>
                                      </caches>
                                      <passivation-stores>
                                          <file-passivation-store name="file"/>
                                          <cluster-passivation-store name="infinispan" cache-container="ejb"/>
                                      </passivation-stores>
                                      <async thread-pool-name="default"/>
                                      <timer-service thread-pool-name="default">
                                          <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
                                      </timer-service>
                                      <remote connector-ref="remoting-connector" thread-pool-name="default"/>
                                      <thread-pools>
                                          <thread-pool name="default">
                                              <max-threads count="10"/>
                                              <keepalive-time time="100" unit="milliseconds"/>
                                          </thread-pool>
                                      </thread-pools>
                                      <default-security-domain value="other"/>
                                      <default-missing-method-permissions-deny-access value="true"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:infinispan:1.4">
                                      <cache-container name="singleton" aliases="cluster ha-partition" default-cache="default">
                                          <transport lock-timeout="60000"/>
                                          <replicated-cache name="default" mode="SYNC" batching="true">
                                              <locking isolation="REPEATABLE_READ"/>
                                          </replicated-cache>
                                      </cache-container>
                                      <cache-container name="web" aliases="standard-session-cache" default-cache="repl" module="org.jboss.as.clustering.web.infinispan">
                                          <transport lock-timeout="60000"/>
                                          <replicated-cache name="repl" mode="ASYNC" batching="true">
                                              <file-store/>
                                          </replicated-cache>
                                          <replicated-cache name="sso" mode="SYNC" batching="true"/>
                                          <distributed-cache name="dist" mode="ASYNC" batching="true" l1-lifespan="0">
                                              <file-store/>
                                          </distributed-cache>
                                      </cache-container>
                                      <cache-container name="ejb" aliases="sfsb sfsb-cache" default-cache="repl" module="org.jboss.as.clustering.ejb3.infinispan">
                                          <transport lock-timeout="60000"/>
                                          <replicated-cache name="repl" mode="ASYNC" batching="true">
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <file-store/>
                                          </replicated-cache>
                                          <replicated-cache name="remote-connector-client-mappings" mode="SYNC" batching="true"/>
                                          <distributed-cache name="dist" l1-lifespan="0" mode="ASYNC" batching="true">
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <file-store/>
                                          </distributed-cache>
                                      </cache-container>
                                      <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
                                          <transport lock-timeout="60000"/>
                                          <local-cache name="local-query">
                                              <transaction mode="NONE"/>
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <expiration max-idle="100000"/>
                                          </local-cache>
                                          <invalidation-cache name="entity" mode="SYNC">
                                              <transaction mode="NON_XA"/>
                                              <eviction strategy="LRU" max-entries="10000"/>
                                              <expiration max-idle="100000"/>
                                          </invalidation-cache>
                                          <replicated-cache name="timestamps" mode="ASYNC">
                                              <transaction mode="NONE"/>
                                              <eviction strategy="NONE"/>
                                          </replicated-cache>
                                      </cache-container>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:jca:1.1">
                                      <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
                                      <bean-validation enabled="true"/>
                                      <default-workmanager>
                                          <short-running-threads>
                                              <core-threads count="50"/>
                                              <queue-length count="50"/>
                                              <max-threads count="50"/>
                                              <keepalive-time time="10" unit="seconds"/>
                                          </short-running-threads>
                                          <long-running-threads>
                                              <core-threads count="50"/>
                                              <queue-length count="50"/>
                                              <max-threads count="50"/>
                                              <keepalive-time time="10" unit="seconds"/>
                                          </long-running-threads>
                                      </default-workmanager>
                                      <cached-connection-manager/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="udp">
                                      <stack name="udp">
                                          <transport type="UDP" socket-binding="jgroups-udp"/>
                                          <protocol type="PING"/>
                                          <protocol type="MERGE3"/>
                                          <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
                                          <protocol type="FD"/>
                                          <protocol type="VERIFY_SUSPECT"/>
                                          <protocol type="pbcast.NAKACK"/>
                                          <protocol type="UNICAST2"/>
                                          <protocol type="pbcast.STABLE"/>
                                          <protocol type="pbcast.GMS"/>
                                          <protocol type="UFC"/>
                                          <protocol type="MFC"/>
                                          <protocol type="FRAG2"/>
                                          <protocol type="RSVP"/>
                                      </stack>
                                      <stack name="tcp">
                                          <transport type="TCP" socket-binding="jgroups-tcp"/>
                                          <protocol type="TCPPING">
                                              <property name="initial_hosts">
                                                  142.139.111.32[7600],142.139.111.37[7600]
                                              </property>
                                              <property name="num_initial_members">
                                                  2
                                              </property>
                                              <property name="port_range">
                                                  0
                                              </property>
                                              <property name="timeout">
                                                  10000
                                              </property>
                                          </protocol>
                                          <protocol type="MPING" socket-binding="jgroups-mping"/>
                                          <protocol type="MERGE2"/>
                                          <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
                                          <protocol type="FD"/>
                                          <protocol type="VERIFY_SUSPECT"/>
                                          <protocol type="pbcast.NAKACK"/>
                                          <protocol type="UNICAST2"/>
                                          <protocol type="pbcast.STABLE"/>
                                          <protocol type="pbcast.GMS"/>
                                          <protocol type="UFC"/>
                                          <protocol type="MFC"/>
                                          <protocol type="FRAG2"/>
                                          <protocol type="RSVP"/>
                                      </stack>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jmx:1.3">
                                      <expose-resolved-model/>
                                      <expose-expression-model/>
                                      <remoting-connector/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jpa:1.1">
                                      <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:mail:1.1">
                                      <mail-session jndi-name="java:jboss/mail/Default">
                                          <smtp-server outbound-socket-binding-ref="mail-smtp"/>
                                      </mail-session>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:modcluster:1.1">
                                      <mod-cluster-config advertise-socket="modcluster" balancer="mycluster" advertise="true" socket-timeout="5" sticky-session="true" worker-timeout="3" node-timeout="3" connector="ajp">
                                          <dynamic-load-provider>
                                              <load-metric type="sessions" capacity="150.0"/>
                                          </dynamic-load-provider>
                                      </mod-cluster-config>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:naming:1.4">
                                      <remote-naming/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:remoting:1.1">
                                      <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1"/>
                                  <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
                                  <subsystem xmlns="urn:jboss:domain:security:1.2">
                                      <security-domains>
                                          <security-domain name="spnego-connect" cache-type="default">
                                              <authentication>
                                                  <login-module code="com.sun.security.auth.module.Krb5LoginModule" flag="required"/>
                                              </authentication>
                                          </security-domain>
                                          <security-domain name="spnego-server" cache-type="default">
                                              <authentication>
                                                  <login-module code="com.sun.security.auth.module.Krb5LoginModule" flag="required">
                                                      <module-option name="storeKey" value="true"/>
                                                  </login-module>
                                              </authentication>
                                          </security-domain>
                                          <security-domain name="other" cache-type="default">
                                              <authentication>
                                                  <login-module code="Remoting" flag="optional">
                                                      <module-option name="password-stacking" value="useFirstPass"/>
                                                  </login-module>
                                                  <login-module code="RealmDirect" flag="required">
                                                      <module-option name="password-stacking" value="useFirstPass"/>
                                                  </login-module>
                                              </authentication>
                                          </security-domain>
                                          <security-domain name="jboss-web-policy" cache-type="default">
                                              <authorization>
                                                  <policy-module code="Delegating" flag="required"/>
                                              </authorization>
                                          </security-domain>
                                          <security-domain name="jboss-ejb-policy" cache-type="default">
                                              <authorization>
                                                  <policy-module code="Delegating" flag="required"/>
                                              </authorization>
                                          </security-domain>
                                      </security-domains>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:threads:1.1">
                                      <thread-factory name="http-connector-factory" group-name="uq-thread-pool" thread-name-pattern="HTTP-%t" priority="9"/>
                                      <unbounded-queue-thread-pool name="uq-thread-pool">
                                          <max-threads count="100"/>
                                          <keepalive-time time="50" unit="seconds"/>
                                          <thread-factory name="http-connector-factory"/>
                                      </unbounded-queue-thread-pool>
                                      <queueless-thread-pool name="jgroups-default">
                                          <max-threads count="200"/>
                                          <keepalive-time time="60" unit="seconds"/>
                                          <thread-factory name="http-connector-factory"/>
                                      </queueless-thread-pool>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:transactions:1.4">
                                      <core-environment>
                                          <process-id>
                                              <uuid/>
                                          </process-id>
                                      </core-environment>
                                      <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
                                      <coordinator-environment enable-statistics="false" enable-tsm-status="false" default-timeout="300"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" instance-id="${jboss.node.name}" native="false">
                                      <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
                                      <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
                                      <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true" executor="uq-thread-pool">
                                          <ssl name="https" password="Jb0ssKey" certificate-key-file="/usr/share/jboss-as/jboss-eap-6.2/jboss.keystore"/>
                                      </connector>
                                      <virtual-server name="default-host" enable-welcome-root="false">
                                          <alias name="localhost"/>
                                          <alias name="example.com"/>
                                      </virtual-server>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:webservices:1.2">
                                      <modify-wsdl-address>true</modify-wsdl-address>
                                      <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
                                      <endpoint-config name="Standard-Endpoint-Config"/>
                                      <endpoint-config name="Recording-Endpoint-Config">
                                          <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
                                              <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
                                          </pre-handler-chain>
                                      </endpoint-config>
                                      <client-config name="Standard-Client-Config"/>
                                  </subsystem>
                                  <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
                              </profile>

                              <interfaces>
                                  <interface name="management">
                                      <inet-address value="${jboss.bind.address.management:142.139.111.37}"/>
                                  </interface>
                                  <interface name="public">
                                      <inet-address value="${jboss.bind.address:142.139.111.37}"/>
                                  </interface>
                                  <interface name="unsecure">
                                      <inet-address value="${jboss.bind.address.unsecure:142.139.111.37}"/>
                                  </interface>
                              </interfaces>

                              <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
                                  <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
                                  <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
                                  <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
                                  <socket-binding name="ajp" port="8009"/>
                                  <socket-binding name="http" port="8080"/>
                                  <socket-binding name="https" port="8443"/>
                                  <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>
                                  <socket-binding name="jgroups-tcp" port="7600"/>
                                  <socket-binding name="jgroups-tcp-fd" port="57600"/>
                                  <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/>
                                  <socket-binding name="jgroups-udp-fd" port="54200"/>
                                  <socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/>
                                  <socket-binding name="remoting" port="4447"/>
                                  <socket-binding name="txn-recovery-environment" port="4712"/>
                                  <socket-binding name="txn-status-manager" port="4713"/>
                                  <outbound-socket-binding name="mail-smtp">
                                      <remote-destination host="mailserv.gnb.ca" port="25"/>
                                  </outbound-socket-binding>
                              </socket-binding-group>

                          </server>

                           

                          Apparently I asked for assistance too many times.. lol.. had to wait to post.

                           

                          Kevin.

                          • 10. Re: Clustering - Passivation configured without an eviction policy being selected?
                            avedal Newbie

                            Am i right to assume you're trying to use the JGroups TCP stack?  If so, your default-stack is still set to UDP at the top-level of your jgroups subsystem configuration so JGroups is not using your TCP stack as you configured it.  Either change the value of the jgroups default-stack to "tcp" or you shoudl be able to add "<transport stack="tcp"/>" to your cache-container named "web".

                             

                            As for not being able to see the ClusterWeb app when you shutdown a node... Are you reaching the web server at all? What HTTP status code is it returning? 

                            • 11. Re: Clustering - Passivation configured without an eviction policy being selected?
                              Kevin Gorman Newbie

                              "Am i right to assume you're trying to use the JGroups TCP stack?"

                               

                              Actually, I know it's configured but I decided to stick with UDP.  Multicast is supported, there is no geographical/subnet separation, and in case I need to add a few more nodes in a hurry I figured I would just stick with UDP.


                              "As for not being able to see the ClusterWeb app when you shutdown a node... Are you reaching the web server at all? What HTTP status code is it returning?"


                              The node which is shutdown is unavailable via the browser;

                               

                              Stop_P03.jpg

                              Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.

                              I would imagine this is by design.

                               

                              When the node (P03) is shutdown the httpd logs show modcluster dynamically making changes to available worker_nodes.. etc..

                               

                              [Wed Jan 29 14:11:40 2014] [debug] mod_manager.c(2647): manager_handler STATUS  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1923): manager_trans DISABLE-APP

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2598): manager_handler DISABLE-APP processing: "JVMRoute=WebP03&Alias=default-host%2Clo

                              calhost%2Cexample.com&Context=%2Fclusteringdemo"

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2647): manager_handler DISABLE-APP  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1923): manager_trans STOP-APP

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2598): manager_handler STOP-APP processing: "JVMRoute=WebP03&Alias=default-host%2Clocal

                              host%2Cexample.com&Context=%2Fclusteringdemo"

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1453): process_appl_cmd: STOP-APP nbrequests 0

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2647): manager_handler STOP-APP  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1923): manager_trans DISABLE-APP

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2598): manager_handler DISABLE-APP processing: "JVMRoute=WebP03&Alias=default-host%2Clo

                              calhost%2Cexample.com&Context=%2FClusterWebApp"

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2647): manager_handler DISABLE-APP  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1923): manager_trans REMOVE-APP

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2598): manager_handler REMOVE-APP processing: "JVMRoute=WebP03&Alias=default-host%2Cloc

                              alhost%2Cexample.com&Context=%2Fclusteringdemo"

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2647): manager_handler REMOVE-APP  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1923): manager_trans STOP-APP

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2598): manager_handler STOP-APP processing: "JVMRoute=WebP03&Alias=default-host%2Clocal

                              host%2Cexample.com&Context=%2FClusterWebApp"

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1453): process_appl_cmd: STOP-APP nbrequests 0

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2647): manager_handler STOP-APP  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1923): manager_trans REMOVE-APP

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2598): manager_handler REMOVE-APP processing: "JVMRoute=WebP03&Alias=default-host%2Cloc

                              alhost%2Cexample.com&Context=%2FClusterWebApp"

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2647): manager_handler REMOVE-APP  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1923): manager_trans REMOVE-APP (/*)

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2598): manager_handler REMOVE-APP (/NODE_COMMAND) processing: "JVMRoute=WebP03"

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(1204): process_node_cmd 4 processing node: 3

                              [Wed Jan 29 14:11:42 2014] [debug] mod_manager.c(2647): manager_handler REMOVE-APP  OK

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(919): remove_workers_node (helper) 0 WebP03

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1010): update_workers_node starting

                              [Wed Jan 29 14:11:42 2014] [debug] mod_proxy_cluster.c(1025): update_workers_node done

                              [Wed Jan 29 14:11:43 2014] [debug] mod_manager.c(1923): manager_trans STATUS

                              [Wed Jan 29 14:11:43 2014] [debug] mod_manager.c(2598): manager_handler STATUS processing: "JVMRoute=WebP01&Load=98"

                              [Wed Jan 29 14:11:43 2014] [debug] mod_manager.c(1638): Processing STATUS

                              [Wed Jan 29 14:11:43 2014] [debug] proxy_util.c(2026): proxy: ajp: has acquired connection for (142.139.111.32)

                              [Wed Jan 29 14:11:43 2014] [debug] proxy_util.c(2082): proxy: connecting ajp://142.139.111.32:8009/ to 142.139.111.32:8009

                              [Wed Jan 29 14:11:43 2014] [debug] proxy_util.c(2209): proxy: connected / to 142.139.111.32:8009

                               

                              Access Log shows the node being removed (142.139.111.37)..

                               

                              142.139.111.37 - - [29/Jan/2014:14:11:20 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.32 - - [29/Jan/2014:14:11:23 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.33 - - [29/Jan/2014:14:11:25 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:30 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.32 - - [29/Jan/2014:14:11:33 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.33 - - [29/Jan/2014:14:11:35 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:40 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:42 -0400] "DISABLE-APP / HTTP/1.1" 200 - "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:42 -0400] "STOP-APP / HTTP/1.1" 200 77 "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:42 -0400] "DISABLE-APP / HTTP/1.1" 200 - "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:42 -0400] "REMOVE-APP / HTTP/1.1" 200 - "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:42 -0400] "STOP-APP / HTTP/1.1" 200 77 "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:42 -0400] "REMOVE-APP / HTTP/1.1" 200 - "-" "ClusterListener/1.0"

                              142.139.111.37 - - [29/Jan/2014:14:11:42 -0400] "REMOVE-APP /* HTTP/1.1" 200 - "-" "ClusterListener/1.0"

                              142.139.111.32 - - [29/Jan/2014:14:11:43 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.33 - - [29/Jan/2014:14:11:45 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.32 - - [29/Jan/2014:14:11:53 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.33 - - [29/Jan/2014:14:11:55 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.32 - - [29/Jan/2014:14:12:03 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.33 - - [29/Jan/2014:14:12:05 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.32 - - [29/Jan/2014:14:12:13 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              142.139.111.33 - - [29/Jan/2014:14:12:15 -0400] "STATUS / HTTP/1.1" 200 56 "-" "ClusterListener/1.0"

                              • 12. Re: Re: Clustering - Passivation configured without an eviction policy being selected?
                                Radoslav Husar Master

                                Kevin Gorman wrote:

                                 

                                Thanks Avedal..it's definitely a helpful clarification but unfortunately I don't believe it's applicable to my situation.  The session.getAttribute("SessionKey") is clearly different on each node of the cluster.

                                 

                                Here's 1 Node:

                                 

                                P01.jpg

                                 

                                And another node:

                                 

                                P03.jpg

                                 

                                It is clear now that the test is wrong.

                                 

                                If you are testing in the browser look at the URLs -- they are different hosts. HTTP session is identified by a particular cookie. Browsers only send cookies set by a given domain. That means, that if you open those 2 browser tabs, the cookies are not going to be sent, and new session will be created -- look that the session ID is different.

                                 

                                Solution is to use a cookie plugin for the browser and spoof the cookies, or use port offset instead of different hostname, go via loadbalancer, etc.

                                • 13. Re: Clustering - Passivation configured without an eviction policy being selected?
                                  abhimanyu kumar Newbie

                                  Hi all,

                                   

                                  i am very new user for jboss 7.1.1.final, i want to use clustering in jboss 7.1.1.final ..

                                  kindly suggest the best way..

                                  • 14. Re: Clustering - Passivation configured without an eviction policy being selected?
                                    avedal Newbie

                                    Ahh! Yes, so easy to miss that. That would also explain why he's getting no response from the web server when he shuts one node down.

                                     

                                    Radoslav Husar wrote

                                     

                                    If you are testing in the browser look at the URLs -- they are different hosts. HTTP session is identified by a particular cookie. Browsers only send cookies set by a given domain. That means, that if you open those 2 browser tabs, the cookies are not going to be sent, and new session will be created -- look that the session ID is different.

                                     

                                    Solution is to use a cookie plugin for the browser and spoof the cookies, or use port offset instead of different hostname, go via loadbalancer, etc.

                                    1 2 Previous Next