Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2837

Current AS7 clustering tests do not test <distributable/> webapp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.1.0.Beta1
    • Clustering, Test Suite
    • None

      Looks like all the clustering testing are broken.

      No idea where is the glitch, but using ARQ prevents clustering from being started.

      ARQ is configured

              <container qualifier="clustering-udp-0" default="true">
                  <configuration>
                      <property name="jbossHome">${basedir}/target/jbossas-clustering-udp-0</property>
                      <property name="javaVmArguments">${server.jvm.args} -Djboss.inst=${basedir}/target/jbossas-clustering-udp-0</property>
                      <property name="serverConfig">standalone-ha.xml</property>
                  </configuration>
              </container>
      

      and ARQ started container says

      17:39:39,123 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "distributable.war"
      17:39:39,464 INFO  [org.jboss.web] (MSC service thread 1-2) registering web context: /distributable
      17:39:39,539 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Deployed "distributable.war"
      17:39:40,940 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment distributable.war in 38ms
      17:39:40,987 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Undeployed "distributable.war"
      

      but it should indeed say something like

      17:40:01,657 INFO  [org.jboss.weld] (MSC service thread 1-3) Starting weld service
      17:40:01,776 INFO  [org.jboss.web] (MSC service thread 1-2) registering web context: /distributable
      17:40:02,387 INFO  [stdout] (MSC service thread 1-2) 
      17:40:02,387 INFO  [stdout] (MSC service thread 1-2) -------------------------------------------------------------------
      17:40:02,388 INFO  [stdout] (MSC service thread 1-2) GMS: address=rhusar/web, cluster=web, physical address=127.0.0.1:55200
      17:40:02,388 INFO  [stdout] (MSC service thread 1-2) -------------------------------------------------------------------
      17:40:04,680 WARN  [org.infinispan.config.ConfigurationValidatingVisitor] (MSC service thread 1-3) ISPN000152: Passivation configured without a valid eviction policy. This could mean that the cache store will never get used unless code calls Cache.evict() manually.
      17:40:04,816 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000078: Starting JGroups Channel
      17:40:04,820 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000094: Received new cluster view: [rhusar/web|0] [rhusar/web]
      17:40:04,820 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000079: Cache local address is rhusar/web, physical addresses are [127.0.0.1:55200]
      17:40:04,823 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.0.BETA5
      17:40:04,965 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-3) ISPN000031: MBeans were successfully registered to the platform mbean server.
      17:40:05,043 INFO  [org.jboss.as.clustering] (MSC service thread 1-3) JBAS010301: Started repl cache from web container
      17:40:05,069 INFO  [org.jboss.as.clustering.CoreGroupCommunicationService.web] (MSC service thread 1-2) JBAS010207: Number of cluster members: 1
      17:40:05,115 INFO  [org.jboss.web] (MSC service thread 1-2) registering web context: /clusterbench
      17:40:05,161 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "clusterbench-ear.ear"
      17:40:05,162 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "distributable.war"
      ...etc
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: