[jboss-jira] [JBoss JIRA] (WFLY-6190) SingletonReentrantTestCase fails with security manager enabled

Eduardo Silva (JIRA) issues at jboss.org
Sun Mar 6 10:01:05 EST 2016


    [ https://issues.jboss.org/browse/WFLY-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172462#comment-13172462 ] 

Eduardo Silva commented on WFLY-6190:
-------------------------------------

Build with the commit: 0ef8325637665d48f8bdffcf2ac4f7f8cb8b9b3f
Date:   Thu Mar 3 16:35:49 2016 -0600

Started the application server with standalone.sh and running:

./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dsecurity.manager -Dts.basic -Dts.noSmoke -Dtest=org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.197 sec - in org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] WildFly Test Suite: Aggregator ..................... SUCCESS [ 14.161 s]
[INFO] WildFly Test Suite: Integration .................... SUCCESS [  0.968 s]
[INFO] WildFly Test Suite: Integration - WS ............... SUCCESS [  0.836 s]
[INFO] WildFly Test Suite: Integration - Basic ............ SUCCESS [ 12.346 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS


> SingletonReentrantTestCase fails with security manager enabled
> --------------------------------------------------------------
>
>                 Key: WFLY-6190
>                 URL: https://issues.jboss.org/browse/WFLY-6190
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Hynek Švábek
>
> *org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase#testReadCall*
> *org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase#testWriteCall*
> {{./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dsecurity.manager -Dts.basic -Dts.noSmoke -Dtest=org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase}} 
> fails with
> {code}
> java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "modifyThread")" in code source "(vfs:/content/reentrant-test.jar <no signer certificates>)" of "null")
> 	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
> 	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> 	at java.util.concurrent.ThreadPoolExecutor.checkShutdownAccess(ThreadPoolExecutor.java:735)
> 	at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:1387)
> 	at java.util.concurrent.Executors$DelegatedExecutorService.shutdown(Executors.java:669)
> 	at org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase.testWriteCall(SingletonReentrantTestCase.java:90)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list