-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
-
When runnig the Artemis client side code under security manager I'm getting the following exception:
ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ219013: AMQ219013: Timed out waiting to receive cluster topology. Group:null ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ219013: Timed out waiting to receive cluster topology. Group:null] at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:773) at deployment.messaging-example.jar//org.jboss.as.test.smoke.messaging.ArtemisMessagingTestCase.start(ArtemisMessagingTestCase.java:70) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at deployment.arquillian-service//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at deployment.arquillian-service//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at deployment.arquillian-service//org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33) at deployment.arquillian-service//org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$StatementLifecycleExecutor.invoke(Arquillian.java:378) at deployment.arquillian-service//org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:34) at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83) at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69) at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at deployment.arquillian-service//org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.before(EventTestRunnerAdaptor.java:115) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:200) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:215) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:279) at deployment.arquillian-service//org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:34) at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83) at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69) at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at deployment.arquillian-service//org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:273) at deployment.arquillian-service//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at deployment.arquillian-service//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at deployment.arquillian-service//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at deployment.arquillian-service//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at deployment.arquillian-service//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at deployment.arquillian-service//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at deployment.arquillian-service//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at deployment.arquillian-service//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at deployment.arquillian-service//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:166) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:177) at deployment.arquillian-service//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at deployment.arquillian-service//org.junit.runners.ParentRunner.run(ParentRunner.java:413) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115) at deployment.arquillian-service//org.junit.runner.JUnitCore.run(JUnitCore.java:137) at deployment.arquillian-service//org.junit.runner.JUnitCore.run(JUnitCore.java:115) at deployment.arquillian-service//org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:61) at deployment.arquillian-service//org.jboss.arquillian.protocol.jmx.JMXTestRunner.doRunTestMethod(JMXTestRunner.java:153) at deployment.arquillian-service//org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.doRunTestMethod(ArquillianService.java:204) at deployment.arquillian-service//org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:137) at deployment.arquillian-service//org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:119) at deployment.arquillian-service//org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:179) at jdk.internal.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at jdk.internal.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at java.base/sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:260) at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) at java.management/com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) at java.management/com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at java.management/com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809) at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:1482) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:714) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.BlockingNotificationMBeanServer.invoke(BlockingNotificationMBeanServer.java:151) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.AuthorizingMBeanServer.invoke(AuthorizingMBeanServer.java:245) at org.jboss.remoting-jmx@3.1.0.Final//org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:947) at org.jboss.remoting-jmx@3.1.0.Final//org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:149) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:54) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:49) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:328) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:285) at org.jboss.as.controller@23.0.0.Beta1//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:237) at org.jboss.as.controller@23.0.0.Beta1//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:208) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:49) at org.jboss.remoting-jmx@3.1.0.Final//org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:145) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) ------- Stdout: ------- &#27;13:08:06,635 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /opt/buildAgent/work/e34a6f994de9f7c6/testsuite/integration/smoke/target/wildfly/standalone/data/content/21/1b5c3f5f32786f37c28a74b4d580a8f106794a/content &#27;&#27;13:08:06,657 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "messaging-example.jar" (runtime-name: "messaging-example.jar") &#27;&#27;13:08:06,700 WARN [org.jboss.as.dependency.private] (MSC service thread 1-4) WFLYSRV0018: Deployment "deployment.messaging-example.jar" is using a private module ("org.wildfly.security.manager") which may be changed or removed in future versions without notice. &#27;&#27;13:08:06,715 INFO [org.jboss.as.arquillian] (MSC service thread 1-8) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."messaging-example.jar",unit=messaging-example.jar,tests=[org.jboss.as.test.smoke.messaging.ArtemisMessagingTestCase]] &#27;&#27;13:08:06,748 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "messaging-example.jar" (runtime-name : "messaging-example.jar") &#27;&#27;13:08:06,774 INFO [org.jboss.arquillian.testenricher.cdi.container.BeanManagerProducer] (pool-9-thread-1) BeanManager not found. &#27;&#27;13:08:06,876 ERROR [org.apache.activemq.artemis.core.client] (Thread-0 (ActiveMQ-remoting-threads-ActiveMQServerImpl::name=default-1744406079)) AMQ214013: Failed to decode packet: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "setContextClassLoader")" in code source "(vfs:/content/messaging-example.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.messaging-example.jar" from Service Module Loader") at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:309) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:201) at java.base/java.lang.Thread.setContextClassLoader(Thread.java:1518) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.createThread(ActiveMQThreadFactory.java:126) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:98) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:88) at java.base/java.security.AccessController.doPrivileged(Native Method) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.newThread(ActiveMQThreadFactory.java:82) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:623) at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:912) at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1354) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(ProcessorBase.java:199) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.task(ProcessorBase.java:187) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(OrderedExecutor.java:72) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.write(InVMConnection.java:202) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.write(InVMConnection.java:192) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:431) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:331) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.CoreProtocolManager$LocalChannelHandler.handlePacket(CoreProtocolManager.java:294) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:835) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:409) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:382) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:698) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:211) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) &#27;&#27;13:08:06,879 WARN [org.apache.activemq.artemis.core.server] (Thread-0 (ActiveMQ-remoting-threads-ActiveMQServerImpl::name=default-1744406079)) AMQ222218: Server disconnecting: Error decoding buffer: java.lang.IllegalStateException: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "setContextClassLoader")" in code source "(vfs:/content/messaging-example.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.messaging-example.jar" from Service Module Loader") at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:387) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:698) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:211) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "setContextClassLoader")" in code source "(vfs:/content/messaging-example.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.messaging-example.jar" from Service Module Loader") at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:309) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:201) at java.base/java.lang.Thread.setContextClassLoader(Thread.java:1518) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.createThread(ActiveMQThreadFactory.java:126) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:98) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:88) at java.base/java.security.AccessController.doPrivileged(Native Method) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.newThread(ActiveMQThreadFactory.java:82) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:623) at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:912) at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1354) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(ProcessorBase.java:199) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.task(ProcessorBase.java:187) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(OrderedExecutor.java:72) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.write(InVMConnection.java:202) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.write(InVMConnection.java:192) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:431) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:331) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.CoreProtocolManager$LocalChannelHandler.handlePacket(CoreProtocolManager.java:294) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:835) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:409) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:382) ... 8 more &#27;&#27;13:08:06,903 WARN [org.apache.activemq.artemis.core.client] (Thread-0 (ActiveMQ-remoting-threads-ActiveMQServerImpl::name=default-1744406079)) AMQ212037: Connection failure to invm:0 has been detected: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "setContextClassLoader")" in code source "(vfs:/content/messaging-example.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.messaging-example.jar" from Service Module Loader") [code=GENERIC_EXCEPTION] &#27;&#27;13:08:06,905 ERROR [org.apache.activemq.artemis.core.server] (Thread-0 (ActiveMQ-remoting-threads-ActiveMQServerImpl::name=default-1744406079)) AMQ224027: Failed to write to handler on invm connector org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1@205471a3: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "setContextClassLoader")" in code source "(vfs:/content/messaging-example.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.messaging-example.jar" from Service Module Loader") at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:309) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:201) at java.base/java.lang.Thread.setContextClassLoader(Thread.java:1518) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.createThread(ActiveMQThreadFactory.java:126) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:98) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:88) at java.base/java.security.AccessController.doPrivileged(Native Method) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.newThread(ActiveMQThreadFactory.java:82) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:623) at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:912) at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1354) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(ProcessorBase.java:199) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.task(ProcessorBase.java:187) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(OrderedExecutor.java:72) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptor$Listener.connectionDestroyed(InVMAcceptor.java:298) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.close(InVMConnection.java:150) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.internalClose(RemotingConnectionImpl.java:424) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.fail(RemotingConnectionImpl.java:216) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.spi.core.protocol.AbstractRemotingConnection.fail(AbstractRemotingConnection.java:232) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:701) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:211) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) &#27;&#27;13:08:06,907 WARN [org.apache.activemq.artemis.utils.actors.OrderedExecutor] (Thread-0 (ActiveMQ-remoting-threads-ActiveMQServerImpl::name=default-1744406079)) Failed to write to handler on connector org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1@205471a3: java.lang.IllegalStateException: Failed to write to handler on connector org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1@205471a3 at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:219) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "setContextClassLoader")" in code source "(vfs:/content/messaging-example.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.messaging-example.jar" from Service Module Loader") at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:309) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:201) at java.base/java.lang.Thread.setContextClassLoader(Thread.java:1518) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.createThread(ActiveMQThreadFactory.java:126) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:98) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$ThreadCreateAction.run(ActiveMQThreadFactory.java:88) at java.base/java.security.AccessController.doPrivileged(Native Method) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.ActiveMQThreadFactory.newThread(ActiveMQThreadFactory.java:82) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:623) at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:912) at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1354) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.onAddedTaskIfNotRunning(ProcessorBase.java:199) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.ProcessorBase.task(ProcessorBase.java:187) at org.apache.activemq.artemis.commons@2.31.2//org.apache.activemq.artemis.utils.actors.OrderedExecutor.execute(OrderedExecutor.java:72) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptor$Listener.connectionDestroyed(InVMAcceptor.java:298) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.close(InVMConnection.java:150) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.internalClose(RemotingConnectionImpl.java:424) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.fail(RemotingConnectionImpl.java:216) at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.spi.core.protocol.AbstractRemotingConnection.fail(AbstractRemotingConnection.java:232) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:701) at org.apache.activemq.artemis@2.31.2//org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:211) ... 6 more &#27;&#27;13:08:36,901 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-9-thread-1) Failed: org.jboss.as.test.smoke.messaging.ArtemisMessagingTestCase.testMessaging: ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ219013: Timed out waiting to receive cluster topology. Group:null] at org.apache.activemq.artemis.client@2.31.2//org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:773) at deployment.messaging-example.jar//org.jboss.as.test.smoke.messaging.ArtemisMessagingTestCase.start(ArtemisMessagingTestCase.java:70) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at deployment.arquillian-service//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at deployment.arquillian-service//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at deployment.arquillian-service//org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33) at deployment.arquillian-service//org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$StatementLifecycleExecutor.invoke(Arquillian.java:378) at deployment.arquillian-service//org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:34) at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83) at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69) at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at deployment.arquillian-service//org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.before(EventTestRunnerAdaptor.java:115) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:200) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:215) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:279) at deployment.arquillian-service//org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:34) at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83) at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69) at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at deployment.arquillian-service//org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at deployment.arquillian-service//org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at deployment.arquillian-service//org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:273) at deployment.arquillian-service//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at deployment.arquillian-service//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at deployment.arquillian-service//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at deployment.arquillian-service//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at deployment.arquillian-service//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at deployment.arquillian-service//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at deployment.arquillian-service//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at deployment.arquillian-service//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at deployment.arquillian-service//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:166) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:177) at deployment.arquillian-service//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at deployment.arquillian-service//org.junit.runners.ParentRunner.run(ParentRunner.java:413) at deployment.arquillian-service//org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115) at deployment.arquillian-service//org.junit.runner.JUnitCore.run(JUnitCore.java:137) at deployment.arquillian-service//org.junit.runner.JUnitCore.run(JUnitCore.java:115) at deployment.arquillian-service//org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:61) at deployment.arquillian-service//org.jboss.arquillian.protocol.jmx.JMXTestRunner.doRunTestMethod(JMXTestRunner.java:153) at deployment.arquillian-service//org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.doRunTestMethod(ArquillianService.java:204) at deployment.arquillian-service//org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:137) at deployment.arquillian-service//org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:119) at deployment.arquillian-service//org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:179) at jdk.internal.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at jdk.internal.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at java.base/sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:260) at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) at java.management/com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) at java.management/com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at java.management/com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809) at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:1482) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:714) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.BlockingNotificationMBeanServer.invoke(BlockingNotificationMBeanServer.java:151) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.AuthorizingMBeanServer.invoke(AuthorizingMBeanServer.java:245) at org.jboss.remoting-jmx@3.1.0.Final//org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:947) at org.jboss.remoting-jmx@3.1.0.Final//org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:149) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:54) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:49) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:328) at org.wildfly.security.elytron-base@2.2.2.Final//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:285) at org.jboss.as.controller@23.0.0.Beta1//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:237) at org.jboss.as.controller@23.0.0.Beta1//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:208) at org.jboss.as.jmx@23.0.0.Beta1//org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:49) at org.jboss.remoting-jmx@3.1.0.Final//org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:145) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) &#27;
While ThreadCreateAction is executed as part of a priviledged action thus is not 'working' for chaning the TCCL as the created thread will inherit the AccessControlContext and thus will not be able to execute in a priviledged block