Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13718

[GSS](7.0.z) NameNotFoundException due to policyRegistration -- service jboss.naming.context.java.policyRegistration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.0.z.GA
    • Security
    • None
    • Hide

      In Wildfly, 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.

      Show
      In Wildfly, 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.

    Description

      "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"

      AS workaround, one could register a object factory that returns null:
      /subsystem=naming/binding=java\:\/policyRegistration:add(binding-type=object-factory, module=org.jboss.ironjacamar.impl, class=org.jboss.jca.core.naming.NoopJndiStrategy)

      Attachments

        Issue Links

          Activity

            People

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: