Forums

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

JMX Monitoring v7.7.1 > Connection failed:Connection timed out:connect

jira-qa-useradmin_mobily_com_sa March 28, 2019

When attempting to connect from my laptop client using Jconsole Remote Process option, it fails with this error message
Connection failed:Connection timed out:connect

We have Enable JMX monitoring feature ON under System tab.

I am trying to setup/enable JMX monitoring for our DEV. JIRA instance.

I have jmx.access file created along with parameters configured in setenv.sh file. Please find both the files content here.

jmx.access
[ALMJIRA@alphabetagamma bin]$ cat jmx.access
monitorRole password

[ALMJIRA@alphabetagamma bin]$ cat setenv.sh| tail -40

cd $LOGBASE
cd $LOGTAIL
LOGBASEABS=`pwd`
cd $PUSHED_DIR

echo ""
echo "Server startup logs are located in $LOGBASEABS/logs/catalina.out"

# Set the JVM arguments used to start JIRA. For a description of the options, see
# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

#-----------------------------------------------------------------------------------
# This allows us to actually debug GC related issues by correlating timestamps
# with other parts of the application logs.
#-----------------------------------------------------------------------------------
GC_JVM_PARAMETERS=""
GC_JVM_PARAMETERS="-XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCCause ${GC_JVM_PARAMETERS}"
GC_JVM_PARAMETERS="-Xloggc:$LOGBASEABS/logs/atlassian-jira-gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=20M ${GC_JVM_PARAMETERS}"

CATALINA_OPTS="${GC_JVM_PARAMETERS} ${CATALINA_OPTS}"

CATALINA_OPTS="-Dcom.sun.management.jmxremote ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=8099 ${CATALINA_OPTS}"

JMX_REMOTE_AUTH=password
JMX_REMOTE_PORT=8099
RMI_SERVER_HOSTNAME=-Djava.rmi.server.hostname=BLR-LP-CHAMPION
JMX_PASSWORD_FILE=/apps/mobily_jira/bin/jmx.access

export CATALINA_OPTS

We need to have JMX monitoring working. Please advise.

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 4, 2019

Hi there!

Thank you for reaching out on Community!

I happened to notice that you raised the same issue with our support team, and my colleague Rene has been helping you but hasn't heard from you lately.

I would suggest that we continue working on the support ticket until it's resolved, so we can make sure that we aren't repeating any suggestions that he might have already suggested to you.

If you're still having the issue, please feel free to reply to Rene so he can continue to help you, and update this thread once the case is resolved.

Thank you and take care!

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events