You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by garrett smith <ja...@yahoo.com> on 2002/09/04 06:03:31 UTC

Get an InitialContext w/o using a in server.xml

I want to set up connection pooling as described in the Tomcat how-to. Is it
possible to get an InitialContext without using server.xml? I can use web.xml
or .properties files and I can put jar files in my WEB-INF/lib directory. I am
using a shared instance of Tomcat with Manager. AFIK, there's no way for me to
add a Context through manager. 

Regardless of that, it should be possible, and I think that it is possible to
get an initial context w/o using a Context in server.xml.

I am willing to study whatever material you may give me. Please, don't mislead
me with unrelated info and advice. Which class should I use for an
InitialContextFactory?

Here's what I have:

env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");

But that does not work properly. Instead of
"com.sun.jndi.fscontext.RefFSContextFactory", I should use
_______________________,
which can be found at ___________________________. Additional info, incl
resources, jarfiles, and/or javadoc can be found ___________________.

It sounds silly the way I asked, but you should know exactly what I am looking
for.


Garrett

=====
http://dhtmlkitchen.com/

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>