[jboss-jira] [JBoss JIRA] (WFCORE-2533) DeploymentRolloutFailureTestCase fails with security manager in WF core

James Perkins (JIRA) issues at jboss.org
Tue Mar 28 18:25:00 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins reassigned WFCORE-2533:
-------------------------------------

    Assignee: James Perkins


> DeploymentRolloutFailureTestCase fails with security manager in WF core
> -----------------------------------------------------------------------
>
>                 Key: WFCORE-2533
>                 URL: https://issues.jboss.org/browse/WFCORE-2533
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management, Test Suite
>            Reporter: Jan Tymel
>            Assignee: James Perkins
>
> *org.jboss.as.test.integration.domain.suites.DeploymentRolloutFailureTestCase#test*
> {{cd testsuite/domain/}}
> {{mvn test -Dtest=DeploymentRolloutFailureTestCase -Dsecurity.manager -DtestLogToFile=false}}
> {code}
> [Server:main-three] 13:08:06,210 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "broken.jar" (runtime-name: "broken.jar")
> [Server:main-three] 13:08:06,318 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service test.deployment.broken: org.jboss.msc.service.StartException in service test.deployment.broken: Failed to start service
> [Server:main-three] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:main-three] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153) [rt.jar:1.8.0]
> [Server:main-three] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [rt.jar:1.8.0]
> [Server:main-three] 	at java.lang.Thread.run(Thread.java:785) [vm.jar:1.8.0]
> [Server:main-three] Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "test.deployment.broken.fail" "read")" in code source "(vfs:/content/broken.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.broken.jar" from Service Module Loader")
> [Server:main-three] 	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278) [wildfly-elytron-1.1.0.Beta27-redhat-1.jar:1.1.0.Beta27-redhat-1]
> [Server:main-three] 	at org.wildfly.security.manager.WildFlySecurityManager.checkPropertyAccess(WildFlySecurityManager.java:469) [wildfly-elytron-1.1.0.Beta27-redhat-1.jar:1.1.0.Beta27-redhat-1]
> [Server:main-three] 	at java.lang.System.getProperty(System.java:443) [vm.jar:1.8.0]
> [Server:main-three] 	at java.lang.System.getProperty(System.java:427) [vm.jar:1.8.0]
> [Server:main-three] 	at java.lang.Boolean.getBoolean(Boolean.java:265) [rt.jar:1.8.0]
> [Server:main-three] 	at org.jboss.as.test.integration.domain.deployment.broken.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:54)
> [Server:main-three] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:main-three] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:main-three] 	... 3 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list