Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8282

StartSuspendedTestCase fails with security manager in WF core

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR12
    • 7.1.0.DR10
    • Test Suite
    • Not Required

      org.jboss.as.test.manualmode.suspend.StartSuspendedTestCase#testStartSuspended
      cd testsuite/manualmode/
      mvn test -Dtest=StartSuspendedTestCase -DtestLogToFile=false -Dsecurity.manager

      10:44:10,392 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.test-undertow-server: org.jboss.msc.service.StartException in service jboss.test-undertow-server: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1919)
      	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.lang.RuntimeException: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "createXnioWorker")" in code source "(vfs:/content/web-suspend.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.web-suspend.jar:main" from Service Module Loader")
      	at io.undertow.Undertow.start(Undertow.java:206)
      	at org.wildfly.test.suspendresumeendpoint.TestUndertowService.start(TestUndertowService.java:94)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1963)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1896)
      	... 3 more
      Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "createXnioWorker")" in code source "(vfs:/content/web-suspend.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.web-suspend.jar:main" 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 org.xnio.XnioWorker.<init>(XnioWorker.java:108)
      	at org.xnio.nio.NioXnioWorker.<init>(NioXnioWorker.java:83)
      	at org.xnio.nio.NioXnio.createWorker(NioXnio.java:214)
      	at org.xnio.Xnio.createWorker(Xnio.java:466)
      	at org.xnio.Xnio.createWorker(Xnio.java:453)
      	at io.undertow.Undertow.start(Undertow.java:117)
      	... 6 more
      

              rhn-support-iweiss Ingo Weiss
              jtymel Jan Tymel (Inactive)
              Jan Tymel Jan Tymel (Inactive)
              Jan Tymel Jan Tymel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: