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. To disable this check and allow Arquillian to connect to a running server, set allowConnectingToRunningServer to true in the container configuration

GitHub | wildfly-ci | 1 year ago
  1. 0

    GitHub comment 7935#132247722

    GitHub | 1 year ago | wildfly-ci
    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. To disable this check and allow Arquillian to connect to a running server, set allowConnectingToRunningServer to true in the container configuration
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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. To disable this check and allow Arquillian to connect to a running server, set allowConnectingToRunningServer to true in the container configuration

    at org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.failDueToRunning()
  2. JBoss Application Server: Arquillian Managed Container
    ManagedDeployableContainer.startInternal
    1. org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.failDueToRunning(ManagedDeployableContainer.java:309)
    2. org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.startInternal(ManagedDeployableContainer.java:80)
    2 frames
  3. JBoss Application Server: Arquillian Common
    CommonDeployableContainer.start
    1. org.jboss.as.arquillian.container.CommonDeployableContainer.start(CommonDeployableContainer.java:110)
    1 frame
  4. Arquillian Container Implementation Base
    ContainerLifecycleController.startContainer
    1. org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:199)
    2. org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)
    3. org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)
    4. org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)
    5. org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)
    5 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    3 frames
  7. Arquillian Container Implementation Base
    ContainerDeploymentContextHandler.createContainerContext
    1. org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  9. Arquillian Core Implementation Base
    EventImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
    5. org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
    5 frames
  10. Arquillian Container Test Implementation Base
    ClientContainerController.start
    1. org.jboss.arquillian.container.test.impl.client.container.ClientContainerController.start(ClientContainerController.java:93)
    1 frame
  11. org.jboss.as
    ExtendedClusterAbstractTestCase.beforeTestMethod
    1. org.jboss.as.test.clustering.NodeUtil.start(NodeUtil.java:68)
    2. org.jboss.as.test.clustering.cluster.ClusterAbstractTestCase.start(ClusterAbstractTestCase.java:107)
    3. org.jboss.as.test.clustering.cluster.ExtendedClusterAbstractTestCase.beforeTestMethod(ExtendedClusterAbstractTestCase.java:36)
    3 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  13. JUnit
    RunBefores.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    4 frames
  14. Arquillian TestRunner JUnit Core
    Arquillian$StatementLifecycleExecutor.invoke
    1. org.jboss.arquillian.junit.Arquillian$StatementLifecycleExecutor.invoke(Arquillian.java:459)
    1 frame
  15. Arquillian Container Test Implementation Base
    ClientBeforeAfterLifecycleEventExecuter.on
    1. org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.execute(ClientBeforeAfterLifecycleEventExecuter.java:99)
    2. org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.on(ClientBeforeAfterLifecycleEventExecuter.java:72)
    2 frames
  16. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  17. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    3 frames
  18. Arquillian Container Test Implementation Base
    ContainerEventController.createBeforeContext
    1. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
    2. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:124)
    2 frames
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  20. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  21. Arquillian Test Implementation Base
    TestContextHandler.createClassContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
    1 frame
  22. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  23. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  24. Arquillian Test Implementation Base
    TestContextHandler.createTestContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
    1 frame
  25. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  26. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  27. Arquillian Test Implementation Base
    TestContextHandler.createSuiteContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
    1 frame
  28. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  29. Arquillian Core Implementation Base
    ManagerImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
    4 frames
  30. Arquillian Test Implementation Base
    EventTestRunnerAdaptor.before
    1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.before(EventTestRunnerAdaptor.java:108)
    1 frame
  31. Arquillian TestRunner JUnit Core
    Arquillian$7$1.invoke
    1. org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:241)
    2. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
    3. org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
    4. org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:259)
    5. org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:315)
    5 frames
  32. Arquillian Container Test Implementation Base
    ClientBeforeAfterLifecycleEventExecuter.on
    1. org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.execute(ClientBeforeAfterLifecycleEventExecuter.java:99)
    2. org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.on(ClientBeforeAfterLifecycleEventExecuter.java:72)
    2 frames
  33. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  34. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    3 frames
  35. Arquillian Container Test Implementation Base
    ContainerEventController.createBeforeContext
    1. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
    2. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:124)
    2 frames
  36. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  37. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  38. Arquillian Test Implementation Base
    TestContextHandler.createClassContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
    1 frame
  39. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  40. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  41. Arquillian Test Implementation Base
    TestContextHandler.createTestContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
    1 frame
  42. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  43. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  44. Arquillian Test Implementation Base
    TestContextHandler.createSuiteContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
    1 frame
  45. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  46. Arquillian Core Implementation Base
    ManagerImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
    4 frames
  47. Arquillian Test Implementation Base
    EventTestRunnerAdaptor.fireCustomLifecycle
    1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)
    1 frame
  48. Arquillian TestRunner JUnit Core
    Arquillian$7.evaluate
    1. org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:311)
    1 frame
  49. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    8 frames
  50. Arquillian TestRunner JUnit Core
    Arquillian$3.evaluate
    1. org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:204)
    2. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
    3. org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
    4. org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:218)
    4 frames
  51. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    1 frame
  52. Arquillian TestRunner JUnit Core
    Arquillian.run
    1. org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:166)
    1 frame
  53. JUnit
    JUnitCore.run
    1. org.junit.runners.Suite.runChild(Suite.java:127)
    2. org.junit.runners.Suite.runChild(Suite.java:26)
    3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    8. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    9. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:138)
    10 frames
  54. SureFire JUnitCore Runner
    JUnitCoreProvider.invoke
    1. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
    2. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
    3. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
    4. org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
    4 frames
  55. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
    3 frames