2 Replies Latest reply on Jul 28, 2013 5:47 AM by smith.gerry Branched from an earlier discussion.

    PBOX000293: Exception caught: javax.naming.NameNotFoundException: policyRegistration

    smith.gerry

      I am also getting this exception:

      PBOX000293: Exception caught: javax.naming.NameNotFoundException: policyRegistration

      The log level is DEBUG, so perhaps a lot of people get it but haven't seen it.

      I saw another post that it's caused by not having the policy security domains in the config file, but I do have those domains.  (https://community.jboss.org/message/775155#775155)

      The exception is reported before every jndi call.

      Although I'm trying to debug a problem [since upgrading to 7.2, I seem to have to log in twice through the web tier to have a principal in the ejb tier], this exception doesn't seem to stop anything from working, but when I have logging set to trace it slows processes down and fills the log with chaff that makes debugging difficult (and now in 7.2 you need DEBUG messages to get any info on why authorization fails).

      Any ideas what could cause this exception?

      Thanks,

      Gerry