• Post Reply Bookmark Topic Watch Topic
  • New Topic

What classes do i need to download for JNDI File System context?  RSS feed

 
Andrei Mura
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have instaled in my machine a jdk v1.6.
From tutorials and sun's documentation i have read that versons of jdk recently than v3 have classes for Ldap, File System, and something else contexts.

That's the problem:



when i run that. it cause an error:

Caused by: java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory

Can someone help me?
Thank advance!
 
Devaka Cooray
Marshal
Posts: 5516
687
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrei Mura wrote:From tutorials and sun's documentation i have read that versons of jdk recently than v3 have classes for Ldap, File System, and something else contexts.

Can you quote it?
I think you should explicitly include the fscontext library to the classpath.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Several providers are being shipped with the JRE, but not the file system provider AFAICT; see http://java.sun.com/products/jndi/downloads/index.html
 
Rebecca Hopper
Ranch Hand
Posts: 38
Eclipse IDE jQuery Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!!!

I have been looking for a link to download the providerutil and fscontext jars on Oracle's site, and could not find it.

None of the Sun links work anymore, of course.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!