1 2 Previous Next 23 Replies Latest reply on Oct 5, 2012 1:08 PM by Cristian Raul Pineda

    BeanManager not accessible via JNDI

    marx3 Apprentice

      There is no possibility to access BeanManager via JNDI. I tried it on the newest JBoss 7.1.1. Is it a bug or a feature?



          String name = "java:comp/" + BeanManager.class.getSimpleName();
              InitialContext ic = new InitialContext();
              beanManager = (BeanManager) ic.lookup(name);


      javax.naming.NameNotFoundException: java:comp/BeanManager
        1 2 Previous Next