Hi I can't get JBOSS 4.0 to read the JNDI.properties file
when I attempt to instantiate a new context I get an exception that I the class 
"org.jnp.interfaces.NamingContextFactory" can't be instantiated.  Does anyone 
know how to fix this problem?

-John 

try
{
Hashtable env = new Hashtable(11);
env.put(Context.INITIAL_CONTEXT_FACTORY,        
"org.jnp.interfaces.NamingContextFactory");
Context ctx = new InitialContext(env);
...
}

catch (NamingException e) {
            System.out.println("JNDI lookup failed : " + e);}



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871820#3871820

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871820


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to