Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
master
-
Minor
Description
Issue Summary
The Confluence database validation default value is false in Docker template https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server/src/master/config/confluence.cfg.xml.j2
This default setting seems to contradict Confluence public documentation:
- https://confluence.atlassian.com/doc/surviving-database-connection-closures-297665664.html
This validation query is enabled by default on new installations (from Confluence 6.5 and later)
This is reproducible on Data Center:
Steps to Reproduce
- Pull the docker image from https://hub.docker.com/r/atlassian/confluence-server/
- Setup Confluence server or 2 nodes cluster
- Check the confluence.cfg.xml file in the Confluence home directory
Expected Results
<property name="hibernate.c3p0.validate">{{ atl_db_validate | default('true') }}</property>
Actual Results
<property name="hibernate.c3p0.validate">{{ atl_db_validate | default('false') }}</property>
Workaround
Docker:
Set the variable "ATL_DB_VALIDATE=true"
kubernetes:
Add the variable to values.yaml
additionalEnvironmentVariables:
- name: ATL_DB_VALIDATE
value: true
Attachments
Issue Links
- is resolved by
-
CLIP-1510 Loading...