It can be either.  The recommended way, 5.0 and later, is in the war's
context.xml.  If you have a global resource, that is defined in server.xml,
and referenced from each context wishing to make use of it.

Tim


-----Original Message-----
From: Alex Jalali [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 5:39 PM
To: Tomcat Users List
Subject: Re: DataSourceRealm Configuration Question (5.5.15)

It can be in the context. I have mine within the <context... inside
server.xml but I guess if you have your context in context.xml thats fine
too.

>
> Can a JNDI DataSourceRealm be defined in my web app's context.xml file,
> or must it be in the container's server.xml file?
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to