Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13088

ejb: binding should not be listed if there is no Remote interface

    XMLWordPrintable

Details

    Description

      The `ejb:` binding should not be logged if the EJB does not implement the Remote interface.
      The `ejb:` is a message that gives the lookup path for an EJB with a remote interface, it should only be logged if the java:jboss/exported binding is logged as these are basically the same.

      EJBs that only implement a Local interface or EJBs with No interface view should not log the ejb:

      20:15:02,699 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-8) WFLYEJB0473: JNDI bindings for session bean named 'HelloBean' in deployment unit 'deployment "local.jar"' are as follows:

      java:global/local/HelloBean!test.HelloLocal
      java:app/local/HelloBean!test.HelloLocal
      java:module/HelloBean!test.HelloLocal
      ejb:/local/HelloBean!test.HelloLocal
      java:global/local/HelloBean
      java:app/local/HelloBean
      java:module/HelloBean
      20:15:53,450 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'HelloBean' in deployment unit 'deployment "no-interface.jar"' are as follows:

      java:global/no-interface/HelloBean!test.HelloBean
      java:app/no-interface/HelloBean!test.HelloBean
      java:module/HelloBean!test.HelloBean
      ejb:/no-interface/HelloBean!test.HelloBean
      java:global/no-interface/HelloBean
      java:app/no-interface/HelloBean
      java:module/HelloBean

      Attachments

        1. local.jar
          2 kB
        2. remote.jar
          8 kB

        Issue Links

          Activity

            People

              mshikalw Moulali Shikalwadi
              mshikalw Moulali Shikalwadi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 minutes
                  4m
                  Remaining:
                  Remaining Estimate - 4 minutes
                  4m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified