"WFSM000001: Permission check failed" in JBoss EAP 7
Issue
We're migrating our application to JBoss Enterprise Application Platform (EAP) 7, we see this file permission error on deployment:
2016-12-14 13:37:30,131 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 70) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./myapp: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./myapp: java.lang.ExceptionInInitializerError
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
... ...
Caused by: java.lang.ExceptionInInitializerError
... ...
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "log4j.configurationFile" "read")" in code source "(vfs:/content/myapp.war/WEB-INF/classes <no signer certificates>)" of "null")
... ...
Environment
- JBoss Enterprise Application Platform (EAP)
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
