1 Reply Latest reply on Feb 5, 2003 10:01 AM by juhalindfors

    How to call EJB deployed on remote machine

    srshende

      Hello,
      I am facing problem while calling EJB deployed on jboss on another machine from client running on different machine. It it gives me following exception. Please let m know what are the changes I should make and where. Below is the snippet I used but I get error below.

      Hashtable env = new Hashtable();
      env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
      env.put(Context.PROVIDER_URL, "jnp://xxx.xxx.xxx.xxx:1099");
      env.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
      InitialContext jndiContext = new InitialContext(env);

      EXCEPTION::::

      Root exception is java.lang.ClassNotFoundException:no security manager: RMI class loader disabled

      Awaiting your reply.

      Regds,
      Sanjay