Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Server in Docker - Tomcat config not generated

cyphern
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 3, 2020

Hey Everybody,

 

I am having some trouble setting up the confluence server via the official docker image. I am setting the environmental variables as described on Docker Hub, but I am getting the same error everytime:

 

Tomcat config is incorrect

The Tomcat server.xml has an incorrect configuration:

scheme should be '<recommended scheme>'
proxyName should be '<recommended proxyName>'
proxyPort should be '<recommended proxyPort>'

 

I am aware of the cause of the problem but i am not understanding why this is happening. I have set up jira before a lot of times and the server.xml is getting generated correctly. I have checked the server.xml file inside the container and there is no connector defined there, which is the root cause of the problem. From setting up jira, i am used to this getting auto-generated with the environmental variables.

Is this not the case with confluence?

What am i missing here?

I am setting the following env variables with the appropriate values:

ATL_PROXY_NAME, ATL_PROXY_PORT, ATL_TOMCAT_SCHEME

 

Thanks in advance and best regards

1 answer

0 votes
Dennis Ma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 23, 2021

I know this is a year late... but I found this to be the answer for my setup:

https://community.atlassian.com/t5/Confluence-questions/SOLVED-Docker-error-behind-NGINX/qaq-p/1353626

Editing the /opt/atlassian/etc/server.xml.j2 file

So that the scheme, proxyname and proxy port contains relevant information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events