Modify conf/server.xml if running Jira standalone?

I thought I only needed to update the /opt/atlassian/jira/conf/server.xml file if I was doing a WAR installation on an existing apache/tomcat server. I have currently modified /opt/atlassian/jira/bin/ to update the JVM_SUPPORT_RECOMMENDED_ARGS variable to include settings for -Dhttp.nonProxyHosts, -Dhttps.proxyHost, Dhttps.proxyPort, Dhttp.proxyHost and Dhttp.proxyPort. Then I restarted Jira's java session with '/etc/init.d/jira restart' which calls '/opt/atlassian/jira/bin/'

My IT guy recommended that I add the proxy settings in the server.xml file. Why?

Note: I'm in the process of trying to setup a Jira User Server for my Crucible server to use but I'm not having much luck.

BTW, does anyone have an original, unmodified 5.2.x server.xml file that I can reference.

1 answer

1 accepted

0 vote
Pedro Cora Atlassian Team Apr 15, 2014

While not obligatory, you can make changes to the server.xml if necessary.

The proxy settings that you added, are from a forward proxy (web proxy) to make JIRA able to reach the internet. If you also have a reverse proxy in front of JIRA, then you might need to add proxyName and proxyPort to the Tomcat connectors. For more information, take a look at our documentation at:

Here's a fresh server.xml from JIRA 5.2.11:

-- Pedro

Thanks, I appreciate the quick response.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

809 views 2 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you