Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,083
Community Members
 
Community Events
165
Community Groups

Tomcat config is incorrect The Tomcat server.xml has an incorrect configuration:

I just upgraded from 7.13.0 to 7.13.7  and I get the error in the subject. I have made the necessary changes but it is almost as if the server is not reading the server.xml

 

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"
scheme="https" secure="true" proxyName="site.name" proxyPort="443"/>

nginx

location / {
client_max_body_size 100m;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8090;

 

1 answer

1 vote

Think of this from Tomcat's point of view.  It has a server.xml file that is a) xml, and b) contains stuff it can read.

From that point of view, it seems like you have just jammed in a pile of extra text with no explanation.

Your problem is not that it is not reading it, it is that your addition is unreadable.

Are  your referring to the nginx and below? if so I was only showing my nginx configuration

thats not actually in the xml

A, ok, 

What is the error you are getting?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

147 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you