>>>>> "Celeste" == Celeste Haseltine <Haseltine> writes:
Celeste> David,
Celeste> I think I am a little confused. Someone else on this list suggested that
I
Celeste> go back to my JDBC driver vendor, and/or my JSP/Servlet vendor and find
out
Celeste> what jar file their implementation of JNDI was located in, and to get
advice
Celeste> on how to set properties and obtain a new Initial Context. I did get a
Celeste> reply from my JDBC vendor, who indicated that their sample file used the
Celeste> com.sun.jndi.fscontext.RefFSContextFactory by default, since this was
Celeste> included in the Sun JDK. Since I could not get either the Java class or
my
Celeste> Servlet file working, I suspect that I don't have something set up on my
dev
Celeste> box properly, perhaps the fscontext jar file, as you suggested. But my
Celeste> intent is to actually use JNDI in a servlet. My driver vendor suggested
Celeste> that if I wanted to use JNDI inside my JSP/servlet server environment, I
Celeste> would need to contact the vendor of my servlet server (Allaire in this
case)
Celeste> and find out what jar file and API they had for setting properties and
Celeste> creating a new Initial Context. I am still waiting to here back from
Celeste> Allaire. Am I on the right track here, or am I completely missing
Celeste> something???
As I said, if you want to use the "RefFSContextFactory" class in the sample
file system JNDI provider, you have to have it. It's in the "fscontext.jar"
file you can get from
<http://java.sun.com/products/jndi/serviceproviders.html>. It's NOT in the
JDK.
Just in case you're misunderstanding something, this class you're looking for
implements a sample JNDI provider for querying files on the local file system.
It's not something you would normally use in an application (unless you really
needed that capability).
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
Nrzf%lzjw(Ƞ%#51$Ţb-bڽ.&+anrIH
LDDI0DJ^,rR?^jmj!ڲܢo㲘mXmڲܢo鮇nr?}ia
0z^?㲟㲗ڪ;)i08.(ګucm#'^&