1 2 3 Previous Next 31 Replies Latest reply on Oct 6, 2011 7:51 AM by notify Go to original post
      • 30. Re: EJB 3.1 Global JNDI names

        As this is used in testing, I did this


                        Stateless stateless= sessionType.getAnnotation(Stateless.class);

                        String moduleName=sessionType.getProtectionDomain().getCodeSource().getLocation().getPath();



                        String name=moduleName+"/"+stateless.name()+"!no-interface";


        and use name for the jndi lookup


        it is tied into global jndi with [module name]/[EJB Name]!no-interface

        • 31. Re: EJB 3.1 Global JNDI names

          I've just upgraded to JBoss 6.1.0 AS Final and trying to do a global lookup from a remote standalone application.


          I am still getting the same exceptions as reported previously "global not bound".


          Is this still an issue?

          1 2 3 Previous Next