Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

contextInitialized() called twice

Jean-Paul Le F�vre

2003-10-03



My Tomcat configuration defines 3 hosts : it is the same
machine known under 3 different names. Basically there is one context by host.

I have a listener for one of my context but this listener is
initialized twice. I do not understand why !

Actually the method contextInitialized() is called twice.
I have inserted a couple of println() in contextInitialized() and
contextDestroyed() to see what's going on but this does not give me any clue.



--
___________________________________________________________________

Jean-Paul Le F�vre * Mail : J-P.LeFevre@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.