]
Tomaz Cerar reassigned WFLY-9048:
---------------------------------
Assignee: (was: Tomaz Cerar)
MDB20TopicTestCase fails with security manager
----------------------------------------------
Key: WFLY-9048
URL:
https://issues.jboss.org/browse/WFLY-9048
Project: WildFly
Issue Type: Bug
Components: Test Suite
Affects Versions: 11.0.0.Beta1
Reporter: Ondrej Kotek
Labels: security-manager
MDB20TopicTestCase fails with security manager:
{noformat}
java.io.IOException: java.security.AccessControlException: WFSM000001: Permission check
failed (permission "("org.jboss.remoting3.security.RemotingPermission"
"createEndpoint")" in code source
"(vfs:/content/MDB20TopicTestCase.jar <no signer certificates>)" of
"ModuleClassLoader for Module "deployment.MDB20TopicTestCase.jar" from
Service Module Loader")
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:149)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75)
at
org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.getNumberOfAllSubscriptions(MDB20TopicTestCase.java:171)
...
{noformat}
There are missing permissions {{RemotingPermission("createEndpoint")}},
{{RemotingPermission("connect")}}, and possibly others, and missing dependency
on {{org.jboss.remoting3}}.