select alternate server.xml location

I need to modify conf/server.xml, but I don't want to do it in the jira home, since that makes system updates a hassle.

There must be some way to feed options to the java command to tell tomcat to use a different server.xml, without moving tomcat altogether. I'd also rather not use a symbolic link if that can be avoided.

How is this done?

1 answer

Hi Brian

Peharps you can just call the server's binary with -f value. For further details, the following link could be useful:

http://tomcat.apache.org/tomcat-3.2-doc/uguide/tomcat_ug.html

Also, try to seek for further details in the default apache/tomcat docs.

Cheers,

Paulo Renato

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

56 views 1 5
Read article

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