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/setenv.sh 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/startup.sh'

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 votes
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: https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

Here's a fresh server.xml from JIRA 5.2.11: http://pastie.org/private/nyqa00krsxpbh7thbripsw

-- Pedro

Thanks, I appreciate the quick response.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot