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

Servlet lifecycle tests fail with security manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Alpha1
    • None
    • Test Suite
    • None

      Following tests fail when -Dnode0 property is set (e.g. in QE CI runs)

      org.jboss.as.test.integration.ee.lifecycle.servlet.FilterLifecycleCallbackInterceptionTestCase#testFilterPreDestroyInterception

      1. export MYTESTIP_1=192.168.1.50
      2. sudo ifconfig em1:0 192.168.1.50
      3. ./integration-tests.sh -DtestLogToFile=false -Dts.basic -Dtest=FilterLifecycleCallbackInterceptionTestCase -Dsecurity.manager -Dnode0=$MYTESTIP_1
      [org.jboss.as.ee] (ServerService Thread Pool -- 28) WFLYEE0006: Failed to destroy component instance org.jboss.as.ee.component.BasicComponentInstance@401c8348: java.lang.RuntimeException: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.net.SocketPermission" "192.168.1.50:8080" "connect,resolve")" in code source "(vfs:/content/remote.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.remote.war" from Service Module Loader")
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.InfoClient.notify(InfoClient.java:40)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.LifecycleCallbackInterceptor.preDestroy(LifecycleCallbackInterceptor.java:45)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:73)
      	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.invokeNext(WeldInvocationContext.java:83)
      	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.proceed(WeldInvocationContext.java:115)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeLifecycleInterception(InterceptorMethodHandler.java:78)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:74)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:50)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:84)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:61)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.RemoteFilter$Proxy$_$$_WeldSubclass.lifecycle_mixin_$$_preDestroy(Unknown Source)
      	at org.jboss.weld.interceptor.util.InterceptionUtils.executePredestroy(InterceptionUtils.java:67)
      	at org.jboss.weld.interceptor.util.InterceptionUtils.executePredestroy(InterceptionUtils.java:79)
      	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.preDestroy(DefaultLifecycleCallbackInvoker.java:88)
      	at org.jboss.weld.injection.producer.BasicInjectionTarget.preDestroy(BasicInjectionTarget.java:127)
      	at org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$4.run(WeldComponentIntegrationProcessor.java:235)
      	at org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$AbstractInjectionTargetDelegatingInterceptor.processInvocation(WeldComponentIntegrationProcessor.java:293)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.as.ee.component.ManagedReferenceReleaseInterceptor.processInvocation(ManagedReferenceReleaseInterceptor.java:56)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:375)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:568)
      	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:75)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      	at org.jboss.as.ee.component.BasicComponentInstance.destroy(BasicComponentInstance.java:125)
      	at org.jboss.as.ee.component.ComponentRegistry$ComponentManagedReference.release(ComponentRegistry.java:106)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$6$1.release(UndertowDeploymentInfoService.java:1412)
      	at io.undertow.servlet.core.ManagedFilter.stop(ManagedFilter.java:101)
      	at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:581)
      	at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:576)
      	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
      	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at io.undertow.servlet.core.DeploymentManagerImpl.stop(DeploymentManagerImpl.java:590)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stopContext(UndertowDeploymentService.java:139)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$2.run(UndertowDeploymentService.java:120)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.net.SocketPermission" "192.168.1.50:8080" "connect,resolve")" in code source "(vfs:/content/remote.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.remote.war" from Service Module Loader")
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
      	at java.lang.SecurityManager.checkConnect(SecurityManager.java:1051)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkConnect(WildFlySecurityManager.java:380)
      	at sun.net.www.http.HttpClient.openServer(HttpClient.java:510)
      	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
      	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
      	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
      	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
      	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.InfoClient.notify(InfoClient.java:38)
      	... 55 more
      

      org.jboss.as.test.integration.ee.lifecycle.servlet.ListenerLifecycleCallbackInterceptionTestCase#testListenerPreDestroyInterception

      1. export MYTESTIP_1=192.168.1.50
      2. sudo ifconfig em1:0 192.168.1.50
      3. ./integration-tests.sh -DtestLogToFile=false -Dts.basic -Dtest=ListenerLifecycleCallbackInterceptionTestCase -Dsecurity.manager -Dnode0=$MYTESTIP_1
      [org.jboss.as.ee] (ServerService Thread Pool -- 10) WFLYEE0006: Failed to destroy component instance org.jboss.as.ee.component.BasicComponentInstance@273c588b: java.lang.RuntimeException: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.net.SocketPermission" "192.168.1.50:8080" "connect,resolve")" in code source "(vfs:/content/remote.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.remote.war" from Service Module Loader")
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.InfoClient.notify(InfoClient.java:40)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.LifecycleCallbackInterceptor.preDestroy(LifecycleCallbackInterceptor.java:45)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:73)
      	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.invokeNext(WeldInvocationContext.java:83)
      	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.proceed(WeldInvocationContext.java:115)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeLifecycleInterception(InterceptorMethodHandler.java:78)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:74)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:50)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:84)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:61)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.RemoteListener$Proxy$_$$_WeldSubclass.lifecycle_mixin_$$_preDestroy(Unknown Source)
      	at org.jboss.weld.interceptor.util.InterceptionUtils.executePredestroy(InterceptionUtils.java:67)
      	at org.jboss.weld.interceptor.util.InterceptionUtils.executePredestroy(InterceptionUtils.java:79)
      	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.preDestroy(DefaultLifecycleCallbackInvoker.java:88)
      	at org.jboss.weld.injection.producer.BasicInjectionTarget.preDestroy(BasicInjectionTarget.java:127)
      	at org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$4.run(WeldComponentIntegrationProcessor.java:235)
      	at org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$AbstractInjectionTargetDelegatingInterceptor.processInvocation(WeldComponentIntegrationProcessor.java:293)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.as.ee.component.ManagedReferenceReleaseInterceptor.processInvocation(ManagedReferenceReleaseInterceptor.java:56)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:375)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:568)
      	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:75)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      	at org.jboss.as.ee.component.BasicComponentInstance.destroy(BasicComponentInstance.java:125)
      	at org.jboss.as.ee.component.ComponentRegistry$ComponentManagedReference.release(ComponentRegistry.java:106)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$6$1.release(UndertowDeploymentInfoService.java:1412)
      	at io.undertow.servlet.core.ManagedListener.stop(ManagedListener.java:59)
      	at io.undertow.servlet.core.ApplicationListeners.stop(ApplicationListeners.java:167)
      	at io.undertow.servlet.core.DeploymentImpl.destroy(DeploymentImpl.java:254)
      	at io.undertow.servlet.core.DeploymentManagerImpl$4.call(DeploymentManagerImpl.java:636)
      	at io.undertow.servlet.core.DeploymentManagerImpl$4.call(DeploymentManagerImpl.java:633)
      	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
      	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at io.undertow.servlet.core.DeploymentManagerImpl.undeploy(DeploymentManagerImpl.java:641)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stopContext(UndertowDeploymentService.java:143)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$2.run(UndertowDeploymentService.java:120)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.net.SocketPermission" "192.168.1.50:8080" "connect,resolve")" in code source "(vfs:/content/remote.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.remote.war" from Service Module Loader")
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
      	at java.lang.SecurityManager.checkConnect(SecurityManager.java:1051)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkConnect(WildFlySecurityManager.java:380)
      	at sun.net.www.http.HttpClient.openServer(HttpClient.java:510)
      	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
      	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
      	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
      	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
      	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.InfoClient.notify(InfoClient.java:38)
      	... 57 more
      

      org.jboss.as.test.integration.ee.lifecycle.servlet.ServletLifecycleCallbackInterceptionTestCase#testServletPreDestroyInterception

      1. export MYTESTIP_1=192.168.1.50
      2. sudo ifconfig em1:0 192.168.1.50
      3. ./integration-tests.sh -DtestLogToFile=false -Dts.basic -Dtest=ServletLifecycleCallbackInterceptionTestCase -Dsecurity.manager -Dnode0=$MYTESTIP_1
      [org.jboss.as.ee] (ServerService Thread Pool -- 28) WFLYEE0006: Failed to destroy component instance org.jboss.as.ee.component.BasicComponentInstance@91cc90c: java.lang.RuntimeException: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.net.SocketPermission" "192.168.1.50:8080" "connect,resolve")" in code source "(vfs:/content/remote.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.remote.war" from Service Module Loader")
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.InfoClient.notify(InfoClient.java:40)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.LifecycleCallbackInterceptor.preDestroy(LifecycleCallbackInterceptor.java:45)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:73)
      	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.invokeNext(WeldInvocationContext.java:83)
      	at org.jboss.weld.interceptor.proxy.WeldInvocationContext.proceed(WeldInvocationContext.java:115)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeLifecycleInterception(InterceptorMethodHandler.java:78)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:74)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:50)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:84)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:61)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.RemoteServlet$Proxy$_$$_WeldSubclass.lifecycle_mixin_$$_preDestroy(Unknown Source)
      	at org.jboss.weld.interceptor.util.InterceptionUtils.executePredestroy(InterceptionUtils.java:67)
      	at org.jboss.weld.interceptor.util.InterceptionUtils.executePredestroy(InterceptionUtils.java:79)
      	at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.preDestroy(DefaultLifecycleCallbackInvoker.java:88)
      	at org.jboss.weld.injection.producer.BasicInjectionTarget.preDestroy(BasicInjectionTarget.java:127)
      	at org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$4.run(WeldComponentIntegrationProcessor.java:235)
      	at org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$AbstractInjectionTargetDelegatingInterceptor.processInvocation(WeldComponentIntegrationProcessor.java:293)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.as.ee.component.ManagedReferenceReleaseInterceptor.processInvocation(ManagedReferenceReleaseInterceptor.java:56)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:375)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:568)
      	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:75)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)
      	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      	at org.jboss.as.ee.component.BasicComponentInstance.destroy(BasicComponentInstance.java:125)
      	at org.jboss.as.ee.component.ComponentRegistry$ComponentManagedReference.release(ComponentRegistry.java:106)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$6$1.release(UndertowDeploymentInfoService.java:1412)
      	at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.stop(ManagedServlet.java:266)
      	at io.undertow.servlet.core.ManagedServlet.stop(ManagedServlet.java:146)
      	at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:581)
      	at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:576)
      	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
      	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1696)
      	at io.undertow.servlet.core.DeploymentManagerImpl.stop(DeploymentManagerImpl.java:590)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stopContext(UndertowDeploymentService.java:139)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$2.run(UndertowDeploymentService.java:120)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.net.SocketPermission" "192.168.1.50:8080" "connect,resolve")" in code source "(vfs:/content/remote.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.remote.war" from Service Module Loader")
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
      	at java.lang.SecurityManager.checkConnect(SecurityManager.java:1051)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkConnect(WildFlySecurityManager.java:380)
      	at sun.net.www.http.HttpClient.openServer(HttpClient.java:510)
      	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
      	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
      	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
      	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
      	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
      	at org.jboss.as.test.integration.ee.lifecycle.servlet.InfoClient.notify(InfoClient.java:38)
      	... 56 more
      

              istudens@redhat.com Ivo Studensky
              jtymel Jan Tymel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: