-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pradnya,
On 8/21/2009 9:23 AM, Pradnya Gawade wrote: > MailManagerImpl is a class I have written sendEmail code to. > When I deploy the war file of for web application to Tomcat 6 and try to > start the tomcat from command prompt, I get ConcurrentModificationException > during the tomcat method call > org.apache.catalina.loader.WebappClassLoader.clearReferences(). I have > pasted the exception stack trace at the end. What is the exact version of Tomcat you are using? > After searching on web, I found that the system property > "org.apache.catalina.loader. WebappClassLoader.ENABLE_CLEAR_REFERENCES" for > tomcat is set to true by default and which is why Tomcat attempts to null > out any static or final fields from loaded classes when a web application is > stopped Note that this occurs when the application is /stopping/, so if you're experiencing it on startup, it's probably because there is an error in your configuration somewhere causing Tomcat to fail to load your webapp in the first place. This problem definitely shouldn't be happening, but I think it's clear something is (separately) wrong with your application, too. I run Velocity 1.4 on Tomcat 5.5 with no problems whatsoever. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqO3g0ACgkQ9CaO5/Lv0PBMVgCeKr4DHP02YNiDTlGihYNOezWe DHEAn37tZKFY4CM12gK3yejIEz36lTOk =bME1 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org