Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15012

Can't create a support request from JIRA in Weblogic on Windows and from Tomcat with enclosed JIRA WAR file: Could not find template 'templates\email\text/jirasupportrequest.vm'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.13
    • 3.12.2
    • None
    • Customer: JIRA 3.12.2 Enterprise in Weblogic 9.2 MP0 (ie. no service pack) on Windows 2003
      Me: JIRA 3.12.2 Enterprise in Weblogic 9.2 MP0 on Windows XP

    Description

      Trying to create a support request (Administration > Support Request) from within a JIRA instance running in Weblogic 9.2 on Windows fails with a 500 error and the following stack trace:

      org.apache.velocity.exception.VelocityException: Could not find template 'templates\email\text/jirasupportrequest.vm' 
      ensure it is in the classpath.
              at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:85)
              at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:60)
              at com.atlassian.jira.web.action.admin.JiraSupportRequest.doExecute(JiraSupportRequest.java:207)
              at webwork.action.ActionSupport.execute(ActionSupport.java:153)
              at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
              at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
              at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
              at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
              at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
              at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
              at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
              at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
              at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
              at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      

      Note that there are both forward and backward slashes in the path to the template: 'templates\email\text/jirasupportrequest.vm'.

      The error occurs both when JIRA is deployed as a WAR file and when it is deployed as an expanded WAR directory.

      The error does not occur when for JIRA running in Weblogic 9.2 MP0 on Linux. Creating a support instance works fine in that environment.

      I have not tested on other versions of Weblogic, nor on service packs of Weblogic 9.2. Let me know if you need me to.

      Attachments

        Activity

          People

            dushan@atlassian.com Dushan Hanuska [Atlassian]
            idaniel Ian Daniel [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h