[jboss-jira] [JBoss JIRA] (WFLY-5170) WildFlySecurityManager throws exception by some tests with security manager

Ivo Studensky (JIRA) issues at jboss.org
Wed Apr 13 08:07:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivo Studensky resolved WFLY-5170.
---------------------------------
    Resolution: Done


The new org.wildfly.naming module is the default dependency of any EE deployment, thus there is no need for an explicit dependency on it in meta-inf.

> WildFlySecurityManager throws exception by some tests with security manager
> ---------------------------------------------------------------------------
>
>                 Key: WFLY-5170
>                 URL: https://issues.jboss.org/browse/WFLY-5170
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Marek Kopecký
>            Assignee: Ivo Studensky
>             Fix For: 10.0.0.CR5
>
>
> *Description of problem:*
> WildFlySecurityManager throws ExceptionInInitializerError exception by some tests with security manager. 
> *Affected tests found so far:*
> * org.jboss.as.test.integration.batch.deployment.JobControlTestCase#testStop
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20MessageSelectorTestCase#retestMessageSelectors
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20QueueTestCase#testEjb20MDB
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase#testEjb20TopicMDBs
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB21TestCase#testSimple21MDB
> * org.jboss.as.test.integration.ejb.pool.lifecycle.PooledEJBLifecycleTestCase#testMDB
> * org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase#shouldSeeDifferentValuesInDifferentTransactions
> * org.jboss.as.test.xts.wsat.client.ATTestCase#testWSATVoteReadOnly
> * org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase#testWSBACoordinatorSimple
> *Steps to Reproduce for MDB20QueueTestCase:*
> # ./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2  -DfailIfNoTests=false  -Dsecurity.manager -Dts.basic -Dts.noSmoke -Dtest=MDB20QueueTestCase
> *Actual results:*
> {noformat}
> testEjb20MDB(org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20QueueTestCase)  Time elapsed: 0.094 sec  <<< ERROR!
> java.lang.ExceptionInInitializerError: 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 java.lang.Integer.getInteger(Integer.java:1101)
> 	at java.lang.Integer.getInteger(Integer.java:1057)
> 	at org.jboss.as.test.shared.TimeoutUtil.<clinit>(TimeoutUtil.java:39)
> 	at org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20QueueTestCase.testEjb20MDB(MDB20QueueTestCase.java:110)
> {noformat}



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



More information about the jboss-jira mailing list