> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> Subject: RE: ContextListener executes twice
>
> Ok. Removed it. But if the conf/Catalina/[host]/[appName].xml
> overrides this, this should make no difference, right?
True, but there's no point in leaving invalid junk lying ar
> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> Subject: RE: ContextListener executes twice
>
> Does anyone know of a patch for this? I couldn't find one.
The bug does *not* cause the Listener to be executed twice, since the second
registration attempt is ignored; the message i
Original Message-
From: Fu-Tung Cheng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 12:13 PM
To: Tomcat Users List
Subject: RE: ContextListener executes twice
Might have to do with this:
Any declared listener will be reported as declared twice due to this bug
http
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 11:52 AM
To: Tomcat Users List
Subject: RE: ContextListener executes twice
> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> Subject: RE: ContextListener executes twice
>
> &
R <[EMAIL PROTECTED]>
> Subject: RE: ContextListener executes twice
> To: "Tomcat Users List"
> Date: Tuesday, July 22, 2008, 4:51 PM
> > From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> > Subject: RE: ContextListener executes twice
> >
> > > 1) Where i
> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> Subject: RE: ContextListener executes twice
>
> > 1) Where is your webapp deployed?
> On my dev machine - localhost. Is that what you mean?
No, what directory is it in? Is it a .war or an expanded webapp?
> > 2) Do you hav
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 11:12 AM
To: Tomcat Users List
Subject: RE: ContextListener executes twice
> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> Subject: RE: ContextListener executes twice
>
> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> 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 curren
al Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 10:49 AM
To: Tomcat Users List
Subject: RE: ContextListener executes twice
> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> Subject: ContextListener executes twice
>
> In my webapp I have a
> From: Riaz, Bob [mailto:[EMAIL PROTECTED]
> Subject: ContextListener executes twice
>
> In my webapp I have a ContextListener class in which I
> initialize a DB connection. I've noticed that when I run
> the project this code executes twice.
Is your app being deployed twi
My environment:
NetBeans 6.1
Tomcat 6.0
In my webapp I have a ContextListener class in which I initialize a DB
connection. I've noticed that when I run the project this code executes
twice.
Anyone know why this would happen?
Thanks.
Bob
11 matches
Mail list logo