see below... On Mon, Jan 13, 2014 at 12:50 PM, Howard W. Smith, Jr. < [email protected]> wrote:
> Romain, do you remember that something like this was recently discussed on > this list. I think it was Jose' that had the same (or similar) issue. it > worked for him on linux but not on windows7. will have to search the list > for what finally resolved it for him. > > Re: JNDI Lookup in Windows On Mon, Dec 23, 2013 at 5:50 PM, José Luis Cetina <[email protected]> wrote: > I override the applicationName for the ear (application.xml) and the module > name for the ejb module (in ejb-jar.xml), and now with my own values (not > default) the ejb can be found!! :) > > > Then i use the java:global[/*application name*]/*module name*/*enterprise > bean name*[/*interface name*] > > > Then: > ctx.lookup("java:global/MyApplicationName/MyModuleName/ > UsersFacade!com.mypackage.ejbs.UsersFacadeLocal"); > > Done. > > I dont know why with didnt work with the default values. > > Thanks. >
