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

[GSS](7.2.z) ejb: binding should not be listed if there is no Remote interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.2.6.GA
    • EJB
    • None

      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
      

              mshikalw Moulali Shikalwadi
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: