tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: ContextListener executes twice
Date Tue, 22 Jul 2008 16:12:24 GMT
> From: Riaz, Bob [mailto:Bob.Riaz@Pearson.com]
> Subject: RE: ContextListener executes twice

> INFO: The listener "MyContextListener" is
> already configured for this context. The
> duplicate definition has been ignored.

That's a purely cosmetic error in the current 6.0 version; fixed in 6.0.17, whenever it gets
released.

> Default settings from context.xml:

That looks like the global <Context> settings, not the one for your webapp.

1) Where is your webapp deployed?

2) Do you have a META-INF/context.xml file inside your webapp?  If so, what's in it?

3) Do you have a conf/Catalina/[host]/[appName].xml file?  If so, what's in it?

4) What is the appBase setting for each of your <Host> elements in conf/server.xml?

5) Do you have any <Context> elements in server.xml?  (You shouldn't.)

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message