]
Jan Tymel reassigned WFCORE-2254:
---------------------------------
Assignee: (was: Tomaz Cerar)
InterdependentDeploymentTestCase fails with security manager
------------------------------------------------------------
Key: WFCORE-2254
URL:
https://issues.jboss.org/browse/WFCORE-2254
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Reporter: Jan Tymel
*org.jboss.as.test.manualmode.deployment.InterdependentDeploymentTestCase#test*
{{cd testsuite/manualmode/}}
{{mvn test -DtestLogToFile=false -Dtest=InterdependentDeploymentTestCase
-Dsecurity.manager}}
{code}
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start
service ServiceActivatorDeployment.c: org.jboss.msc.service.StartException in service
ServiceActivatorDeployment.c: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
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)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed
(permission "("java.util.PropertyPermission" "interrelated-c.jar"
"write")" in code source "(vfs:/content/interrelated-a.jar <no
signer certificates>)" of "ModuleClassLoader for Module
"deployment.interrelated-a.jar" 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.System.setProperty(System.java:792)
at
org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 4 more
{code}