0 Replies Latest reply on Apr 25, 2002 5:32 AM by mik1

    Troubles with JBoss 3.0 ......

    mik1

      Hi everybody,

      we were using JBoss2.4.4 and all worked perfectly.

      But since this week, we try JBoss 3.0 beta and we don't manage to lookup our EJB.

      This what we do :


      public static void main(String[] args) {
      try {
      Properties p = new Properties();
      p.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
      p.put("java.naming.provider.url","localhost");
      p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
      InitialContext jndiContext = new javax.naming.InitialContext(p);
      Object obj = jndiContext.lookup("ApplicationEJB");
      } catch (javax.naming.NamingException ne) {
      ne.printStackTrace();
      }
      }


      Can you tell us what have change since the version 2.4.4 ?