One other question, Chuck. One of the conflicting info is whether to put the DataSource Realm declaration inside a context element in META-INF/context.xml versus putting it in a context element inside a host element in server.xml. I get the impression that the META-INF directory is more for if you're packaging your webapp as a WAR. The other thing that's causing me some confusion is if you're putting your Realm declaration in server.xml should you comment out the default UserDatabase Realm that's above it ? (I know the Tomcat 6 docs say it's better not to put it in server.xml because that makes changing it more invasive, but right now I'm just trying to get it working - I can changs that later) Thanks
On Sat, Sep 5, 2009 at 4:02 PM, Adam Posner <cuco2...@gmail.com> wrote: > Ahh, that makes sense. I need to do some major mods. > Thanks, Chuck. ! > > > On Sat, Sep 5, 2009 at 10:28 AM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >> > From: Mark Thomas [mailto:ma...@apache.org] >> > Subject: Re: Realm configuration issues >> > >> > > Any ideas why I might be getting this ? >> > >> > The 404 suggests the auth-error.html does not exist. Where is the file >> > located? >> >> Since the <security-constraint> specifies a <url-pattern> of /*, doesn't >> that preclude delivering the error page, since it will also be protected? >> The <url-pattern> will also inhibit access to style sheets or any other >> resources the login page needs. >> >> - 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 >> >> >