ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
Hi, I am using the Velocity Engine for the first time and need some help asap on the following issue. Thanks in advance. I have a web application which uses Spring framework. To send the template based emails through application, I have added following to my Spring context xml file: bean

ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
Hi, I am using the Velocity Engine for the first time and need some help on the following issue. Thanks in advance. I have a web application which uses Spring framework. To send the template based emails through application, I have added following to my Spring context xml file: bean

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Christopher Schultz
-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

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
Hi Christopher, Thanks for the reply. I am using Tomcat6 and Velocity 1.6 As I mentioned I know this problem is due to the mapping I added to Spring context xml for Velocity engine bean,  SimpleMailMessage, JavaMailSender because if I take it out from the xml, web application gets initialized in

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pradnya, On 8/21/2009 2:57 PM, Pradnya Gawade wrote: I have no clue what is causing this problem. You mentioned that disabling the CLEAR_REFERENCES caused more problems. What were those problems? - -chris -BEGIN PGP SIGNATURE- Version:

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
It threw IllegalStateException for some code of tomcat. Also the error message said that the web application is already stopped, meaning it could not deploy the web application. I do not have that exception log with me presently as I am trying out some thing different with it. But I will post the