[jboss-jira] [JBoss JIRA] (WFLY-9824) Getting javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB" in resourceadpater

shubhashish dash (JIRA) issues at jboss.org
Thu Feb 15 05:42:00 EST 2018


     [ https://issues.jboss.org/browse/WFLY-9824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

shubhashish dash updated WFLY-9824:
-----------------------------------
    Affects Version/s: 11.0.0.Beta1


> Getting javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB" in resourceadpater 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-9824
>                 URL: https://issues.jboss.org/browse/WFLY-9824
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 11.0.0.Beta1, 11.0.0.Final
>            Reporter: shubhashish dash
>            Priority: Critical
>         Attachments: EAR.ear, server.log
>
>
> I have deployed a EAR in wildfly 11.0.0 Final. The EAR has two sub deplyoment one is a .rar and  another is a  .war .  The both the deployment contains below code 
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> final InitialContext initialContext = new InitialContext();
> 			final ManagementHome mejb = (ManagementHome) initialContext.lookup("ejb/mgmt/MEJB");
> 			final ObjectName searchpattern = new ObjectName("*:j2eeType=J2EEServer,*");
> 			final Management management = mejb.create();
> 			final Set<ObjectName> set = management.queryNames(searchpattern, null);
> 			if (set != null && set.size() != 0) {
> 				final String s = management.getAttribute(set.iterator().next(), "serverVendor").toString();
> 				System.out.println(s);
> 			}
> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> But while running the application I am getting  "javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB""    error. This error only comes in case of rar and not in the war.
> I have attached the sample app with this issue.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list