Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11480

Possible to remove referenced activemq http-connector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 16.0.0.Beta1, 16.0.0.Final
    • 15.0.0.Final
    • JMS
    • None
    • Hide

      Run standalone-full.xml configuration. Connect to cli. Run

      /subsystem=messaging-activemq/server=default/http-acceptor=http-acceptor:remove()
      /subsystem=messaging-activemq/server=default/http-connector=http-connector:remove()

      Restart the server.

      Show
      Run standalone-full.xml configuration. Connect to cli. Run /subsystem=messaging-activemq/server=default/http-acceptor=http-acceptor:remove() /subsystem=messaging-activemq/server=default/http-connector=http-connector:remove() Restart the server.

    Description

      It is possible to remove activemq http-connector that is referenced by broadcast-group, leading to crash on server next boot:

      18:30:52,360 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool – 81) MSC000001: Failed to start service jboss.messaging-activemq.default.jms.connection-factory.RemoteConnectionFactory: org.jboss.msc.service.StartException in service jboss.messaging-activemq.default.jms.connection-factory.RemoteConnectionFactory: WFLYMSGAMQ0028: Failed to create connection-factory
      at org.wildfly.extension.messaging.activemq.jms.ConnectionFactoryService$1.run(ConnectionFactoryService.java:67)
      at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349)
      at java.lang.Thread.run(Thread.java:748)
      at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: ActiveMQIllegalStateException[errorType=ILLEGAL_STATE message=AMQ129005: Connector 'http-connector' not found on the main configuration file]
      at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.internalCreateCFPOJO(JMSServerManagerImpl.java:1176)
      at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.internalCreateCF(JMSServerManagerImpl.java:1138)
      at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.access$1400(JMSServerManagerImpl.java:103)
      at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl$5.runException(JMSServerManagerImpl.java:1007)
      at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.runAfterActive(JMSServerManagerImpl.java:1494)
      at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.createConnectionFactory(JMSServerManagerImpl.java:996)
      at org.wildfly.extension.messaging.activemq.jms.ConnectionFactoryService$1.run(ConnectionFactoryService.java:64)
      ... 6 more

      Attachments

        Activity

          People

            ehugonne1@redhat.com Emmanuel Hugonnet
            sebek64 Marcel Ĺ ebek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: