0

I have put the following text in setenv.sh

export CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=127.0.0.1"

but still I am not able to connect JConsole to the remote server. What really should be the hostname there? I have checked the server.xml, it doesn't contain any ip in connector tag.

Or am I missing something else here?

Jens
  • 60,806
  • 15
  • 81
  • 95
Arjun Thakur
  • 335
  • 1
  • 5
  • 17

1 Answers1

0

This answer worked for me. I was unable to connect Jconsole to remote tomcat server only because of that additional port requirement.

Community
  • 1
  • 1
Arjun Thakur
  • 335
  • 1
  • 5
  • 17