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