javax.ejb.NoSuchEJBException: EJBCLIENT000079 with JBoss 7.1 and Eclipse
My test code is exactly same as given in the above post and the problem i am facing was also mentioned in the same post but do not see any confirmed solution.
please let me know if you have any solutions/ideas.
Properties jndiProperties = new Properties();
jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory");
jndiProperties.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
jndiProperties.put(Context.PROVIDER_URL, "http-remoting://127.0.0.1:8080/"); // double-check IP and PORT of your app server; you may need to use remote+http or remote+https
jndiProperties.put("jboss.naming.client.ejb.context", true);
jndiProperties.put("org.jboss.ejb.client.scoped.context", "true");
Context context = new InitialContext(jndiProperties);
HelloWorld bean=(HelloWorld)context.lookup("/HellowWorldSessionBean/HelloWorldBean!com.sample.ejb.HelloWorld");