Details
-
Bug
-
Resolution: Resolved Locally
-
Medium
-
None
-
2.6.1 Pro
-
Windows NT + XP, MYSQL, Tomcat4.1
-
2.06
-
Description
When a mail is generated by the default notification scheme it sits on the mail queue and is not sent. Every time the application tries to send the mail the following exception is logged.
2004-05-19 13:03:30,966 ERROR [atlassian.jira.mail.IssueMailQueueItem] Could not find template 'templates\email\text/issuecreated.vm' ensure it is in the classpath.
org.apache.velocity.exception.VelocityException: Could not find template 'templates\email\text/issuecreated.vm' ensure it is in the classpath.
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:88)
at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:155)
at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:106)
at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:107)
at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:55)
at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23)
at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50)
at org.quartz.core.JobRunShell.run(JobRunShell.java:147)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)
2004-05-19 13:03:30,966 ERROR [atlassian.mail.queue.MailQueueImpl] com.atlassian.mail.MailException: Could not find template 'templates\email\text/issuecreated.vm' ensure it is in the classpath.
I have checked in the war file and the files are there
Attachments
Issue Links
- is duplicated by
-
JRASERVER-3671 MailException: Could not find template
- Closed
-
JRASERVER-3995 Mail sending fails with packed webapp: Could not find template
- Closed
-
JRASERVER-3558 Velocity template generation failed
- Closed
- is incorporated by
-
JRASERVER-11739 FileSystem specific separator used for Velocity Template selection doesn't work with unexploded WARs on Windows
- Closed