Element type Connector must be followed by either attribute specifications
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
After making changes to server.xml
your Atlassian application fails to start and the following message appears in catalina.out
:
06-Jul-2016 09:44:47.930 WARNING [main] org.apache.catalina.startup.Catalina.load Catalina.start using /var/atlassian/application-data/bitbucket/shared/server.xml: Element type "Connector" must be followed by either attribute specifications, ">" or "/>".
Cause
The syntax for the Connector element in server.xml
is invalid. This can be caused by incorrect use of spaces, using tabs, or other syntax errors.
Resolution
Verify that no tabs are used in the Connector block an all attributes are syntactically correct. After finding the offending character, correct it and restart the application.