I have a gui client that runs just fine when executed from the same JVM. However, as a remote client, it gets a :
The error message is:
Cannot instantiate class: org.jboss.naming.HttpNamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.HttpNamingContextFactory]
I am at a loss since there is very few resources on this topic and I am new, as you may have guessed by now, to JBoss and EJBs. I thisn I have all the jar files on the client machine, and the getInitialContext function is:
Properties prop = new Properties();
return new InitialContext(prop);
My appologies to those that will be offened by this email being posted twice. SInce I did not get a reply from the beginners forum, I figured I should try my luck w/ this forum.
Appreciate all the help in advance.
Before running your application set classpath or include in classpath following jar file - %JBOSS_HOME%\client\jbossall-client.jar
this jar file consist - org.jboss.naming.HttpNamingContextFactory and org.jnp.interfaces.NamingContextFactory classes.
I'm sure your application must run.