Skip to content

Commit

Permalink
Enable tag pooling for DA. Clean logs and tmp on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
lastnitescurry committed Jan 2, 2019
1 parent e2499ea commit eca1725
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions 003PlayFragement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
# - documentum_server_docbroker_systemd
# - documentum_server_repository
# - documentum_server_repository_systemd
# - documentum_server
- documentum_administrator_on_jms
- documentum_server_jms_systemd
9 changes: 8 additions & 1 deletion roles/documentum_administrator_on_jms/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
Deploy Documentum Administrator in internal JBoss. Seems like a waste to spin up another server just to run it.
Deploy Documentum Administrator in internal JBoss. Seems like a waste to spin up another server just to run it.

- http://192.168.100.20:9090/da
- http://192.168.100.20:9090/da/version.properties

wget http://documentum:9090/da/version.properties

http://192.168.100.20:9095/management
9 changes: 7 additions & 2 deletions roles/documentum_administrator_on_jms/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
template:
dest: "{{ documentum_administrator.dir }}/{{ documentum_administrator.app }}/version.txt"
src: version.txt
newline_sequence: '\r\n'
owner: "{{ documentum_server.user }}"
group: "{{ documentum_server.group }}"
mode: u=rw,g=r,o=r
register: presence3

- debug: var=presence3
Expand All @@ -58,7 +58,6 @@
remote_src: yes
owner: "{{ documentum_server.user }}"
group: "{{ documentum_server.group }}"
mode: u=rwx,g=rx,o=rx
when: presence3.changed
notify:
- da-war-dodeploy
Expand All @@ -79,6 +78,12 @@
notify:
- da-war-dodeploy

- name: Disable JSP tag pooling. Requires JMS restart
replace:
replace: "<jsp-config tag-pooling=\"false\"/>"
path: "{{ documentum_server.jms.dir }}/configuration/standalone.xml"
regexp: "<jsp-config/>"

# https://wherenow.org/ansible-handlers
- name: Flush Handlers to create dodeploy file
meta: flush_handlers

0 comments on commit eca1725

Please sign in to comment.