[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
Wed Feb 14 02:34:01 EST 2018


shubhashish dash created WFLY-9824:
--------------------------------------

             Summary: 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


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.



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


More information about the jboss-jira mailing list