It means you don't have the jnp classes on your client classpath
(jnp-client.jar or jbossall-client.jar)

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Edgar Silva
> Sent: mercredi, 26. mars 2003 18:03
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Problems JNDI JBoss-3.0.6
> 
> 
> Hi Folks ...
> 
> I am doing tests with JBoss 3.0.6 and I am with problem
> in InitialContext:
> 
> Following the code which I am usign right now:
> 
>       java.util.Properties env = new java.util.Properties();
>       env.setProperty("java.naming.factory.initial",
> "org.jnp.interfaces.NamingContextFactory");
>       env.setProperty("java.naming.provider.url", 
> "jnp://argosx:1099");
>       env.setProperty("java.naming.factory.url.pkgs",
> "org.jboss.naming:org.jnp.interfaces");
> 
>       Context ctx = new InitialContext(env);
> 
> A cath a NamingException , with this messages:
> j
> avax.naming.NoInitialContextException: Cannot instantiate class:
> org.jnp.interfaces.NamingContextFactory.  Root exception is
> java.lang.ClassNotFoundException: 
> org.jnp.interfaces.NamingContextFactory
> 
>  at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
> 
> 
> Have something wrong, something was changed?
> 
> Thanks
> 
> Edgar
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to