Forums

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

Which script to edit to enable JMX for Jira 6.4.3?

Angela Tran
Contributor
May 24, 2016

From research, it seems like I am supposed to edit the setenv.sh file under JVM_SUPPORT_RECOMMENDED_ARGS variable. 

This recognized system properties list doesn't have any of the java options necessary to enable JMX: https://confluence.atlassian.com/jira/recognized-system-properties-for-jira-229180062.html

Just want to make sure I add these in the right place:

    set CATALINA_OPTS=-Dcom.sun.management.jmxremote \
    -Dcom.sun.management.jmxremote.port=%my.jmx.port% \
    -Dcom.sun.management.jmxremote.ssl=false \
    -Dcom.sun.management.jmxremote.authenticate=false

 

Thanks

 

1 answer

1 vote
Benjamin Dombrowsky
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!
May 24, 2016

Hi,

you can add your arguments e.g. additional to the JVM_EXTRA_ARGS or JVM_REQUIRED_ARGS

Regards

Benjamin

Angela Tran
Contributor
May 24, 2016

Is this in the setenv.sh file in the JIRA install/bin directory

Benjamin Dombrowsky
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!
May 24, 2016

yes, thats right.

install/bin/setenv.sh

Angela Tran
Contributor
May 25, 2016

For confluence, do we edit the setenv.sh file as well?

Deleted user
May 25, 2016

yes

Suggest an answer

Log in or Sign up to answer