[jboss-jira] [JBoss JIRA] (WFLY-13088) ejb: binding should not be listed if there is no Remote interface

Moulali Shikalwadi (Jira) issues at jboss.org
Thu Feb 13 02:50:00 EST 2020


Moulali Shikalwadi created WFLY-13088:
-----------------------------------------

             Summary: ejb: binding should not be listed if there is no Remote interface
                 Key: WFLY-13088
                 URL: https://issues.redhat.com/browse/WFLY-13088
             Project: WildFly
          Issue Type: Bug
          Components: EJB
            Reporter: Moulali Shikalwadi
            Assignee: Moulali Shikalwadi


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



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list