1 Reply Latest reply on Jul 6, 2004 5:10 PM by edkocol

    JNDI binding

    edkocol

      <<<< Root Cause Exception >>>>> javax.naming.NameNotFoundException: RoleManager not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

      From the code:
      com.evermind.security.RoleManager
      manager = (com.evermind.security.RoleManager)new InitialContext().lookup("java:comp/RoleManager");

      I have also tried ... InitialContext().lookup("java:comp/env/RoleManager");
      and I get the ame error.

      The jar file that contains the com.evermind.security.RoleManager class is in the <jboss_home>/deploy/default/lib directory when I start JBoss.

      What else do I need to do to bind this Class?

      TIA for you kind an courteous help,
      Ed.