"NameNotFoundException due to policyRegistration – service jboss.naming.context.java.policyRegistration" is recorded in server.log during quickstart example run by changing log level: <logger category="org.jboss.as.security"> <level name="TRACE"/> </logger> <logger category="org.jboss.security"> <level name="TRACE"/> </logger> See detailed description in community discussion #907134 I choose Jira component picketbox since the exception is titled as "PBOX000293: Exception caught: javax.naming.NameNotFoundException" To reproduce: run ejb-security example with trace log level for "org.jboss.secuirty" and "org.jboss.as.security". Then login from page: localhost:8080/wildfly-ejb-security with username and password. The result is successful, however, you will see the exception in server.log file.
This situation causes a big performance problem since there is a JNDI lookup performed that is not needed.
Regression tests passed Verified with EAP 6.4.20.CP.CR1