jvisualvm

JVisualVM problem with monitoring JBoss

I want to monitor my application running inside JBoss version 3.2.5 using JVisualVM. I have installed my app to run ass windows serivce. JVisualVM sees my application but i can't see neither thread dump or heap dump. Profiling is not possible either. I get an error dialog with an error icon but with no text. Any ideas? ...

Does Java 6 open a default port for JMX remote connections?

My specific question has to do with JMX as used in JDK 1.6: if I am running a Java process using JRE 1.6 with com.sun.management.jmxremote in the command line, does Java pick a default port for remote JMX connections? Backstory: I am currently trying to develop a procedure to give to a customer that will enable them to connect to on...

Get heap dump from a remote application in Java using JVisualVM

I run JVisualVM (Windows XP, Sun Java 1.6.0.13, 32 bit client VM) to monitor a distant application (Linux, Sun Java 1.6.0.07, 64 bit server VM). Before starting the actual remote application, I launch on the remote machine jstatd using an all access policy: grant codebase "file:${java.home}/../lib/tools.jar" { permission java.securit...

HEAPSPACE ERROR: cannot figure out what is causing the error

Would anyone mind having a look at these bits of code and see if there is a memory leak in them, it isn't going to be overly large but my program keeps crashing after a while of running and I don't know how to use viualvm even though I have been reading up on it for several days now and haven't the slightest idea what I am looking for in...

jvisualvm - How to provide an icon and another name than the invoking class for my program?

I have an application where I want to be able to provide my own icon and descriptive text for jvisualvm. (I do not want to configure jvisualvm, just provide better metadata from my application) The best would be at runtime since we have distinct behaviour determined at runtime, which would be nice to have reflected in the label/icon. ...

CPU and profiling not supported for remote jvisualvm session

When monitoring a remote app (using jstatd) I can neither profile nor monitor cpu consumption. Heap monitoring (provided I do not use G1) works. jvisualvm provides the message "Not supported for this JVM." in the CPU graph window. Is there anything missing in my setup? The google showed up next to no results. The local environment (Mac...

How do I get a peak memory usage snapshot from JVisualVM?

I need a memory snapshot at the peak of my application's memory usage - is there an easy way to achieve this? thanks ...

Is there any equivalent of JVisualVM on DotNET ?

Hello, I would like to know if there is an equivalent of the excellent Java JVisualVM (included with JDK, the command is "jvisualvm") on the DotNet platform ? JVisualVM is a great tool that allows developers and admins to have really useful monitoring on any running Java application, here is some features that it has : Graphical view...

jvisualvm do not monitor local JBoss application on Windows 7 / Windows 2008

When I start JVisualVM on Windows 7 or Windows 2008 there is no way to find JBoss instances running on the same machine ...

Is there a call tree view available for jvisualvm or NetBeans profiler?

JProfiler offers a live call-tree view so you can see what's using CPU in real-time and drill down for the details. Reset the counts to zero at any time, rinse, repeat. I'm currently without that tool, and trying to get by with free/open alternatives. jvisualvm and the NetBeans profiler have a static snapshot call-tree and a live flat v...

How does JConsole decide what order to use JMX keys to render a tree?

Hi, When viewing JMX beans in JConsole it renders all the beans under a given domain part as a hierarchy. (JVisualVM has the same behaviour with the JConsole MBeans plugin.) I realise that JMX object names are not hierarchical, but nevertheless JConsole is picking the keys in some order so that it can render them hierarchically. Does...

Can visualvm connect automatically via JMX to a remote process?

I have a Java process running on a remote machine, and the process sets up some mbeans. I also have jstatd running on that machine as the same user as the Java process. (The mbeans can be set up programmatically or using -Dcom.sun.management.jmxremote... etc, this doesn't appear to make a difference). VisualVM is able to make a jstatd...