0 Replies Latest reply on Nov 25, 2003 2:09 AM by vitalyar

    InitialContext.lookup failed

    vitalyar

       

      "vitalyar" wrote:
      Hi all!
      I work with JBoss 3.2.2 + Tomcat 4.1.27 and have the following problem.

      I try to perform :
      InitialContext context = new InitialContext(Properties a_env);
      context .lookup("corba object name");
      and get NullPointerException.
      When I check in the debugger received context object i see what in the it binding list exist my "corba object name".
      This is the properties, that i use for InitialContext constructor:
      java.naming.factory.initial= com.sun.jndi.cosnaming.CNCtxFactory
      java.naming.provider.url=iiop://localhost:1900.

      This works fine in the JBoss2.2.4 + Tomcat3..

      May be this problem cause new ClassLoaders system?