Try using JConsole and see if that works for you.
If it does and you still need VisualVM - you are most likely trying to
connect with the wrong feature (common pitfall).
In VisualVM - click File -> Add JMX Connection... - this is the one you
should use.

Shmuel Krakower.
www.Beatsoo.org - re-use your jmeter scripts for application performance
monitoring from worldwide locations for free.

On Sun, Feb 15, 2015 at 11:23 AM, Erez Naim <[email protected]> wrote:

> Hello all,
>
>
>
> I am using amazon Java machine (Tomcat was installed on that machine) and
> I am trying to connect to JvisualVM from my local machine (I've configured
> JMX properties as follows:
>
> CATALINA_OPTS="-Djava.awt.headless=true -Xmx128M
>
> -server -Dcom.sun.management.jmxremote
> -Dcom.sun.management.jmxremote.port=<port>
>
> -Dcom.sun.management.jmxremote.authenticate=false
>
> -Dcom.sun.management.jmxremote.ssl=false"
>
>
>
> And I enabled the specific port (I used telnet from my local machine to
> the remote one and it connected)).
>
>
>
> Still I cannot use JvisualVM in order to monitor the remote application
> server…
>
>
>
> Any idea how to solve it?
>
>
>
> Cheers!
>
>
>
> Erez Naim  |  QA Lead  |   [image: LinkedIn]
> <http://www.linkedin.com/profile/view?id=34323263>  [image: vCard]
> <http://www.theneura.com/vCards/gilad.vcf>  [image: Twitter]
> <http://twitter.com/#!/giladmeiri/>
>
> [image: cid:[email protected]]
>
> EL AL 2 Street | Herzliya
> mobile (+972) 50 9 555 686 | fax (408) 689.1366 | skype erez.neura
>
>
>
> website <http://www.theneura.com/>  |  blog <http://www.startupbitz.com/>
>  |  twitter <https://twitter.com/intent/user?screen_name=theneura>  |  map
> <http://goo.gl/maps/ZRkg5>
>
>
>
>
>

Reply via email to