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:
Andrea Dell'Amico 2017-09-26 16:28:40 +02:00
parent cc6b17dee4
commit 59d9e8a18c
2 changed files with 5 additions and 2 deletions

View File

@ -14,6 +14,8 @@ dataminer_wps_group_id: org.gcube.data-analysis
dataminer_wps_extension: war dataminer_wps_extension: war
dataminer_wps_file: '{{ dataminer_wps_name }}-{{ dataminer_wps_version }}.{{ dataminer_wps_extension }}' 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 # Algorithms installer
dataminer_algorithms_upgrade: False dataminer_algorithms_upgrade: False
dataminer_algorithms_version: latest dataminer_algorithms_version: latest

View File

@ -108,8 +108,9 @@
template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555 template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555
with_items: '{{ tomcat_m_instances }}' with_items: '{{ tomcat_m_instances }}'
- name: Install the catalina additional configuration - name: Remove the catalina additional configuration
template: src={{ dataminer_wps_name }}.xml.j2 dest={{ item.instance_path }}/conf/Catalina/localhost/{{ dataminer_wps_name }}.xml #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 }}' with_items: '{{ tomcat_m_instances }}'
notify: Restart smartgears notify: Restart smartgears