Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1461

LoggingPreferencesTestCase fails with security manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Test Suite
    • None

      org.jboss.as.test.manualmode.logging.LoggingPreferencesTestCase

      .../WildFly_core/testsuite/manualmode/mvn test -DtestLogToFile=false -Dtest=org.jboss.as.test.manualmode.logging.LoggingPreferencesTestCase -Dsecurity.manager

      Fails with:

      Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "jboss.bind.address" "read")" in code source "(vfs:/content/logging-test.jar <no signer certificates>)" of "null")
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPropertyAccess(WildFlySecurityManager.java:496)
      	at java.lang.System.getProperty(System.java:717)
      	at org.jboss.as.test.shared.TestSuiteEnvironment.getSystemProperty(TestSuiteEnvironment.java:50)
      	at org.jboss.as.test.shared.TestSuiteEnvironment.getHttpAddress(TestSuiteEnvironment.java:162)
      	at org.wildfly.test.undertow.UndertowServiceActivator.getAddress(UndertowServiceActivator.java:100)
      	at org.wildfly.test.undertow.UndertowServiceActivator.activate(UndertowServiceActivator.java:66)
      	at org.jboss.as.server.deployment.service.ServiceActivatorProcessor.deploy(ServiceActivatorProcessor.java:74)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
      	... 5 more
      

              jtymel Jan Tymel (Inactive)
              jtymel Jan Tymel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: