This content has been marked as final.
Show 6 replies
-
1. Re: javax.naming.NoInitialContextException
divine_comedy Nov 12, 2003 10:34 AM (in response to sp4rk)Do you have jndi.properties in your classpath ?
-
2. Re: javax.naming.NoInitialContextException
sp4rk Nov 13, 2003 4:31 AM (in response to sp4rk)yes i have tried putting it in the environmental variables and on the comman line while trying the run the client, no joy.
-
3. Re: javax.naming.NoInitialContextException
divine_comedy Nov 13, 2003 3:19 PM (in response to sp4rk)Looking at this : Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
Do you have jnp-client.jar or something like that in your classpath ? -
4. Re: javax.naming.NoInitialContextException
sp4rk Nov 13, 2003 3:26 PM (in response to sp4rk)yeah i have *.jar in the classpath when i run the client, so i guess that includes jnp-client
-
5. Re: javax.naming.NoInitialContextException
jonlee Nov 13, 2003 5:12 PM (in response to sp4rk)Did you try adding this?
properties.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); -
6. Re: javax.naming.NoInitialContextException
aldomartinez Feb 19, 2004 3:48 PM (in response to sp4rk)could you fix the problem?.. i have the same problem :(