1 Reply Latest reply on May 25, 2017 11:22 PM by jaikiran pai

    Wildfly 10 EJBFinder.findEJBObject does resolves to Proxy, but does not resolves to method when invoked, works fine in Wildfly 9.0.2

    Harit Himanshu Newbie

      I asked this question Migrating from AS7 to Wildfly10, Could not login, page spins and nothing happens  and ever since then trying to debug further. I realized that the login call actually makes to the code base and where is get stuck is on following lines

       

      secService = (SecurityService) EJBFinder.findEJBObject (SecurityService.JNDI_NAME);
      principal = secService.login(username, digestedPassword);

       

      Specifically on call to login method.

      When I debug, I tried to find what secService is and it says "Proxy for remote EJB StatelessEJBLocator for "myOrg/services/com.myOrg.security.sb.SecurityService", view is interface com.myOrg.security.sb.SecurityService, affinity is None"

       

      and when I execute login, the the call never completes.

       

      However, the entire workflow works fine with wildfly 9.0.2.

       

      I do not know much about Wildfly, but this is giving me indication that something related to bean resolution is different between version 9 and 10, and I do not know how to debug this further and how to fix this. Any help is greatly appreciated.

       

      Thank you