> From: Neven Cvetkovic [mailto:neven.cvetko...@gmail.com] 
> Subject: Re: Spring Scheduled Task is triggered multiple times

> On 3 Jul 2015 08:42, "Zoran Avtarovski" <zo...@sparecreative.com> wrote:
> >
> > I went through the logs in much greater detail today and I noticed when
> > the server starts I get multiple Spring loads in the log:
> >
> > org.apache.catalina.core.ApplicationContext.log Initializing Spring root
> > WebApplicationContext

> How are you loading your spring context? Where do you initialize it? Please
> share your web.xml, it is probably there.

I wonder if the OP erroneously placed his Spring config in Tomcat's 
conf/web.xml directory rather than correctly in the webapp's META-INF/web.xml.  
Putting it in the global location means it's loaded by each webapp rather than 
just the desired one.

 - 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

Reply via email to