• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 7134
1360
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 38
jQuery Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic