[
https://issues.jboss.org/browse/WFCORE-846?page=com.atlassian.jira.plugin...
]
Jan Tymel reopened WFCORE-846:
------------------------------
Reopening since there still are some tests failing with security manager:
* org.jboss.as.test.integration.domain.slavereconnect.SlaveReconnectTestCase
* org.jboss.as.test.integration.domain.suites.DeploymentRolloutFailureTestCase
* org.jboss.as.test.integration.jmx.ModelControllerMBeanTestCase
* org.jboss.as.test.integration.logging.operations.CustomFormattersTestCase
* org.jboss.as.test.integration.logging.operations.CustomHandlerOperationsTestCase
* org.jboss.as.test.integration.logging.operations.CustomHandlerTestCase
* org.jboss.as.test.integration.logging.operations.Log4jCustomHandlerTestCase
* org.jboss.as.test.integration.logging.perdeploy.JBossLog4jXmlTestCase
* org.jboss.as.test.integration.logging.perdeploy.JBossLoggingPropertiesTestCase
* org.jboss.as.test.integration.logging.perdeploy.Log4jPropertiesTestCase
* org.jboss.as.test.integration.logging.perdeploy.Log4jXmlTestCase
* org.jboss.as.test.integration.logging.perdeploy.LoggingPropertiesTestCase
* org.jboss.as.test.integration.logging.profiles.LoggingProfilesTestCase
* org.jboss.as.test.integration.logging.profiles.NonExistingProfileTestCase
* org.jboss.as.test.integration.logging.syslog.SyslogHandlerTestCase
* org.jboss.as.test.integration.management.cli.modules.ModuleResourceRootPathsTestCase
* org.jboss.as.test.integration.mgmt.access.JmxSensitiveTestCase
* org.jboss.as.test.manualmode.deployment.InterdependentDeploymentTestCase
* org.jboss.as.test.manualmode.logging.Log4jAppenderTestCase
* org.jboss.as.test.manualmode.logging.LoggingPreferencesTestCase
* org.jboss.as.test.manualmode.logging.PerDeployLoggingTestCase
* org.jboss.as.test.manualmode.logging.ReconnectSyslogServerTestCase
* org.jboss.as.test.manualmode.logging.SizeAppenderRestartTestCase
* org.jboss.as.test.manualmode.logging.SyslogIsNotAvailableDuringServerBootTestCase
* org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase
Some tests throws "Permission check failed" while run with
security manager
---------------------------------------------------------------------------
Key: WFCORE-846
URL:
https://issues.jboss.org/browse/WFCORE-846
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Affects Versions: 2.0.0.Alpha11
Reporter: Petr Kremensky
Assignee: Ingo Weiss
Fix For: 3.0.0.Alpha23
Some tests are failing to deploy an archive when testsuite run with security manager
enabled.
{noformat}
08:03:07,171 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001:
Failed to start service test.deployment.trivial: org.jboss.msc.service.StartException in
service test.deployment.trivial: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
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"
"test.deployment.trivial.prop" "write")" in code source
"(vfs:/content/test-http-deployment.sar <no signer certificates>)" of
"null")
at
org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:274)
at
org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:176)
at java.lang.System.setProperty(System.java:792)
at
org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:80)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
... 3 more
08:03:07,173 ERROR [org.jboss.as.controller.management-operation] (XNIO-1 task-5)
WFLYCTL0013: Operation ("add") failed - address: ([{"deployment" =>
"test-http-deployment.sar"}]) - failure description: {"WFLYCTL0080: Failed
services" => {"test.deployment.trivial" =>
"org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to
start service
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed
(permission \"(\"java.util.PropertyPermission\"
\"test.deployment.trivial.prop\" \"write\")\" in code source
\"(vfs:/content/test-http-deployment.sar <no signer certificates>)\" of
\"null\")"}}
08:03:07,174 ERROR [org.jboss.as.server] (XNIO-1 task-5) WFLYSRV0021: Deploy of
deployment "test-http-deployment.sar" was rolled back with the following failure
message:
{"WFLYCTL0080: Failed services" => {"test.deployment.trivial"
=> "org.jboss.msc.service.StartException in service test.deployment.trivial:
Failed to start service
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed
(permission \"(\"java.util.PropertyPermission\"
\"test.deployment.trivial.prop\" \"write\")\" in code source
\"(vfs:/content/test-http-deployment.sar <no signer certificates>)\" of
\"null\")"}}
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)