]
shubhashish dash updated WFLY-9824:
-----------------------------------
Priority: Blocker (was: Major)
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.Final
Reporter: shubhashish dash
Assignee: Jason Greene
Priority: Blocker
Attachments: EAR.ear, server.log
I have deployed a EAR in wildfly 11.0.0 Final. The EAR has sub deplyoment one .rar
another .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 incase of rar and not
the war.
I have attached the sample app with this issue.