• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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: 7395
1413
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.
 
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic