You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tim Clotworthy <tc...@bka-inc.com> on 2003/05/19 19:03:25 UTC

debugging tag info

Hello,
I have created a context.xml file on my webapps directory. It has two
elements: the context element, and a realm element. I cannot tell from
any log file, whether Tomcat successfully identified the context.xml
file, loaded its characteristics, and had any issue(s) with it. I have
the debug level on the realm node set to 1, but no info related to this
realm seems to be showing up in the log files. My log files are the
default ones in the CATALINA_HOME/logs directory.

Can anyone tell me why I am not seeing any reference to the realm tag
(or the context tag for that matter), and what I might do to shed light
on whether tomcat is using the file?


Thanks in advance.

Re: debugging tag info

Posted by Bill Barker <wb...@wilshire.com>.
Assuming that your Realm implements Lifecycle (i.e. extends RealmBase), then
it should be easy to just put a logging statement in it's "start" method.

"Tim Clotworthy" <tc...@bka-inc.com> wrote in message
news:00ab01c31e28$99e01330$3401a8c0@sleipnir...
> Hello,
> I have created a context.xml file on my webapps directory. It has two
> elements: the context element, and a realm element. I cannot tell from
> any log file, whether Tomcat successfully identified the context.xml
> file, loaded its characteristics, and had any issue(s) with it. I have
> the debug level on the realm node set to 1, but no info related to this
> realm seems to be showing up in the log files. My log files are the
> default ones in the CATALINA_HOME/logs directory.
>
> Can anyone tell me why I am not seeing any reference to the realm tag
> (or the context tag for that matter), and what I might do to shed light
> on whether tomcat is using the file?
>
>
> Thanks in advance.
>




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