I'm running JBoss 2.2.1 on Windows 2000 without any problems. However, I have a question regarding JNDI naming services:
I'm running the Interest EJB that comes with JBoss to test its EJB functionality. The EJB compiled and deployed without problem. However, I can't get the client to run because of the following error:
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
[Root exception is java.lang.ClassNotFoundException:
Here is how my properties are setup:
Properties env = new Properties();
Obviously, I have the java.naming.factory stuff setup wrong. The above env entries are default entries that apply to JBoss, I think. So why don't they work? Do I have an alternative?
Thanks in advance,