Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26989

[QE](8.0.z) AMQ224068: Unable to stop component when shutting down server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 8.0 Update 3
    • 8.0 Update 2
    • JMS
    • None

      The following exception is thrown when shutting down the server with an active messaging subsystem:

      ERROR [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 2) AMQ224068: Unable to stop component: org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl: java.util.ServiceConfigurationError: org.apache.activemq.artemis.spi.core.remoting.ssl.SSLContextFactory: Provider org.jboss.activemq.artemis.wildfly.integration.WildFlySSLContextFactory could not be instantiated
      	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:586)
      	at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813)
      	at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729)
      	at java.base/java.util.ServiceLoader.next(ServiceLoader.java:1403)
      	at java.base/java.lang.Iterable.forEach(Iterable.java:74)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.spi.core.remoting.ssl.SSLContextFactoryProvider.<clinit>(SSLContextFactoryProvider.java:34)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:384)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1336)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1202)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1186)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:997)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:991)
      	at org.apache.activemq.artemis@2.21.0.redhat-00048//org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.stop(JMSServerManagerImpl.java:394)
      	at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.JMSService.doStop(JMSService.java:222)
      	at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.JMSService.run(JMSService.java:122)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at java.base/java.lang.Thread.run(Thread.java:842)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.JBossThread.run(JBossThread.java:513)
      Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
      	at org.wildfly.extension.messaging-activemq//org.jboss.activemq.artemis.wildfly.integration.WildFlySSLContextFactory.<clinit>(WildFlySSLContextFactory.java:39)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
      	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
      	at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:789)
      	... 21 more
      Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory from [Module "org.wildfly.extension.messaging-activemq" from local module loader @42530531 (finder: local module finder @5a3bc7ed (roots: /home/pmackay/praca/802/test/jboss-eap-8.0/modules,/home/pmackay/praca/802/test/jboss-eap-8.0/modules/system/layers/base))]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:408)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:396)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:115)
      	... 28 more
      

            istudens@redhat.com Ivo Studensky
            pmackay@redhat.com Peter Mackay
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: