On Thu, 31 Oct 2002, John Mattos wrote:

> Date: Thu, 31 Oct 2002 11:36:58 -0800 (PST)
> From: John Mattos <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Setting up an InitialContextFactory in a properties file...
>
>
> Hi,
>
> I'm porting my application from Websphere to Tomcat, and I have a websphere 
>properties file that contains the following line
>
> Dbase.websphere.initial.context.factory : 
>com.ibm.websphere.naming.WsnInitialContextFactory
>
> What is the equivalent class to use in Tomcat?
>

Tomcat's mechanism for creating initial contexts is built in, and does not
need to be configured (and, in fact, cannot be overridden).  Configuration
of resources that can be placed there is described in the docs:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html

There's also a separate document that goes into more detail about the
particular case of setting up data sources (4.1 only):

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

>
> John L. Mattos

Craig


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to