Martin Choma created WFLY-11337:
-----------------------------------
Summary: Hibernate tests failures with security manager
Key: WFLY-11337
URL:
https://issues.jboss.org/browse/WFLY-11337
Project: WildFly
Issue Type: Bug
Components: Security Manager, Test Suite
Affects Versions: 14.0.0.Final
Reporter: Martin Choma
Assignee: Stefan Guilhen
As a limitation documented by JBEAP-15368 there is lot of tests (approximately 75) using
hibernate that are failing with security manager. E.g in package
* org.jboss.as.test.compat.jpa.hibernate.transformer
* org.jboss.as.test.integration.hibernate
* org.jboss.as.test.integration.hibernate.envers
This failure contains exception like this
{noformat}
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed
(permission "("java.io.FilePermission"
"/store/repository/org/hibernate/hibernate-envers/5.3.7.Final/hibernate-envers-5.3.7.Final.jar"
"read")" in code source
"(vfs:/content/hibernate4naturalid_test.ear/beans.jar <no signer
certificates>)" of "ModuleClassLoader for Module
"deployment.hibernate4naturalid_test.ear.beans.jar" from Service Module
Loader")
{noformat}
Is there way to workaround this limitation in testsuite?
[1]
https://ci.wildfly.org/viewLog.html?buildId=128138&buildTypeId=WF_Mas...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)