But, I am in the server. And before no was necessary to configure ntohing, cause I am running the server in same machine of execution of client.
Cab be troubles with JAVA_HOME, JBOSS_HOME or other enviroment variable? thanks again Edgar ----- Original Message ----- From: "Nathan Hoover" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 2:19 PM Subject: Re: [JBoss-user] Problems JNDI JBoss-3.0.6 > If this is in a client application, I suspect it's because you need > %JBOSS_HOME%\client\jnp-client.jar on your classpath. > > N > > At 12:03 PM 3/26/2003, you wrote: > >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 > ------------------------------------------------------- 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