JConsole Connection issue

(Aditya Athalye) #1

I am using standard JMX properties that worked for Play 2.3.x.

-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.port=9001 
-Dcom.sun.management.jmxremote.rmi.port=9002 
-Djava.rmi.server.hostname=localhost

The connection would go through successfully on port 9001 (JConsole, JVisualVM etc.).

The same properties do not seem to work with Play 2.6.20.

Are there any new properties required?

(Marcos Pereira) #2

Hey @aditya,

There are no new requirements from Play itself, but you update Java as well, I suggest that you check if all these properties are okay for the version you are using now.

What does that mean? You are getting an error?

Best.

(Aditya Athalye) #3

Yes standard error from jconsole/jvisualvm indicating connection failure to the RMI host/port.
I am using java 8.

Thanks