Extreme Java When vanilla Java is not enough


Strange bug connecting to JMX

Small tip: if your JMX-enabled application runs on Linux, make sure your /etc/hosts is well configured. Failing to do so will lead to strange remote connection errors on JConsole or similar.

Test your configuration with "hostname -i". It must show server's IP. If it shows, change your /etc/hosts file according to this example:  myserver     myserver.mydomain      localhost    localhost.localdomain
::1            localhost6   localhost6.localdomain6

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment



No trackbacks yet.