voxpupuli / puppet-jira

Atlassian JIRA Puppet Module
https://forge.puppet.com/puppet/jira
Apache License 2.0
62 stars 144 forks source link

Server.xml for servicedesk #295

Closed GrayPockets closed 5 years ago

GrayPockets commented 5 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

Install jira with product 'servicedesk' and version '3.15.1'

What are you seeing

https://confluence.atlassian.com/jirakb/cant-start-jira-after-upgrade-to-jira-7-790629818.html

What behaviour did you expect instead

Jira installs/starts as expected

Output log

Server.xml has

Any additional information you'd like to impart

This is the part that doesn't seem to work:

<%- if scope.function_versioncmp([@version, '6.4.14']) <= 0 && @product =~ /^jira/ -%>
    <Listener className="org.apache.catalina.core.JasperListener"/>
<% else -%>
    <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<%- end -%>
Ben-John commented 5 years ago

We are also running into this issue. We are using product = 'servicedesk' and version = '4.1.0'. Yet the JasperListener class is still being inserted into server.xml

GrayPockets commented 5 years ago

This was fixed by #288, which looks like it was included in version 4.0.0

GrayPockets commented 5 years ago

This was a duplicate of #259