dataminer: do not install the catalina config anymore. Add some java options as requested in https://support.d4science.org/issues/9797
This commit is contained in:
parent
cc6b17dee4
commit
59d9e8a18c
|
@ -14,6 +14,8 @@ dataminer_wps_group_id: org.gcube.data-analysis
|
|||
dataminer_wps_extension: war
|
||||
dataminer_wps_file: '{{ dataminer_wps_name }}-{{ dataminer_wps_version }}.{{ dataminer_wps_extension }}'
|
||||
|
||||
# Add these to the tomcat_m_other_java_opts variable
|
||||
dataminer_wps__java_opts: '-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl'
|
||||
# Algorithms installer
|
||||
dataminer_algorithms_upgrade: False
|
||||
dataminer_algorithms_version: latest
|
||||
|
|
|
@ -108,8 +108,9 @@
|
|||
template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555
|
||||
with_items: '{{ tomcat_m_instances }}'
|
||||
|
||||
- name: Install the catalina additional configuration
|
||||
template: src={{ dataminer_wps_name }}.xml.j2 dest={{ item.instance_path }}/conf/Catalina/localhost/{{ dataminer_wps_name }}.xml
|
||||
- name: Remove the catalina additional configuration
|
||||
#template: src={{ dataminer_wps_name }}.xml.j2 dest={{ item.instance_path }}/conf/Catalina/localhost/{{ dataminer_wps_name }}.xml
|
||||
file: dest={{ item.instance_path }}/conf/Catalina/localhost/{{ dataminer_wps_name }}.xml state=absent
|
||||
with_items: '{{ tomcat_m_instances }}'
|
||||
notify: Restart smartgears
|
||||
|
||||
|
|
Loading…
Reference in New Issue