0 Replies Latest reply on Sep 29, 2005 1:14 PM by Sergey Minaev

    How to use EJBInvokerServlet?

    Sergey Minaev Newbie

      Properties properties = new Properties();
      properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory");
      properties.put(Context.PROVIDER_URL, "http://localhost:8080/invoker/EJBInvokerServlet");
      try {
      InitialContext ctx = new InitialContext(properties);
      . . .
      Exception: javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.io.IOException: Invalid reply content seen: class org.jboss.invocation.InvocationException]
      -----------------
      Please, help!!!