Forums

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

monitor with JMX interface

Xiaolong Tang
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!
August 13, 2018

Hi

I want to monitor jira via jmx remotely.

I have added these in setenv.

set CATALINA_OPTS=-Dcom.sun.management.jmxremote %CATALINA_OPTS% set CATALINA_OPTS=-Dcom.sun.management.jmxremote.port=8099 %CATALINA_OPTS%

When I try to restart jira, but it give me these messages on command line.

 

Usage: catalina.sh ( commands ... )

commands:

  debug             Start Catalina in a debugger

  debug -security   Debug Catalina with a security manager

  jpda start        Start Catalina under JPDA debugger

  run               Start Catalina in the current window

  run -security     Start in the current window with security manager

  start             Start Catalina in a separate window

  start -security   Start in a separate window with security manager

  stop              Stop Catalina, waiting up to 5 seconds for the process to end

  stop n            Stop Catalina, waiting up to n seconds for the process to end

  stop -force       Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running

  stop n -force     Stop Catalina, wait up to n seconds and then use kill -KILL if still running

  configtest        Run a basic syntax check on server.xml - check exit code for result

  version           What version of tomcat are you running?

Note: Waiting for the process to end and use of the -force option require that $CATALINA_PID is defined

 

 

So I cannot restart jira application. Please help.

 

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer