java.lang.IllegalStateException: Server locator is closed (maybe it was garbage collected)

GitHub | wildfly-ci | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 7950#132385671

    GitHub | 2 years ago | wildfly-ci
    java.lang.IllegalStateException: Server locator is closed (maybe it was garbage collected)
  2. 0

    GitHub comment 7942#132113524

    GitHub | 2 years ago | wildfly-ci
    java.lang.IllegalStateException: Server locator is closed (maybe it was garbage collected)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 7942#132037036

    GitHub | 2 years ago | wildfly-ci
    java.lang.IllegalStateException: Server locator is closed (maybe it was garbage collected)
  5. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

    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. java.lang.IllegalStateException

      Server locator is closed (maybe it was garbage collected)

      at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.assertOpen()
    2. org.apache.activemq
      OrderedExecutorFactory$OrderedExecutor$1.run
      1. org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.assertOpen(ServerLocatorImpl.java:2091)
      2. org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:844)
      3. org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:687)
      4. org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:671)
      5. org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl$4.run(ServerLocatorImpl.java:1739)
      6. org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:105)
      6 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames