Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4567

InfinispanLuceneDirectoryIT random failure: LifecycleException: The server is already running

    XMLWordPrintable

Details

    Description

      ManagedDeployableContainer detects a running container, even though the previous module killed its server:

      [10:25:05] :		 [org.infinispan:infinispan-as-module-client-integrationtests] kill_server:
      [10:25:06] :		 [org.infinispan:infinispan-as-module-client-integrationtests]      [echo] Killing Infinispan server with PID - 3658 29739 
      [10:25:06] :		 [org.infinispan:infinispan-as-module-client-integrationtests]    [delete] Deleting: /mnt/ebs/TeamCity/buildAgent/work/master/integrationtests/as-integration-client/jps.pid
      
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] org.infinispan.test.integration.as.InfinispanLuceneDirectoryIT  Time elapsed: 3.285 sec  <<< ERROR!
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] org.jboss.arquillian.container.spi.client.container.LifecycleException: The server is already running! Managed containers do not support connecting to running server instances due to the possible harmful effect of connecting to the wrong server. Please stop server before running or change to another type of container.
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] To disable this check and allow Arquillian to connect to a running server, set allowConnectingToRunningServer to true in the container configuration
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.failDueToRunning(ManagedDeployableContainer.java:358)
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.startInternal(ManagedDeployableContainer.java:88)
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.as.arquillian.container.CommonDeployableContainer.start(CommonDeployableContainer.java:112)
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:199)
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)
      [10:25:20] :		 [org.infinispan:infinispan-as-lucene-integration] 	at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)
      

      Attachments

        Activity

          People

            gzamarre Galder ZamarreƱo
            dberinde@redhat.com Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: