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

    How to use EJBInvokerServlet?

    sminaev

      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!!!