Re: namingexception caught when trying to instantiate InitialContect
Tuesday, February 4, 2003 05:59 AM
I had this kind of problem. Check if you have in your classpath these jar's : "fscontext.jar" and "providerutil.jar". They are specialized to manage a JNDI FileSystems provider. The file "fscontext.jar" contains the class "com.sun.jndi.fscontext.RefFSContextFactory".
If you don't have these files (probably) you can download them at this URL : http://java.sun.com/products/jndi/serviceproviders.html.
The JDK only includes 3 service providers : LDAP, CORBA and RMI.
Hope to help you