atom feed3 messages in net.java.dev.visualvm.feedbackRE: [visualvm feedback] VisualVM show...
FromSent OnAttachments
Randy GuckMay 14, 2008 3:57 pm 
Tomas HurkaMay 14, 2008 8:04 pm 
Randy GuckMay 14, 2008 8:27 pm.log
Subject:RE: [visualvm feedback] VisualVM shows all java apps as "<Unknown Application>"
From:Randy Guck (Rand@borland.com)
Date:May 14, 2008 8:27:39 pm
List:net.java.dev.visualvm.feedback
Attachments:

HI Tomas,

Yes, it is the Sun JRE/JDK. Here's the output of the jps -lv command (with a few
Java apps running as an example):

c:\jdk1.6.0_02\bin>jps -lv 1220 sun.tools.jps.Jps -Denv.class.path=.;C:\Program Files\Java\jre1.6.0_02\lib\ ext\QTJava.zip -Dapplication.home=c:\jdk1.6.0_02 -Xms8m 2780 -- process information unavailable 3800 -- process information unavailable 1028 -- process information unavailable

Attached is the log file from VisualVM. Hope this helps. Let me know if I can
provide anything else.

Thanks, Randy

________________________________

From: Tomas Hurka [mailto:Toma@Sun.COM] Sent: Wed 5/14/2008 8:04 PM To: Randy Guck Cc: feed@visualvm.dev.java.net Subject: Re: [visualvm feedback] VisualVM shows all java apps as "<Unknown
Application>"

Hi Randy,

On May 15, 2008, at 12:57 AM, Randy Guck wrote:

I saw VisualVM at JavaOne and was impressed, so I downloaded it today but am unable to get it to analyze any Java applications. Although it sees itself in the "Local" application list, it displays "<Unknown Application> (pid xxx)" for all other Java apps and "Not supported for this JVM" in the right panel when I open such an app. I've tried running Java 1.6.0 and 1.4.2 apps, including a very simple "hello world" like app, but no luck. I went through the docs and config files and think I have everything as expected.

I'm running Windows XP SP2 on an Dell laptop, Core 2 Duo CPU. JDK 1.6.0_02 installed to "C:\jdk1.6.0_02". In the visualvm.conf file I set:

jdkhome=C:\jdk1.6.0_02

I also tried running visualvm.exe in a .bat file as follows:

visualvm.exe --jdkhome "C:\jdk1.6.0_02" --userdir "C:\temp \visualvm_userdir"

Any other ideas?

To help you analyze your problem, I need you to ask you some questions. Can you please tell me what JRE/JDK are you using for your applications. Is it Sun JRE/JDK? What is the output C:\jdk1.6.0_02 \jps -lv command? Can you send me visualvm log file (accessible from About dialog) ?

Thanks.