wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes jndi looup error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "jndi looup error" Watch "jndi looup error" New topic
Author

jndi looup error

James Foster
Greenhorn

Joined: Nov 04, 2003
Posts: 10
I am using j2sdk 1.4 and tried the simple Lookup example in the jndi tutorial. I get following. I even put jndi.jar in jre\lib\ext. But no use. Any hints.
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

You dont need to add jndi.jar file to lib\ext dir. Read this
http://java.sun.com/products/jndi/tutorial/getStarted/faq/runtime.html
[ November 20, 2003: Message edited by: Pradeep Bhat ]

Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jndi looup error
 
Similar Threads
what is the Need of MyAdmin.config when integrating MQ with BEA WebLogic server
Run JNDI example problem
Naming Problem
Context Factory - Urgent help please
JNDI