1 Reply Latest reply on Aug 29, 2002 5:46 PM by tnist

    Remote JNDI lookup

      I am working through examples in a J2EE book.

      I have a remote client that binds several names to the JNDI service on my JBoss 3.0 server, It works great.

      But when I try to execute a remote client that list all of the bound entries I get (no security manager: RMI class loader disabled).

      How in a remote client do I handle the security?

        • 1. Re: Remote JNDI lookup
          tnist

          I believe that you need some client jars from the directory jboss/client if you have not already included them. In addition, I had to set the following property:

          props.put("java.naming.rmi.secruity.manager", "yes");

          InitialContext ctx = new InitialContext(props);
          ..

          Hope that helps.

          Regards,

          Todd