> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Configured JDBCRealm, but is not used > > No, you can have the resource at the context level. > > > The authentication is done by Tomcat, not the webapp, so > > it's Tomcat that has to have the database declaration > > available, not the webapp. > > You need to use localDataSource="true" so the Realm looks locally for > the DataSource.
That's the key - thanks for the reminder. I knew something had to be done for a context-specific <Realm>. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org