When you set the java_opts attribute, the template adds additional jvm options. When you start the server, it fails because the setenv.sh file is incorrectly formatted.
setenv.sh: line 55: unexpected EOF while looking for matching"'`
When you look at the setenv.sh.erb template, you can see that it's missing the " character at the end.
<% if node['confluence']['jvm']['java_opts'] != '' -%>
JAVA_OPTS="<%= node['confluence']['jvm']['java_opts']%>
export JAVA_OPTS
<% end -%>
When you set the java_opts attribute, the template adds additional jvm options. When you start the server, it fails because the setenv.sh file is incorrectly formatted.
setenv.sh: line 55: unexpected EOF while looking for matching
"'`When you look at the setenv.sh.erb template, you can see that it's missing the
"
character at the end.https://github.com/parallels-cookbooks/confluence/blob/master/templates/default/setenv.sh.erb#L53