7 Replies Latest reply on Jun 2, 2015 2:22 PM by D P

    Batch job is not finding EJB by JNDI name

    D P Apprentice

      Application is finding EJBs using below naming convention.

      context.lookup("ejb:" + appName + "/" + moduleName + "/" + distinctName + "/" + beanName + "!" + homeInterfaceName);

       

      While running batch job I am getting error : Can not find EJB by JNDI name:

       

      Application is running on wildfly 8.0.2 server and trying to run batch job.

       

      Any suggestions.

       

      Thanks,