Hi all,
I will to make a simple client for JBoss .
I am working with VAJ 3.5 Enterprice.
My code is:
Properties env = new Properties();
env.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
env.setProperty("java.naming.provider.url", "192.168.1.19:1099");
env.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
try
{
InitialContext jndiContext = new InitialContext(env);
after this the client crash with:
Clas not found javax.naming.InitialContext.
Where is the problem?
Thanks in advance.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user