Forums

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

The server.xml file is missing parameters needed by Jira to handle requests that contain special cha

hamzajrad
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 17, 2020

I have a problem to start the jira software after migrating jira from 7.9.0 to 8.11. 

Adding this code didn't resolve my issue.

<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
acceptCount="100" bindOnInit="false" disableUploadTimeout="true" maxHttpHeaderSize="8192"
protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
/>

 Error message:

JIRA-Bootstrap ERROR      [c.a.jira.startup.DefaultJiraLauncher] JIRA has failed to start because of the following errors: [(Event: Level = (EventLevel: error) , Key = (EventType: setup) , Desc = Tomcat is misconfigured , Exception = The server.xml file is missing parameters needed by Jira to handle requests that contain special characters.<br/>)]

 

2 answers

1 accepted

2 votes
Answer accepted
Italo Qualisoni [e-Core]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2020

Hi @hamzajrad ,

Your connector looks good to me, I think you might have others connectors in your server.xml and you will need yo apply this workaround to them as well

See step 2 of this KB https://confluence.atlassian.com/jirakb/jira-server-startup-fails-with-tomcat-misconfigured-error-958453799.html

  • Find all connectors your application is using. Just search for Connector in the file, or look at the example below. You're interested only in connectors whose protocol is set to HTTP and HTTPS (not AJP).
hamzajrad
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 20, 2020

Thanks a lot for your reply! I figured out later that I need to add it to all connectors.

0 votes
Sonja Athing
Contributor
August 6, 2021

Super helpful.  Glad I found this post !

Suggest an answer

Log in or Sign up to answer