-
Task
-
Resolution: Done
-
Major
-
14.0.0.Final, 15.0.0.Final
org.jboss.as.test.clustering.cluster.cdi (1) CdiFailoverTestCase.test org.jboss.as.test.clustering.cluster.jsf (2) JSFFailoverTestCase.testGracefulSimpleFailover JSFFailoverTestCase.testGracefulUndeployFailover org.jboss.as.test.clustering.cluster.provider (1) ServiceProviderRegistrationTestCase.test org.jboss.as.test.clustering.cluster.singleton (4) SingletonBackupServiceTestCase.testSingletonService SingletonDeploymentDescriptorTestCase.test SingletonDeploymentJBossAllTestCase.test SingletonPartitionTestCase.testSingletonService org.jboss.as.test.clustering.cluster.xsite (1) XSiteSimpleTestCase.test
Seems to me doPrivileged block is missing in server code somewhere. There are errors like
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect")" in code source "(vfs:/content/CdiFailoverTestCase.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.CdiFailoverTestCase.war" from Service Module Loader") at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:294) at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:191) at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1564) at org.wildfly.security.manager.WildFlySecurityManager.checkPackageAccess(WildFlySecurityManager.java:490) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:318) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.jboss.modules.JDKSpecific.getSystemClass(JDKSpecific.java:180) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:395) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) at org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:310) Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.lang.RuntimePermission\" \"accessDeclaredMembers\")\" in code source \"(vfs:/content/XSiteSimpleTestCase.war/WEB-INF/classes <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.XSiteSimpleTestCase.war\" from Service Module Loader\")"}}}} Caused by: java.lang.ExceptionInInitializerError at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1274)
[1] https://ci.wildfly.org/viewLog.html?buildId=128138&buildTypeId=WF_MasterSecurityManager
- blocks
-
JBEAP-971 Fix issues in tests with Security Manager
- Closed
- is blocked by
-
WFLY-11539 Upgrade Infinispan to 9.4.6.Final
- Closed
- is caused by
-
WFLY-11531 SimpleMarshallingContext#createMarshaller should run in a privileged block
- Closed
- relates to
-
WFLY-11500 Some web clustering tests fail with security manager
- Closed