tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Gooding <>
Subject Re: Question on Realm Configuration
Date Sat, 26 Feb 2011 20:33:55 GMT
Ah, thank you Konstantin and Charles, you pointed out something that I
didn't have to worry about on a Win based machine.  The
conf/Catalina/localhost/myappname.xml file was not in sync with the
webapps/myapp/META-INF/context.xml file.  As soon as I updated the file in
the /conf/Catalina... directory, and logged in, the error seemed to have
gone by the wayside.  Just a few things to get right et, and I should be
good to go.  Thanks again guys, and sorry to bother everyone on a Saturday.

Warmest Regards,


On Sat, Feb 26, 2011 at 2:28 PM, Caldarale, Charles R <> wrote:

> > From: Josh Gooding []
> > Subject: Question on Realm Configuration
> > I'm running 6.0.29 and I have setup a realm in my context.xml
> > file as follows:
> Exactly which context.xml file?  Where is it located?  If it's in the
> webapp's META-INF/context.xml file, and you're not redeploying the webapp
> properly, it could be getting overridden by a copy of it in
> conf/Catalina/[host]/[appName].xml, which might not be up to date.
> If instead you've updated conf/context.xml, you've made an error.  Put the
> <Context> element where it belongs, not in the global location.
> > when I input my credentials and check the log, it says it
> > cannot find password for user JGooding.
> Show us the exact log entries, please.
> > If I remember right, the realm doesn't have to be defined in
> > the server.xml if it is defined in the context.xml.
> Correct; and you've got the localDataSource set, which is what's usually
> missed.
>  - Chuck
> 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:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message